remove logs

This commit is contained in:
vis2k 2022-04-04 18:48:27 +08:00
parent d145630396
commit 5dd6abf3ba
2 changed files with 0 additions and 2 deletions

View File

@ -27,7 +27,6 @@ void DestroySelf()
// return to prefab pool // return to prefab pool
NetworkServer.UnSpawn(gameObject); NetworkServer.UnSpawn(gameObject);
PrefabPool.singleton.Return(gameObject); PrefabPool.singleton.Return(gameObject);
Debug.Log("[Server]: Returned projectile to pool");
//NetworkServer.Destroy(gameObject); //NetworkServer.Destroy(gameObject);
} }

View File

@ -56,7 +56,6 @@ void Update()
void CmdFire() void CmdFire()
{ {
GameObject projectile = PrefabPool.singleton.Get(projectileMount.position, projectileMount.rotation); GameObject projectile = PrefabPool.singleton.Get(projectileMount.position, projectileMount.rotation);
Debug.Log("[Server]: Got projectile from pool");
NetworkServer.Spawn(projectile); NetworkServer.Spawn(projectile);
RpcOnFire(); RpcOnFire();
} }