예제 #1
0
    protected override void Awake()
    {
        base.Awake();

        m_projectileHandler.Init(m_animatorController);

        if (m_player == null)
        {
            GameObject.FindGameObjectWithTag("Player").GetComponent <Transform>();
        }

        if (m_healthHandler.Die == null)
        {
            m_healthHandler.Die += DieEffect;
        }
    }