예제 #1
0
 /// <summary>Remove a Pipeline stage hook callback.
 /// Make sure it is removed from all the children.</summary>
 /// <param name="d">The delegate to remove.</param>
 public override void RemovePostPipelineStageHook(OnPostPipelineStageDelegate d)
 {
     base.RemovePostPipelineStageHook(d);
     UpdateListOfChildren();
     foreach (var vcam in m_ChildCameras)
     {
         vcam.RemovePostPipelineStageHook(d);
     }
 }
 /// <summary>Remove a Pipeline stage hook callback.
 /// Make sure it is removed from all the children.</summary>
 /// <param name="d">The delegate to remove.</param>
 public override void RemovePostPipelineStageHook(OnPostPipelineStageDelegate d)
 {
     base.RemovePostPipelineStageHook(d);
     UpdateRigCache();
     foreach (var vcam in m_Rigs)
     {
         vcam.RemovePostPipelineStageHook(d);
     }
 }
예제 #3
0
 /// <summary>Remove a Pipeline stage hook callback.</summary>
 /// <param name="d">The delegate to remove.</param>
 public virtual void RemovePostPipelineStageHook(OnPostPipelineStageDelegate d)
 {
     OnPostPipelineStage -= d;
 }
예제 #4
0
 /// <summary>
 /// A delegate to hook into the state calculation pipeline.
 /// This will be called after each pipeline stage, to allow others to hook into the pipeline.
 /// See CinemachineCore.Stage.
 /// </summary>
 /// <param name="d">The delegate to call.</param>
 public virtual void AddPostPipelineStageHook(OnPostPipelineStageDelegate d)
 {
     OnPostPipelineStage -= d;
     OnPostPipelineStage += d;
 }