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>(); }
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(); }