public void InitComputeShaderRasterization3D(ComputeShader shader)
 {
     if (CSR3D != null)
     {
         return;
     }
     CSR3D = new CSRasterization3D(shader);
 }
Exemple #2
0
        void OnDestroy()
        {
#if UNITY_EDITOR
            EditorApplication.update -= OnEditorUpdate;
#endif

            PathFinder.CallThisWhenSceneObjectWasGone();

            CSR3D = null;
            CSR2D = null;
        }