public CSkill(CLifeObj life) { if (life == null) { Debug.LogError("LifeObj of Skill is null."); return; } m_life = life; }
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; //} }
public CStateMgr(CLifeObj life) { m_life = life; }