示例#1
0
 private void CleanupLogicAndInputListener()
 {
     Logic?.Dispose();
     _inputListener?.Dispose();
     Logic          = null;
     _inputListener = null;
 }
示例#2
0
 private static void RemoveListener()
 {
     _listener?.Dispose();
     _listener = null;
 }
示例#3
0
 public static void RemoveListener()
 {
     _listener?.Dispose();
     _listener = null;
 }
示例#4
0
 private static void UnloadListener()
 {
     _listener.Dispose();
     _listener = null;
 }
示例#5
0
 public void Dispose()
 {
     OnDispose();
     GraphHelper = null;
     InputListener.Dispose();
 }