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(); }
void openComp() { highlightObject.setTriggerFalse(); SceneManager.LoadScene("CompAll", LoadSceneMode.Additive); }
void openYogaMat() { highlightObject.setTriggerFalse(); SceneManager.LoadScene("Yoga_menu", LoadSceneMode.Additive); }