Ejemplo n.º 1
0
 public void RegisterInGameDebuggable(IInGameDebuggable debuggable)
 {
     lock (m_debugList)
     {
         foreach (var weakReference in m_debugList)
         {
             IInGameDebuggable outDebug;
             if (weakReference.TryGetTarget(out outDebug))
             {
                 continue;
             }
             weakReference.SetTarget(debuggable);
             return;
         }
         m_debugList.Add(new WeakReference<IInGameDebuggable>(debuggable));
     }
 }
Ejemplo n.º 2
0
 public void RegisterInGameDebuggable(IInGameDebuggable debuggable)
 {
     m_debugger.RegisterInGameDebuggable(debuggable);
 }