예제 #1
0
 private void Start()
 {
     Instance = this;
     foreach (var comp in GetComponentsInChildren <IObject>())
     {
         comp.UpdateProperties();
     }
 }
예제 #2
0
 void Awake()
 {
     Instance = this;
 }