Esempio n. 1
0
 protected virtual void Awake()
 {
     //create the game manager object if we need to
     GameManager.Init(transform.position);
     instance    = this;
     elevator    = GameObject.Find("P_Elevator(Clone)").GetComponent <Elevator>();
     VOSequencer = GetComponent <ElevatorVOSequencer>();
 }
Esempio n. 2
0
    void Start()
    {
        basin = transform.Find("GENERATOR/BASIN/BASIN_2");
        SetUpFunnel();
        SetUpHandles();
        SetUpFeederPipes();

        greenhouseControl = GameObject.Find("GreenhouseControl").GetComponent <GreenhouseControl>();
        animator          = GetComponent <Animator>();
        VOSequencer       = GreenHouseRoomManager.instance.GetVOSequencer();
    }