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,31 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
|
||||
namespace UniRx.Diagnostics
|
||||
{
|
||||
public class ObservableLogger : IObservable<LogEntry>
|
||||
{
|
||||
static readonly Subject<LogEntry> logPublisher = new Subject<LogEntry>();
|
||||
|
||||
public static readonly ObservableLogger Listener = new ObservableLogger();
|
||||
|
||||
private ObservableLogger()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public static Action<LogEntry> RegisterLogger(Logger logger)
|
||||
{
|
||||
if (logger.Name == null) throw new ArgumentNullException("logger.Name is null");
|
||||
|
||||
return logPublisher.OnNext;
|
||||
}
|
||||
|
||||
public IDisposable Subscribe(IObserver<LogEntry> observer)
|
||||
{
|
||||
return logPublisher.Subscribe(observer);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue