I'm trying to create a checkerboard tile in Unity, but creating it by hand is time-consuming and cumbersome. I tried creating a rule tile to achieve ...
I'm trying to create a checkerboard tile in Unity, but creating it by hand is time-consuming and cumbersome. I tried creating a rule tile to achieve ...
I am coding a game on a Touchscreen with many players at the same time. The issue is, when there are 2 or more touches, a little square is appearing o ...
I am creating a custom drawer for a custom attribute that helps me initialize the value of a field marked with the attribute SerializeReference. Basi ...
I never ran into this problem before while building unity projects. [1] Yesterday, I decided to update my unity hub to newer version, and now all of ...
So I am creating an editor tool, this tool is open by clicking in a custom MenuItem. This tool is open as a utility window using the GetWindow<T> ...
It's full code, but u do not really nead it full. I need to access varibles in the "Update" at least. I do not know how to change original variables i ...
I'm still quite new to unity and c# and trying to replicate a seemingly simple custom editor and property drawer for data i'm preparing via scriptable ...
I have created a simple custom editor tool, which allows me to keep mouse position in a straight line. I require this to draw texture on a terrain in ...
I'm in the process of changing what was formerly a Class into a Struct, as part of an editor patch within Unity. I've read a lot of advice on using st ...
How can I change the GameWindow aspect ratio using C# within the Unity editor Like this: Thanks ...
I am creating a game project with a main menu and 3 other scenes (MyWorld, ImportWorld, Lab). I've made the buttons on the main menu clickable to go t ...
I've a series of classes: And I've two Drawers: The problem is that ADrawer is applied to E objects too instead of DDrawer also if I make Any ...
I have a struct Stat I want it to display in the editor as a single line property with the label when it is a single non-array field, but when it i ...
I am trying to build a project for Android and just seem to encounter endless stream of errors. I've completely removed the editors, re-installed, upd ...
My Unity Editor crashes on every project, even newly created ones. I have tried multiple solutions, including reinstalling Unity Hub, reinstalling Un ...
I'm now working on RestAPI calls from Unity Editor to Firebase Cloud Messaging and Firebase Realtime Database. Here the code what I'm using to create ...
I have a custom Editor where I use a Reorderable List. Its elements are never focused nor selected whether I use a custom method or the default ones. ...
So... I was watching some old unity tutorial videos and saw people editing properties of the elements of an array in editor like this: When I trie ...
So I have this small class called StoryTrigger: And I want to make a ScriptableObject with a list of StoryTrigger objects that could add, remove an ...
this code was supposed to make a string field expandable downwards but instead it directly hides it from the inspector. however the name of a string ...