Esempio n. 1
0
    // Update is called once per frame
    void Update()
    {
        currentType = gatherer.getBucketType();


        if (Input.GetKey(KeyCode.RightShift))
        {
            //TODO: DEBUG THIS SO IT ONLY TAKES THE ONE TYPE
            gatherer.GatherTargets(currentType);
        }

        if (Input.GetKey(KeyCode.LeftShift))
        {
            gatherer.blowFromBucket();
        }
    }