Пример #1
0
 void Start()
 {
     Mov_player = FindObjectOfType(typeof(Mov_Player)) as Mov_Player;
     dialog = FindObjectOfType(typeof(Ctrl_Dialog)) as Ctrl_Dialog;
     
 }
Пример #2
0
 void Start()
 {
     Mov_player = FindObjectOfType(typeof(Mov_Player)) as Mov_Player;
     dialog     = FindObjectOfType(typeof(Ctrl_Dialog)) as Ctrl_Dialog;
 }