Esempio n. 1
0
 // 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);
 }
Esempio n. 2
0
 void Start()
 {
     m_oSpriteComponent = GetComponent <RobotSprite>();
 }