Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
| | |
| | | Object.Destroy(m_Dig.gameObject);
|
| | | m_Dig = null;
|
| | | }
|
| | |
|
| | | if(Root)
|
| | | {
|
| | | Root.localScale = Vector3.one;
|
| | | }
|
| | | }
|
| | |
|
| | | public override void Destroy()
|
| | |
| | | {
|
| | | GodBeast_Number = 0;
|
| | | GodBeast_Part = 0;
|
| | | |
| | | GodBeastReinforcementWin.ChooseToModify -= ChooseToModify;
|
| | | godBeastModel.AbsorbEvent -= AbsorbEvent;
|
| | | }
|
| | |
| | |
|
| | | private void OnClickToggle(bool Isbool)
|
| | | {
|
| | | if (GodBeastNumber != 0 && GodBeastPart != 0)
|
| | | {
|
| | | AttributeAssignment();
|
| | | }
|
| | | |
| | | }
|
| | | private void OnClickStrengthBtn()
|
| | | {
|
| | |
| | | }
|
| | | else
|
| | | {
|
| | | GodBeastNumber = 0;
|
| | | GodBeastPart = 0;
|
| | | m_ItemCell.gameObject.SetActive(false);
|
| | | m_ExpSlider.stage = 0;
|
| | | m_ExpSlider.delay = 0f;
|
| | |
| | | animator.enabled = false;
|
| | | }
|
| | |
|
| | | if (model)
|
| | | {
|
| | | model.transform.localScale = Vector3.one;
|
| | | }
|
| | |
|
| | | var prefab = InstanceResourcesLoader.LoadNpcPrefab(id);
|
| | | if (prefab)
|
| | | {
|