private void Awake() { m_gameManager = GameObject.Find("GameManager").GetComponent <GameManager>(); m_playerController = GameObject.Find("PlayerController").GetComponent <PlayerController>(); m_uiSkillCheckSystem = GameObject.Find("UISkillCheck").GetComponent <UISkillCheckSystem>(); m_unitDummy = GetComponentInParent <UnitDummy>(); m_unitAnim = GetComponentInChildren <UnitAnimation>(); }
private void Awake() { m_unit = GameObject.Find("Unit").GetComponent <Unit>(); m_uiSkillCheck = GameObject.Find("UISkillCheck").GetComponent <UISkillCheckSystem>(); }