Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity how to make gamemanager instance

//Making the Game Manager script accessible (Taro Dev Code)
public static GameManager = instance;
void Awake(){
	instance = this;
}
 
PREVIOUS NEXT
Tagged: #unity #gamemanager #instance
ADD COMMENT
Topic
Name
4+5 =