private void OnDropBonus(SimDropConfig bonus) { if (eventhandler != null) { eventhandler.OnSimDropBonus(this, bonus); } }
public void OnSimDropBonus(SimUnitInstance sender, SimDropConfig drop) { gameObject.BroadcastMessage("SimOnDropBonus", drop, SendMessageOptions.DontRequireReceiver); }