예제 #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);
 }