Exemple #1
0
 public override bool ResetObject(GameObject o)
 {
     if (o != null)
     {
         ModelInfo m = o.GetComponent <ModelInfo>();
         if (m != null)
         {
             m.ClearData();
         }
         o.SetActive(false);
         return(true);
     }
     return(false);
 }