Weapos Rejiggered
Modified weapon scripts to eliminate specialized projectile behavior - allows charged weapons to have projectiles and modify weapon stats when charged Added machine gun weapon & VFX Moved third party code to Plugins folder to improve compile times
This commit is contained in:
parent
2a0fe34611
commit
dbc522a224
2105 changed files with 7033 additions and 1141 deletions
|
|
@ -1,34 +0,0 @@
|
|||
using System;
|
||||
using UniRx.Operators;
|
||||
|
||||
namespace UniRx
|
||||
{
|
||||
public static partial class Observable
|
||||
{
|
||||
public static IObservable<EventPattern<TEventArgs>> FromEventPattern<TDelegate, TEventArgs>(Func<EventHandler<TEventArgs>, TDelegate> conversion, Action<TDelegate> addHandler, Action<TDelegate> removeHandler)
|
||||
where TEventArgs : EventArgs
|
||||
{
|
||||
return new FromEventPatternObservable<TDelegate, TEventArgs>(conversion, addHandler, removeHandler);
|
||||
}
|
||||
|
||||
public static IObservable<Unit> FromEvent<TDelegate>(Func<Action, TDelegate> conversion, Action<TDelegate> addHandler, Action<TDelegate> removeHandler)
|
||||
{
|
||||
return new FromEventObservable<TDelegate>(conversion, addHandler, removeHandler);
|
||||
}
|
||||
|
||||
public static IObservable<TEventArgs> FromEvent<TDelegate, TEventArgs>(Func<Action<TEventArgs>, TDelegate> conversion, Action<TDelegate> addHandler, Action<TDelegate> removeHandler)
|
||||
{
|
||||
return new FromEventObservable<TDelegate, TEventArgs>(conversion, addHandler, removeHandler);
|
||||
}
|
||||
|
||||
public static IObservable<Unit> FromEvent(Action<Action> addHandler, Action<Action> removeHandler)
|
||||
{
|
||||
return new FromEventObservable(addHandler, removeHandler);
|
||||
}
|
||||
|
||||
public static IObservable<T> FromEvent<T>(Action<Action<T>> addHandler, Action<Action<T>> removeHandler)
|
||||
{
|
||||
return new FromEventObservable_<T>(addHandler, removeHandler);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue