コード例 #1
0
        void IModule.UnloadModule()
        {
            if (StandalonePipeline != null)
            {
                Pose IdentityPoseMethod(Pose p) => p;

                StandalonePipeline.ResultFillStage.Transformation.applyOffsetToPose  = IdentityPoseMethod;
                GroupPipeline.MemberResultFillStage.Transformation.applyOffsetToPose = IdentityPoseMethod;
#if UNITY_EDITOR
                EditorOnlyEvents.onTemporalSimulationStart -= StandalonePipeline.ClearData;
#endif
                StandalonePipeline.ClearData();
            }

            GroupPipeline?.Clear();

            StandalonePipeline = null;
            GroupPipeline      = null;
        }
コード例 #2
0
 public void Clear()
 {
     StandalonePipeline.ClearData();
     GroupPipeline.Clear();
 }