private void InitializeVariables() { lockscript = GetComponent <LockInteract>(); interact = GetComponent <InteractCamSwitch>(); secondCamera = interact.lerpingCamera; glitch = secondCamera.GetComponent <GlitchyEffect>(); }
private void AssignVariables() { incorrectInputGlitch = rotate.GetComponent <GlitchyEffect>(); //Assign the orbits from the once used in the RotateWorld Script orbitOne = rotate.RotatedFirst; orbitSecond = rotate.RotatedSecond; orbitThird = rotate.RotatedThird; orbitFourth = rotate.RotatedFourth; }