private void DestroyModel() { if (EquipModel != null) { EquipModel.DestroyModel(); } }
private void DestroyModel() { if (Model != null) { Model.RemoveAllCompent(); Model.DestroyModel(); } if (EquipModel != null) { EquipModel.RemoveAllCompent(); EquipModel.DestroyModel(); } if (effectCoroutine != null) { StopCoroutine(effectCoroutine); effectCoroutine = null; } if (ModelRoot != null) { ModelRoot.DestroyFakeCharacter(); } }
private void DestroyModel() { if (EquipModel != null) { EquipModel.DestroyModel(); } model = null; if (rotateAround != null) { rotateAround.enabled = true; rotateAround.transform.localRotation = initRotate; } }