private void ReturnEnd(CBossController a_oController) { this.transform.Rotate(0.0f, 180.0f, 0.0f); m_oAnimator.SetBool("Moving", false); m_bIsEnemyTrigger = false; a_oController.m_bIsAttack = true; }
private void ReturnBossEnd(CBossController a_oController) { this.transform.Rotate(0.0f, 180.0f, 0.0f); m_oAnimator.SetBool("Moving", false); a_oController.m_bIsAttack = true; this.m_bIsPlayerTrigger = false; if (this.m_oPet != null) { m_oPet.SetActive(false); } }
public void SettingOnBossClick(CBossController a_oController) { var oButton = this.GetComponent <Button>(); oButton.onClick.AddListener(() => a_oController.PlayerAttack(this)); }