Ejemplo n.º 1
0
            public override void OnEnter()
            {
                base.OnEnter();
                if (this.quality == SniperShoot.ReloadQuality.None)
                {
                    this.quality = SniperShoot.ReloadQuality.Normal;
                }

                if (this.quality == SniperShoot.ReloadQuality.Perfect)
                {
                    Util.PlaySound("Play_MULT_m1_snipe_charge_end", base.gameObject);
                }
            }
Ejemplo n.º 2
0
 public override void OnDeserialize(NetworkReader reader)
 {
     this.quality = (SniperShoot.ReloadQuality)reader.ReadInt16();
 }