コード例 #1
0
 void Start()
 {
     uiScript       = FindObjectOfType <uiMasterScript>();
     toDoListScript = FindObjectOfType <toDoListScript>();
     voice          = GetComponent <AudioSource>();
     totalObj       = objectives.Count;
 }
コード例 #2
0
 private void Awake()
 {
     ui = FindObjectOfType <uiMasterScript>();
     TimeKeeper.Register(this);
     if (transform.childCount > 0)
     {
         modelTransform = transform.GetChild(0);
     }
 }