Exemplo n.º 1
0
    public float receiveDamageRatio = 0.5f;                             //데미지 받는 비율



    //Awake
    void Awake()
    {
        m_Core = GameObject.FindGameObjectWithTag(Tags.Monster).GetComponent <M_AICore>();
    }
Exemplo n.º 2
0
 //Start
 void Start()
 {
     m_Core = GetComponent <M_AICore>();                 //AI Core 가져오기
     FSMInitialize();                                    //상태 초기화
 }
Exemplo n.º 3
0
    public float lookRotationTime = 0.5f;                   //플레이어를 돌아보는 시간



    void Start()
    {
        m_Core = GameObject.FindGameObjectWithTag(Tags.Monster).GetComponent <M_AICore>(); //AI Core 가져오기

        InitSkill();                                                                       //스킬 초기화
    }