Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to run code without a gameobject unity

[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.AfterSceneLoad)]

// Make sure you remove the "MonoBehaviour"
 
PREVIOUS NEXT
Tagged: #run #code #gameobject #unity
ADD COMMENT
Topic
Name
5+7 =