Ejemplo n.º 1
0
    /// <summary>
    /// Opens the agents canvas and updates the date so that the player can see their agents.
    /// </summary>
    /// <param name="safehouse">Safehouse.</param>
    public void ShowAgents(SafehouseData safehouse)
    {
        this.safehouse = safehouse;

        agentCanvas.SetActive(true);

        UpdateOfficeList();
    }
Ejemplo n.º 2
0
 void Start()
 {
     houseData    = new SafehouseData();
     headquarters = new List <GameObject>();
     cont         = new Continent();
     ownCollider  = transform.root.gameObject.GetComponent <Collider> ();
     //Creates and obtains the current instances of other classes
 }