/// <summary> /// 重置UI状态 /// </summary> private void ResetUi() { _sldBossHp.gameObject.SetActive(false); _sldMonsterHp.gameObject.SetActive(false); _btnAttack.onPress(_btnAttack.gameObject, false); _joystickHighLight.spriteName = "Joystick1"; _nguiJoystick.Reset(); }
protected override void HandleAfterOpenView() { joystickHighLight.spriteName = "Joystick1"; nguiJoystick.Reset(); }