示例#1
0
 public bool RemoveObject(GameObject obj)
 {
     return this.objects.TryRemove(obj.ID, out obj);
 }
示例#2
0
 public bool AddObject(GameObject obj)
 {
     return this.objects.TryAdd(obj.ID, obj);
 }