Esempio n. 1
0
 void Awake()
 {
     if (Instance != null)
     {
         throw new Exception("Singleton instance already exists");
     }
     Instance = this;
     subjectiveTime = GetComponent<SubjectiveTime>();
 }
Esempio n. 2
0
 void Awake()
 {
     body = GetComponent<SimpleBody>();
     time = GetComponent<SubjectiveTime>();
 }
Esempio n. 3
0
 void Awake()
 {
     subjectiveTime = GetComponent<SubjectiveTime>();
 }