예제 #1
0
 /// <summary>
 ///     Removes a callback function from the callback queue.
 /// </summary>
 /// <param name="target">The callback function to remove.</param>
 public static void unbindConsole(writeTarget target)
 {
     //Remove the given callback from the list
     targets.Remove(target);
 }
예제 #2
0
 /// <summary>
 ///     Binds a new callback function which will handle debug console writes.
 ///     Multiple callbacks are accepted.
 /// </summary>
 /// <param name="target">The callback function to add.</param>
 public static void bindConsole(writeTarget target)
 {
     //Add the given callback to the list
     targets.Add(target);
 }