示例#1
0
    public void StartBuilding(TimeMachine t)
    {
        anim.SetBool("isBuilding", true);
        timeMachine   = t;
        isBuilding    = true;
        agent.enabled = false;

        //add to time machine T laborer available to respawn
        t.AddLaborerToAvailableLaborer(GetComponentInParent <RSManager>());
    }