//Put this at the top of your script if you haven't already
using UnityEditor;
//This is how to select a gameObject
//Replace the "gameObject" with any gameobject
Selection.activeGameObject = gameObject;
Code Example |
---|
Csharp :: |
Csharp :: Animator.GotoState: State could not be found UnityEngine.Animator:Play (string) |
Csharp :: C# get all child classes of a class |
:: clone gameobject unity c# |
:: |
Csharp :: |
:: initialise icollection c# |
Csharp :: |
:: c# create new thread |
Csharp :: convert int to double c# |
:: |
Csharp :: unity change play mode color |
Csharp :: C#: convert array of integers to comma separated string |
:: c# count number of occurrences in string |
Csharp :: if animation ends |
Csharp :: c# print out |
:: how to lock and hide the cursor unity |
:: move file c# |
Csharp :: unity empty action |
Csharp :: |
Csharp :: unity convert mouse position to world position in editor mode |
Csharp :: |
:: Join Or Create Room() photon |
Csharp :: making beep voice in c# |
:: |
Csharp :: how to get the time since play unity |
:: C# define a block as text |
Csharp :: c # c^b |
:: |
:: |