Ejemplo n.º 1
0
 internal void StartNewMission()
 {
     foreach (GameObject item in current_mission.luggage)
     {
         Destroy(item);
     }
     current_mission = Missions.GetNextMission();
 }
Ejemplo n.º 2
0
    void Start()
    {
        cam   = Camera.main;
        flipX = agentSprite.GetComponent <SpriteRenderer>().flipX;

        // Init mission
        current_mission = Missions.GetNextMission();

        agentAi = agentSprite.GetComponent <AgentAi>();
    }