Пример #1
0
 public void OnDestroy()
 {
     if (!bDestroy)
     {
         GameObjectUtils.DestoryResOnCompents(gameObject);
         bDestroy = true;
     }
 }