Questions tagged [editors]

Editors are pieces of software designed to help create and modify game content. This may include in-house developer tools, or level editors and other tools released to the player community. Use this tag for help creating your own editing tools, or customizing editing workflows in existing engines (such as custom inspectors in Unity)

0
votes
1answer
13 views

AudioClip generated by an external process and loaded into the editor has no samples

I'm working on a custom ScriptedImporter -- let's call it LmmsImporter -- that loads project files from the LMMS sequencer as <...
0
votes
1answer
26 views

Unity: Saving scene after using script to change object positions

I have a c# script which makes some edits to object positions in the editor. It does this by reading some values from a csv file and then changing the value of ...
0
votes
0answers
22 views

Creating scriptable object with scene data in editor

This question is about the use of scriptable objects. I am currently developing a game which should have many levels. I already created a system to stay in one scene and load the data from an ...
0
votes
1answer
15 views

OnInspectorGUI Custom properties are not displayed in the right order

I basically made a lot of research and wasn´t able to find any solution. So my problem: I´ve made some variables disappear/appear depending on an enum with a custom editor script. But if they appear ...
0
votes
0answers
23 views

Spin camera around origin/focus in Unity editor

I have used Blender a bit, and like the way the camera in the editor orbits around the focus/origin when dragging with middle click. I've recently been using Unity a little and despise the camera ...
0
votes
1answer
111 views

Unity SceneView Positionning object with mouse position in Editor script

