Beispiel #1
0
        public void SetActiveBehaviour(CameraBehaviour behaviour)
        {
            followCamera.enabled = orbitCamera.enabled = sightCamera.enabled = false;

            if (behaviour != null)
            {
                behaviour.enabled = true;
            }
        }
Beispiel #2
0
		public void SetActiveBehaviour (CameraBehaviour behaviour)
		{
			followCamera.enabled = orbitCamera.enabled = sightCamera.enabled = false;

			if (behaviour != null)
			{
				behaviour.enabled = true;
			}
		}