Esempio n. 1
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();
    }
Esempio n. 2
0
    public void Init(GreenhouseControl _control)
    {
        control = _control;
        for (int i = 0; i < 3; i++)
        {
            List <BambooInfo> newStand = new List <BambooInfo>();
            bambooStands.Add(newStand);

            List <BambooInfo> newGroup = new List <BambooInfo>();
            stemsGroups.Add(newGroup);
        }

        bambooGroups = new BambooGroup[4];
        StartCoroutine(CreateBamboo());
    }