
How to make the script wait/sleep in a simple way in unity
In Unity when exiting Play mode and returning to Edit mode you can make use of EditorApplication.playModeStateChanged specifically …
Unity - how to make material double sided - Stack Overflow
Search for the issue gives a number of solutions, but they don't work for some reason in mine Unity3D 5.4. Like camera inside a sphere I do not see cull and/or sides in material in Unity …
Unity - stop animation loop - Stack Overflow
Aug 30, 2015 · How can I stop make unity continuous looping . what I have done . 1- I add animator to my object. 2- I create animator controller . 3- I create my animation. 4- finally link …
How to make game object transparent in unity - Stack Overflow
Jun 28, 2022 · In Unity 5, the best way (TO MAKE AN OBJECT INVISIBLE) that worked for me was to: Set all of the game object's materials you want to be invisible to transparent under the …
How To Play Animation Through Script? - Unity - Stack Overflow
Jun 2, 2020 · I am making a game and I made an animation for the win screen. According to all the tutorials I've watched, the animation is played when you activate the GameObject. …
unity game engine - Accessing a variable from another script C
Can you tell me how to access a variable of a script from another script ? I have even read everything in unity website but I still can’t do it. I know how to access another object but not …
Changing color of of gameObject in Unity - Stack Overflow
Jul 23, 2015 · Okay so I have this code. void Start () { gameObject.GetComponent<Renderer> ().material.color = Color.green; } I expected my …
c# - Scale GameObject in Unity - Stack Overflow
Aug 31, 2016 · How can I increase / decrease the size of objects in Unity? Example: public GameObject sprite; public float scale = 2.0f; void ScaleResolution() { sprite = sprite*scale; …
I can't move, rotate, scale GameObject in Unity Editor
Apr 21, 2017 · I came here from a similar, but different problem. Every time I clicked a tool, it would jump back to the the Pan tool.
Unity - Checking if the player is grounded not working
Jun 14, 2017 · Seems like the player is not jumping. I am using Unity 5.5.1 – user7564765. Commented Jun 14, 2017 at 9:03.