コード例 #1
0
ファイル: WorldTrees.cs プロジェクト: heyx3/Elve
	void Awake()
	{
		Assert.AreEqual(null, Instance, "More than one instance of 'WorldTrees' component!");

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