public void OnDestroy() { if (s_instance == this) { s_instance = null; } }
public void Awake() { if (s_instance != null) { Debug.LogWarning("Mvx2: Only single instance of logger sink allowed"); Destroy(this); } s_instance = this; }
public UnityLoggerSink(MvxLoggerSink mvxLoggerSink) { m_mvxLoggerSink = mvxLoggerSink; }