// Use this for initialization
 void Start()
 {
     RouterExecutor         = GetComponent <FSM_RouteExecutor>();
     MouseBB                = GetComponent <MOUSE_Blackboard>();
     RouterExecutor.enabled = false;
     GOTarjet               = new GameObject("MouseTarget");
 }
Пример #2
0
 void Start()
 {
     myBlackBoard          = GetComponent <ROOMBA_Blackboard>();
     fsm_RouteExec         = GetComponent <FSM_RouteExecutor>();
     fsm_RouteExec.enabled = false;
     nearestDust           = null;
 }
 // Use this for initialization
 void Start()
 {
     mySpriteRenderer       = GetComponent <SpriteRenderer>();
     FSMMOuse               = GetComponent <FSM_Mouse>();
     RouterExecutor         = GetComponent <FSM_RouteExecutor>();
     MouseBB                = GetComponent <MOUSE_Blackboard>();
     FSMMOuse.enabled       = false;
     RouterExecutor.enabled = false;
 }
        void Start()
        {
            myBlackBoard  = GetComponent <ROOMBA_Blackboard>();
            fsm_RouteExec = GetComponent <FSM_RouteExecutor>();
            fsm_Seed      = GetComponent <FSM_Seed_Dust_Poo>();
            fsm_Wander    = GetComponent <FSM_WanderRoomba>();

            fsm_Seed.enabled      = false;
            fsm_Wander.enabled    = true;
            fsm_RouteExec.enabled = false;
        }