Beispiel #1
0
 public override void OnGraphStop(Playable playable)
 {
     if (MainCamera != null)
     {
         MainCamera.ReleaseTimelineOverride();
     }
 }
Beispiel #2
0
        public override void OnGraphStop(Playable playable)
        {
            if (MainCamera)
            {
                lastFrameCamera = null;
                MainCamera.ReleaseTimelineOverride();

                if (callCustomEvents && lastFrameCamera != KickStarter.mainCamera.attachedCamera)
                {
                    KickStarter.eventManager.Call_OnSwitchCamera(lastFrameCamera, KickStarter.mainCamera.attachedCamera, 0f);
                }
            }
        }