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