private void Awake() { isTyping = false; isPausing = false; base.name = "MainCamera"; instance = this; this.baseT = Camera.main.transform; this.baseR = Camera.main.rigidbody; this.Smov = base.GetComponent <SpectatorMovement>(); this.mouselook = base.GetComponent <MouseLook>(); this.camLght = CachingsGM.Find("mainLight").GetComponent <Light>(); this.skybox = base.GetComponent <Skybox>(); this.tiltShift = base.GetComponent <TiltShift>(); this.tiltShift.enabled = false; this.CreateMinimap(); }
// Use this for initialization void Start() { movementComponent = GetComponent <SpectatorMovement> (); }