Example #1
0
 void OnDestroy()
 {
     if (modelAnimation != null)
     {
         modelAnimation.OnDestroy();
     }
     if (modelCombine != null)
     {
         modelCombine.OnDestroy();
     }
     modelAnimation = null;
     modelCombine   = null;
 }
Example #2
0
 public static void SetWearPartCount(int count)
 {
     ModelCombine.SetAssetPartCount(count);
 }