Exemplo n.º 1
0
    public RB_ReachBottomState(RedBlob_SM _statePattern)
    {
        enemy = _statePattern;

        m_firstRun = true;

        // Get random strafing length
        m_strafeLength = Random.Range(enemy.m_strafeMin, enemy.m_strafeMax);
    }
Exemplo n.º 2
0
 public RB_EnterState(RedBlob_SM _statePattern)
 {
     enemy = _statePattern;
 }