Example #1
0
 // Start is called before the first frame update
 void Start()
 {
     Instance = this;
 }
Example #2
0
 void Awake()
 {
     instance = this;
     DontDestroyOnLoad(this.gameObject);
 }
 void Awake()
 {
     instance = this;
 }