// Start is called before the first frame update void Start() { //Getting the button script to hear when the call is made that its been pressed startButtonCall = startingButton.GetComponent <OC_Button>(); endButtonCall = endingButton.GetComponent <OC_Button>(); wallsMovedInTheWay = false; }
// Start is called before the first frame update void Start() { OCGameBroken = OCGame.GetComponent <OC_Button>(); SGameBroken = SGame.GetComponent <S_Manager>(); AGameBroken = AGame.GetComponent <ComputerRoomPowerButton>(); ALightSprite = ALight.GetComponent <SpriteRenderer>(); OCLightSprite = OCLight.GetComponent <SpriteRenderer>(); SLightSprite = SLight.GetComponent <SpriteRenderer>(); }