void Start() { script = FindObjectOfType(typeof(Global)) as Global; MovPlayer = FindObjectOfType(typeof(Mov_Player)) as Mov_Player; colPlayer = FindObjectOfType(typeof(Col_Player)) as Col_Player; }
void Start() { Mov_player = FindObjectOfType(typeof(Mov_Player)) as Mov_Player; dialog = FindObjectOfType(typeof(Ctrl_Dialog)) as Ctrl_Dialog; }