Ejemplo 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);
 }
Ejemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     m_obarrageSystem = GetComponent <BarrageSystem>();
     InvokeRepeating("UseSkill", m_fStartTime, m_fCDTime);
 }