Пример #1
0
 private void InitializeVariables()
 {
     lockscript   = GetComponent <LockInteract>();
     interact     = GetComponent <InteractCamSwitch>();
     secondCamera = interact.lerpingCamera;
     glitch       = secondCamera.GetComponent <GlitchyEffect>();
 }
Пример #2
0
 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;
 }