Exemple #1
0
 private void OnDestroy()
 {
     if (tweenAplha != null)
     {
         TweenAlpha.Destroy(tweenAplha);
     }
     if (logoPic != null)
     {
         logoPic.mainTexture = null;
         logoPic             = null;
     }
     if (studioPic.mainTexture != null)
     {
         studioPic.mainTexture = null;
         studioPic             = null;
     }
 }