Posts by jottap • 26 points
2 posts
-
1
votes1
answer671
viewsA: Unity get gameobject disabled
The Gameobject.Find function only returns active objects, to return inactive objects in the scene uses the function Resources.Findobjectsoftypeall (Very careful to use this, it consumes a lot of…
-
0
votes1
answer64
viewsA: Animation to decrease the size of a cube in Unity
Use the Dotween: https://assetstore.unity.com/packages/tools/animation/dotween-hotween-v2-27676 int duracao = 5; private void Update() { if (Input.GetKeyDown(KeyCode.Q)) {…