Exemple #1
0
 public void Dispose()
 {
     Stop();
     model.CleanUp();
     Texture2D.Destroy(activeCameraTexture);
     Destroy(this);
 }
 private void OnDestroy()
 {
     model.CleanUp();
 }