// Start is called before the first frame update void Start() { AcornPanelHead.SetActive(false); AcornPanelLeft.SetActive(false); rodentKO.SetActive(false); roots2.SetActive(false); }
// Start is called before the first frame update void Start() { AcornPanel.SetActive(true); AcornPanelHead.SetActive(false); AcornPanelLeft.SetActive(false); AcornPanelRight.SetActive(false); AcornPanelLegs.SetActive(false); }
/* * what happens to acorn panel * * This is commented out for now, middle panel has acorn * * public void AcornPanelAction() * { * AcornPanel.SetActive(true); * * Time.timeScale = 0; * } */ public void AcornPanelHeadAction() { AcornPanelHead.SetActive(true); Time.timeScale = 0; }
public void LightOnFire() { AcornPanelHead.SetActive(true); Time.timeScale = 0; }