コード例 #1
0
 public bool RemoveEntity(IRegistrable _entity)
 {
     var aEntityType = _entity.GetType();
     var networkId = _entity.GetUniqueKey();
     return TypeRegisterMap[aEntityType].Remove(networkId);
 }
コード例 #2
0
 public void AddEntity(IRegistrable _entity)
 {
     var aEntityType = _entity.GetType();
     var networkId = _entity.GetUniqueKey();
     TypeRegisterMap[aEntityType][networkId] = _entity;
 }