Beispiel #1
0
 void Start()
 {
     doorVisible = FindObjectOfType <IsDoorVisible>();
     EventManager.Instance.Register <DoorSeenEvent>(DoorSeenClear);
 }
Beispiel #2
0
 public void Start()
 {
     doorVisible  = FindObjectOfType <IsDoorVisible>();
     control_Move = FindObjectOfType <FPS_Control_Move>();
     doorMove     = FindObjectOfType <DoorMove>();
 }