Exemplo n.º 1
0
 private void Delete()
 {
     StopCoroutine(photoprompt.SetPrompt());
     itemManager.Delete();
     Destroy(imageManager);
     Destroy(photoUIobj);
     collectPhoto.Delete();
     collectPhoto = null;
     clickUi.Delete();
     clickUi = null;
     photoprompt.Delete();
     photoprompt = null;
     m_PhotoNotReachable.Delete();
     m_PhotoNotReachable = null;
     Destroy(Royboj);
     Destroy(PhotoCameraObj);
     if (Closecallback != null)
     {
         Closecallback();
     }
 }