void OnDisable() { //Debug.Log("### SMI OnDisable ###"); _systemManager = SystemManager.Instance; _systemManager.ProcessOnDisable(); /*if (null != _systemManager) { if (_systemManager.SceneChangeSignal.Connected) _systemManager.SceneChangeSignal.Emit(); }*/ }
void OnDrawGizmos() { _systemManager = SystemManager.Instance; _systemManager.ProcessOnDrawGizmos(); }
void Start() { //Debug.Log("### SMI Start ###"); _systemManager = SystemManager.Instance; }
void Awake() { //Debug.Log("### SMI Awake ###"); _systemManager = SystemManager.Instance; _systemManager.ProcessAwake(); }
void OnEnable() { //Debug.Log("### SMI OnEnable ###"); _systemManager = SystemManager.Instance; _systemManager.ProcessOnEnable(); }
void OnLevelWasLoaded() { //Debug.Log(string.Format("### SMI OnLevelWasLoaded ### ")); _systemManager = SystemManager.Instance; _systemManager.ProcessLevelLoaded(); }
/// <summary> /// Emits the disposing signal and disposes the system manager /// </summary> public void Dispose() { DisposingSignal.Emit(); // trigger invoker initialization in later time _instance = null; }
public KeyboardProcessor(SystemManager systemManager) { SystemManager = systemManager; }
public ScreenSizeProcessor(SystemManager systemManager) { SystemManager = systemManager; }
void Start() { _systemManager = SystemManager.Instance; }
void OnEnable() { _systemManager = SystemManager.Instance; }
public TouchProcessor(SystemManager systemManager) { SystemManager = systemManager; }
/// <summary> /// Constructor /// </summary> /// <param name="systemManager"></param> public MouseProcessor(SystemManager systemManager) { SystemManager = systemManager; }
public MousePositionProcessor(SystemManager systemManager) { SystemManager = systemManager; }