// 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); }
void Start() { m_oSpriteComponent = GetComponent <RobotSprite>(); }