Ejemplo n.º 1
0
 public CSkill(CLifeObj life)
 {
     if (life == null)
     {
         Debug.LogError("LifeObj of Skill is null.");
         return;
     }
     m_life = life;
 }
Ejemplo n.º 2
0
    public CAnimationMgr(CLifeObj life)
    {
        if (life == null)
        {
            Debug.LogError("LifeObj is invalid. Role:" + m_life.transform.name);
            return;
        }
        m_life = life;

        //m_animator = m_life.transform.Find("Animation").GetComponent<Animator>();
        //if (m_animator == null)
        //{
        //	Debug.LogError("Role Animator is not found. Role:" + m_life.transform.name);
        //	return;
        //}
    }
Ejemplo n.º 3
0
 public CStateMgr(CLifeObj life)
 {
     m_life = life;
 }