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,32 +0,0 @@
|
|||
using System;
|
||||
|
||||
namespace UniRx.Operators
|
||||
{
|
||||
internal class NeverObservable<T> : OperatorObservableBase<T>
|
||||
{
|
||||
public NeverObservable()
|
||||
: base(false)
|
||||
{
|
||||
}
|
||||
|
||||
protected override IDisposable SubscribeCore(IObserver<T> observer, IDisposable cancel)
|
||||
{
|
||||
return Disposable.Empty;
|
||||
}
|
||||
}
|
||||
|
||||
internal class ImmutableNeverObservable<T> : IObservable<T>, IOptimizedObservable<T>
|
||||
{
|
||||
internal static ImmutableNeverObservable<T> Instance = new ImmutableNeverObservable<T>();
|
||||
|
||||
public bool IsRequiredSubscribeOnCurrentThread()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public IDisposable Subscribe(IObserver<T> observer)
|
||||
{
|
||||
return Disposable.Empty;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue