1234567891011121314 |
- using UnityEngine;
- using System.Collections;
- public class DefaultWeapon : Weapon
- {
- public int pointsPenalty = -50;
- public override PoolObject Fire()
- {
- ScoreChangeData scoreChangeData = new ScoreChangeData(ScoreChangeData.Source.CondomDispenser, pointsPenalty, Vector3.zero);
- NotificationCenter.Post(NotificationType.AddToScore, scoreChangeData);
- return base.Fire();
- }
- }
|