Esempio n. 1
0
 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;
 }
Esempio n. 2
0
    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);
        }
    }
Esempio n. 3
0
    public void SettingOnBossClick(CBossController a_oController)
    {
        var oButton = this.GetComponent <Button>();

        oButton.onClick.AddListener(() => a_oController.PlayerAttack(this));
    }