Beispiel #1
0
    public override ExtendedEventArgs process()
    {
        ResponsePlayerHitEventArgs args = new ResponsePlayerHitEventArgs();

        args.health = health;
        return(args);
    }
Beispiel #2
0
    public void responsePlayerHit(ExtendedEventArgs eventArgs)
    {
        ResponsePlayerHitEventArgs args = eventArgs as ResponsePlayerHitEventArgs;

        Debug.Log("Player health: " + args.ToString());
    }