Exemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     patrolHolder = GetComponent <CameraPortal>().orange.GetComponent <PatrolHoler>();
     commands     = GetComponent <MonkayCommands>();
     settings     = GetComponent <PlayerControlSettings>();
     timer        = 0;
 }
Exemplo n.º 2
0
 void Start()
 {
     orange    = GameObject.Find("orange").GetComponent <PatrolHoler>();
     patroling = GetComponent <Patroling>();
     orange.AddPatrol(this);
 }
Exemplo n.º 3
0
 // Use this for initialization
 void Start()
 {
     orange = GameObject.Find("orange").GetComponent <PatrolHoler>();
 }