I would like to create an editor tool who can change the position of an object in the scene view into other object in the world, based on mouse position, like in the picture bellow (the red pyramid is ...
0
votes
1answer
32 views

Why is the Position Handle placed at certain distance away from vector3 unit in Unity?

I have a vector3 value that I am setting in inspector and I am drawing a ray using OnDrawGizoms to draw that vector line. However, the position handle I made using ...
0
votes
1answer
28 views

How to know the adresses an editor modifies while saving a file

I hope this question belongs here. Suppose an editor for a specific file extension. It usually has a user friendly interface so you don't see raw data. Once you edit anything and save the editor ...
0
votes
1answer
114 views

SerializedProperty to UnityEvent in a Custom Editor

I am making a Custom Editor for a type that includes a UnityEvent property. I'm currently facing an issue in converting a SerializedProperty to get that UnityEvent. Here is how I declare the event ...
0
votes
0answers
313 views

Unity 2018.3.0f2 Blank Errors

I am getting these blank errors in unity for quite a while now, as soon as I create a new Project 2D or 3D I am presented with the following and can't enter in play mode. And as a workaround I have ...
0
votes
1answer
155 views

Unity GameObject.Find() not working in batchmode?

I am trying to make GameObject.Find() work in batchmode but for some reason it returns a null object. my code: ...
0
votes
1answer
44 views

In Unity, how do get access to animation clips in selected model from EditorWindow?

I need to add some animation events or copy them from other models. So I decided to make a EditorWindow. Unfortunately there's not much information about this, and I'm stuck in here. ...
0
votes
1answer
342 views

C++ - How to create an engine editor without frameworks like qt and wxWidgets?

Basically sometimes I like to try to venture into the world of graphics computing, sometimes I have a project or another that uses opengl plus all the "blind" with opengl, I wanted to be able to ...
1
vote
2answers
70 views

Execute script in edit mode when scripts finish compiling, without an object in the scene

I need to inspect some method information before game starts to implement something in Unity. I can run the script by [ExecuteInEditMode] attribute, however it only works if at least one object in ...
1
vote
0answers
114 views

Render imgui on top of existing Java framework

I have never done this before, but we need to build game editor, on top of our existing java game SDK. We want to use java version of imgui. I can easily create imgui window and put UI into it, but ...
0
votes
0answers
76 views

How to style EditorGUI field

You can style EditorGUILayout field with following code: ...
0
votes
1answer
925 views

How to get image/icon/texture of asset from project window

I want to get image of any asset from code. Unity can display assets as with images of those assets. Is there a way to get that image from code? I need it to be able to display it in the inspector. <...
1
vote
2answers
37 views

Update dependent values of Serializable C# classes on Inspector

I have some data types' properties that depend on the input given into other attributes, but I haven't found in the Unity's API an elegant way to update them automagically on the Inspector. As an ...
1
vote
1answer
498 views

My [MenuItem()] is not being added to the menu

In Unity 5, I created a ScriptableObject class which adds itself to the Main Menu: ...
0
votes
0answers
148 views

Draw Lines on Camera's Viewport

I wanted to know if there is a way to draw lines on the viewport, just like on the example image I am posting. My idea is to have a method that receives 2 Vector2, the origin and the end of the line, ...
0
votes
1answer
150 views

Locking value when creating tweaking dependent values

I have several values which adjust them self In Unity Inspector when I tweak one of them. So total sum of these values stays constant. (which is 100 as 100%) Sometimes it is hard to get specific ...
0
votes
1answer
82 views

Unity 3D - Have a Vector3 attribute on inspector that behaves as GameObject's Transform position Vector3

As the title suggests, I am looking to serialize on the Inspector a Vector3 that behaves just as the Transform's position Vector3: If you modify the position Vector3, the GameObject positions itself ...
4
votes
1answer
1k views

Mute sound in editor in Unity

Is it possible to mute sound in editor in Unity? I mean not in the game, but in the editor, so that when I am debugging there would be no sound whatsoever.
1
vote
1answer
46 views

How to flush changes in PlayerSettings inside Editor

I have a script which works only in the Editor. The script makes changes inside PlayerSettings. However, the changes made are flushed to the hard drive just after something in Unity is saved for ...
2
votes
0answers
615 views

Choose Atom as my script editor for Unity3D, problem with autocomplete

I am trying to configure Atom, so that when I edit my C# scripts from my project, I am aided by the Unity autocomplete. So far, I am able to open the project and every time I type an error in Atom, ...
1
vote
1answer
597 views

How can I make a Custom Inspector display a UnityEvent method selection widget like the Button OnClick Inspector?

I know that UnityEvents display themselves automatically with the default inspector. But what if you create a custom inspector by extending the Editor class? The fields don't draw automatically since ...
1
vote
3answers
424 views

How to make Unity Layout switch while in Play mode

I'm looking for a way to auto switch the Unity layout when I go to play mode. I want to Unity Editor layout automatically ...
1
vote
1answer
220 views

Create Script from custom templates issue: They are created with the default name and cannot been named on creation

I was just being introduced to the AssetDatabase class, and I was curious of creating Script Templates, such as Interfaces, pure C# classes, and a MonoBehaviour template more suitable for my work ...
3
votes
2answers
3k views

Custom editor script not updating when values are changed from script?

I have a custom editor script which I have used to neatly arrange a huge group of variables into tabs. Some of these variables change in the script and it's very useful to see what they are without ...
0
votes
1answer
39 views

How can I see whether my sprite is .png or .jpg in the Inspector view or some place alike in Unity?

How can I see whether my sprite is .png or .jpg in the Inspector view or some place alike in Unity? Here is an example of me ...
0
votes
1answer
268 views

Look rotation viewing vector is zero in Unity when making UI

How can I tackle the problem: Look rotation viewing vector is zero? Here is how I get it: I add an Image from UI. When the Image is added I click on it in the ...
0
votes
1answer
3k views

Unity - Exposing a function to the inspector

I wish to expose a script's function to the inspector, but I have no clue how to. I found something about Invoke() which was a start, but it isn't clear how to ...
1
vote
0answers
57 views

Unity: Editor Window not Syncing

I have four scripts: Engine has a list of MovementWaypoints. EngineEditor simply displays a ...
2
votes
0answers
231 views

Custom Inspector for textures?

I am working with an open source project called Project Porcupine. The project is a game engine for a base building game that allows for one to extend the game. We have a system to read texture files, ...
1
vote
2answers
984 views

how to get current zoom level from scene window

I want to show some label on some rect transforms using Handles.Label(). it shows the text with a default font size regardless of the zoom level in the scene window....
1
vote
0answers
252 views

Handle actor deletion undo in Unreal Editor?

I have some objects pointing to a scene component of an actor: class MyObject { USceneComponent* Component; } When the actor is deleted, all its components ...
2
votes
1answer
467 views

LibGDX's particle emitter - Multiple particles in the same effect?

Hello everyone reading this, I've used the particle editor to edit an effect to put in my game. Is it possible to have multiple and randomly emitted images (particles) instead of one? I don't want ...
0
votes
1answer
935 views

2d canvas representation in c++ code

I would like to create a basic 2d graphics program to do very simple editing of in game assets. My question, starting out how could I represent the canvas? Let's say I know i'll need a canvas ...
1
vote
0answers
111 views

import text strings into Unity editor 3D text objects so that Scene View displays them

I am having trouble finding a solution to this problem. I want to generate the text for TextMesh.text in a custom application and import into the Unity editor so that I can then scale the text to fit....
1
vote
2answers
2k views

How to edit colliders in Unity2D

I can edit colliders by holding down the shift key. But when i add a second collider, the shift key always selects the first one. And there is no "Edit Collider" button in the editor (Win/4.5.4f1). I'...
1
vote
2answers
471 views

Inifinite scrolling draggable background for a 2D editor

I need to create something like blender's Node Editor for my 2D editor. Now I am not sure how to create the background so it is static infinite and draggable simillar to blender. I need to make it so ...
2
votes
0answers
361 views

Any open source editor to make video games online without programming knowledge? [closed]

With Scratch we can create video games online, from its web platform, and publish them on the same web. I could download its source code and use it, as many others already did (see Scratch ...
18
votes
2answers
21k views

How to edit key-value pairs (like a Dictionary) in Unity's inspector?

I have a spell system I am creating, the principle is as follows: Each spell is an autonomous prefab. It contains a script with some properties (base damage, duration...) that can be modified in the ...
5
votes
2answers
17k views

How can I modify PlayStation 1 games?

Is it possible to modify Sony PlayStation 1 games? For example I'm planning to modify a soccer game called Winning Eleven 3. What I'm exactly trying to modify is player properties such as speed, shot ...
0
votes
1answer
2k views

XNA/MonoGame and Game Studio/MonoDevelop [closed]

First off, I have a bit of programming experience in Java and have always programmed using ViM (even though I recently moved to Sublime Text 2) and I'm trying to learn C# and the MonoGame framework. ...
1
vote
0answers
448 views

How to create/edit a weapon in ut2004's unrealed?

I've searched a lot, but almost all of the ut2k4 Unrealed tutorial websites/blogs have disappeared. How do I create or edit a weapon in Unrealed?
0
votes
1answer
283 views

Are there tools available for building hierarchical sprite-based objects in games like Vector Man or Gunstar Heroes? [duplicate]

Possible Duplicate: Tools for 2D skeletal animation I'm looking for a tool that would let me build multi-part sprite objects of the kind you can find in Sega Genesis games like Vector Man and ...
14
votes
3answers
2k views

What was game development on the Apple II like? [closed]

I've asked a similar question about DOS development a while ago and got an excellent answer: What was the typical toolchain for DOS game development? Now I'm wondering what game development was like ...
15
votes
2answers
3k views

What was the typical toolchain for DOS game development? [closed]

I'm wondering how people used to write DOS games (like Doom), I can't find much on this, but would love to learn more about the earlier days of game development. What language was used predominantly?...