Exemple #1
0
 private void Start()
 {
     intCon = GetComponent <interactionConfirmation>();
     //We need to change the textures so there's no berrys in the bush
     //if (!bushFull)
     //{change to the non berry texture}
 }
Exemple #2
0
//<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
//                                  M E T H O D S
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    // caching of the slider and bowl
    void Start()
    {
        slider         = GetComponentInChildren <Slider>();
        sliderMaxValue = slider.maxValue;

        bowl = GetComponent <BaseBowl>();

        bubble = GetComponent <interactionConfirmation>();
    }
Exemple #3
0
    //<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
    //                                  M E T H O D S
    //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

    private void Start()
    {
        cameraController = FindObjectOfType <CameraController>();
        intCon           = GetComponent <interactionConfirmation>();
    }