Esempio n. 1
0
 private void OnDestroy()
 {
     if (effect != null)
     {
         effect.Dispose();
     }
 }
 protected override void OnDestroy()
 {
     base.OnDestroy();
     if (effect != null)
     {
         effect.Dispose();
     }
 }
 private void OnDestroy()
 {
     if (effect != null)
     {
         effect.Dispose();
     }
     DeleteAndTransitionRenderProfile(null);
 }