Beispiel #1
0
	void Awake()
	{
		Assert.AreEqual(null, Instance, "More than one instance of 'WorldTrees' component!");

		Instance = this;
	}
Beispiel #2
0
 // Start is called before the first frame update
 void Awake()
 {
     instance = this;
 }