Ejemplo n.º 1
0
 public void Destroy()
 {
     Object.DestroyImmediate(clipTexture);
     Object.DestroyImmediate(countTexture);
     Object.DestroyImmediate(clearMaterial);
     Object.DestroyImmediate(countMaterial);
     Object.DestroyImmediate(clearCountMaterial);
     Object.DestroyImmediate(blitCountMaterial);
     regionMesh?.Release();
     clipMaterialPool.Destroy();
     meshPool.Destroy();
 }