private void CmdSpawnObjects() { NetworkServer.SpawnObjects(); }
private void CmdSpawnSomething(Vector3 position) { var player = Object.Instantiate(SpawnablePrefab, position, Quaternion.identity, transform); NetworkServer.Spawn(player); }