Пример #1
0
    // m_goOption is actually a reference to the object attached to the player ship :)
    // Clears the inventory bitfield, and turns off the Option powerup
    //
    public void SetDefaults()
    {
        m_iInventoryItems = 0x0;
        m_goOption.SetActive(false);


        m_gcWeapon_ShotSingle.SetCanFire(false);
        m_gcWeapon_ShotDouble.SetCanFire(false);
        m_gcWeapon_ShotTriple.SetCanFire(false);
        m_gcWeapon_LaserSingle.SetCanFire(false);
        m_gcWeapon_LaserDouble.SetCanFire(false);
        m_gcWeapon_LaserTriple.SetCanFire(false);
    }
Пример #2
0
 public void SetPlayerCanFire(bool bState)
 {
     m_bCanFire = bState; m_gcEquippedWeapon.SetCanFire(bState);
 }