コード例 #1
0
 void OnEnable()
 {
     if (instance != null)
     {
         throw new ApplicationException("Multiple BehaviorUpdaters found");
     }
     instance = this;
 }
コード例 #2
0
ファイル: BehaviorUpdater.cs プロジェクト: nickgirardo/KADAPT
 void OnEnable()
 {
     if (instance != null)
         throw new ApplicationException("Multiple BehaviorUpdaters found");
     instance = this;
 }