Editor Questions
3
Solved
I need editor script to drag GameObject and InputField in Inspector if and only if bool is true. If bool is false then don’t show InputField and GameObject field in Inspector. If true show that field ...
Impanation asked 13/12, 2016 at 16:0
4
Solved
Hey guys!
I have an object with some components on it.
I wish to fold off (collapse) all component’s properties on selected object.
I have a button in the EditorWindow which runs this code:
Component[...
Desinence asked 16/5, 2016 at 17:1
3
if i add a GameObject before my Weapons i Animated the Animation isnt working any more. In the Animation window it says Example: Shotgun position missing or rotation missing. Someone knowes how to fix...
Yhvh asked 17/1, 2021 at 20:56
7
Hello everyone. Sorry if this question was already answered before but I couldn’t find anything that fixes my problem. I’m having troubles with the smoothing tool in the terrain editor, it’s simply no...
Felsite asked 7/1, 2015 at 11:39
3
Solved
Hello,
I wrote an editor script for calculating Bounds of a scene. To prove, if the calculation was correct I would like to visualize the Bounds via a Gizmo. Unfortunately this is not possible, I am g...
Ladle asked 18/8, 2020 at 10:10
1
Solved
Hi, I want to do UI Toolkit Editor Window from pure code without USS/Style sheets/UXML/other wierd things. I simply prefer code.
How do I access in Code the uss hover property ?
.quicktool-button-icon...
Osteopath asked 3/10, 2021 at 7:52
3
Solved
Confusing title, I know… Here’s what I mean:
I’m trying to draw a list of objects of the class Action. Every element in the list is a different type of subclass of Action (for example Idle, Leap or Wa...
Hidebound asked 4/10, 2019 at 18:47
3
I want to open the manual locally, from the Unity editor Help-> Unity Manual, but it always redirects me to the manual web page, I ask this question because the Unity manual in the Platform-specifi...
Kirst asked 12/7, 2017 at 22:19
5
Hello,
Any ideas how these notes are added to the inspector?
42753-inspector.png580×596 55.4 KB
In the code, it’s not obvious.
Megillah asked 17/3, 2015 at 15:56
7
Solved
I am unable to move objects in the 2D scene view by clicking and dragging. When I switch to 3D mode, I can move them via their 3D widgets, and I am able to change their positions via the transforms in...
Nagano asked 14/11, 2013 at 9:57
3
The game doesn’t crash at all, I’m just getting a red error message whenever I stop the game and press the IDE’s play button again.
The error says:
Destroy may not be called from edit mode! Use Destro...
Newsome asked 30/5, 2022 at 16:0
3
I have a irregular Terrain and i generated the NavMesh for it, but i can’t control where I want it.
For example: I have some mountains and i want to be able to go there and don’t want it to be generat...
Meridithmeriel asked 20/3, 2014 at 11:57
12
hello there i had windows issue so not been on my unity for 6 months, and within those 6 months so much has changed and i can not seem to load my previous project 208gb worth project and i want to get...
4
Literally every time i start a new project, 4 errors appears, They have nothing write in then, Just the date, when i click on then, nothing happens,i really Dont know what to do
Disaster asked 26/12, 2018 at 15:51
3
Hello guys,
How can I view all the game objects that are in a specific layer? I want to do this in the editor and not with code. It’s more of a filter thing… I want to see the objects that I forgot to...
Ackler asked 27/11, 2015 at 10:34
10
Solved
Hi! I´ve been developing a tool that automaticaly changes the depth of field from a cinemachine virtual camera volume. When I update the values they change in editor, and modify the view as they are s...
Rinderpest asked 24/11, 2023 at 12:51
5
Solved
I want to make a drop-down in a custom inspector that allows me to select multiple enums from a popup, exactly like the popups you get when selecting a camera’s culling mask, a projector’s “ignore” la...
Gantlet asked 5/2, 2013 at 8:39
2
Solved
As you see I’ve even tried passing propOwner ( this ) as argument to [MyProperty()], but it’s just stupid. I feel like there is an easy way to get what I want without all these macaroni that I wrote.
...
Barbate asked 5/7, 2019 at 15:37
2
So I was wondering how I can restore my layers and prefabs. Earlier this morning my prefabs weren’t letting me drag them onto a scene. So I went into where I had saved them and renamed them, then unit...
Vinia asked 29/4, 2015 at 16:0
4
I get this error on Unity 2023.2.0b1
Please help
UnityException: Could not find the requested Platform Texture Settings. This is incorrect, did initialization fail?
UnityEditor.TextureImportPlatformSe...
Dowdell asked 31/7, 2023 at 12:19
7
Hi,
I would like to make a different `TextField` appear in the GUI depending on the selected `Button`. My problem is that when I click in the displayed TextField, the function `GUI.GetNameOfFocusedCon...
Aluminium asked 27/8, 2010 at 13:43
3
I get this error when running my game built for Windows 8.1 and WPhone 8.1. It crashes on device, it crashes on debug run. With all of my goofing around this error wont go away, it occasionally change...
Cloche asked 22/12, 2015 at 0:25
2
I’m trying to Raycast in scene view based mouse position. I pretty much want to mimic the unity’s behavior when you click some where it selects that objects except I wish to get all the objects throug...
Euphony asked 21/11, 2019 at 12:32
2
Solved
I have a button in an editor window, and when I click the button, I’d like to open a new editor window on top of that at the position of the button I clicked on. As far as I know the Event.current.mou...
Clementclementas asked 11/11, 2014 at 14:15
2
I want to make a tile editor so I need to get where my cursor is pointing at in the world in the scene window. This is what I tried:
public class MyEditor : EditorWindow
{
static void TilemapEditor()...
Steddman asked 15/7, 2017 at 14:29
© 2022 - 2024 — McMap. All rights reserved.