public override ExtendedEventArgs process() { ResponsePlayerHitEventArgs args = new ResponsePlayerHitEventArgs(); args.health = health; return(args); }
public void responsePlayerHit(ExtendedEventArgs eventArgs) { ResponsePlayerHitEventArgs args = eventArgs as ResponsePlayerHitEventArgs; Debug.Log("Player health: " + args.ToString()); }