(UInt64 a_identifierBits)
| 65 | } |
| 66 | |
| 67 | public void DespawnGameObject(UInt64 a_identifierBits) { |
| 68 | RustyGameObject gameObject; |
| 69 | if(m_gameObjects.TryGetValue(a_identifierBits, out gameObject)) { |
| 70 | UnityEngine.Object.Destroy(gameObject.GameObject); |
| 71 | m_gameObjects.Remove(a_identifierBits); |
| 72 | } else { |
| 73 | UnityEngine.Debug.LogWarning("failed to despawn gameobject with id: " + a_identifierBits); |
| 74 | } |
| 75 | } |
| 76 | |
| 77 | public void SpawnPrefabWithTransform(string a_name, UInt64 a_identifierBits, CTransform a_transform) { |
| 78 | SpawnPrefab(a_name, a_identifierBits); |
nothing calls this directly
no outgoing calls
no test coverage detected