示例#1
0
    void waterBonsai()
    {
        Debug.Log("Bonsai interaction: watering");
        GameObject showCan   = Instantiate(waterCan, new Vector3(0.93f, -1.58f, 0.0f), Quaternion.identity);
        GameObject showWater = Instantiate(wateringObj, new Vector3(-0.05f, -1.50f, 0.0f), Quaternion.identity);

        wasWatered = true;
        highlightObject.setTriggerFalse();
    }
示例#2
0
 void openComp()
 {
     highlightObject.setTriggerFalse();
     SceneManager.LoadScene("CompAll", LoadSceneMode.Additive);
 }
示例#3
0
 void openYogaMat()
 {
     highlightObject.setTriggerFalse();
     SceneManager.LoadScene("Yoga_menu", LoadSceneMode.Additive);
 }