// Start is called before the first frame update void Start() { m_fHP = m_fMaxHp; m_oPlayer = GameManager.Instance.GetPlayer().gameObject; m_oMoveRB2D = GetComponent <Rigidbody2D>(); m_oBarrageSystem = GetComponent <BarrageSystem>(); m_oRobotSprite = GetComponentInChildren <RobotSprite>(); //ActivateEnemy(true); }
// Start is called before the first frame update void Start() { m_obarrageSystem = GetComponent <BarrageSystem>(); InvokeRepeating("UseSkill", m_fStartTime, m_fCDTime); }