This commit is contained in:
2026-06-25 10:18:13 +07:00
parent 419558b0d3
commit 6ed87d22eb
38 changed files with 5634 additions and 3384 deletions

View File

@@ -411,6 +411,8 @@ namespace Hallucinate.UI
{
Vector2 spawnPosition = (player == runner.LocalPlayer) ? new Vector2(-8, 0) : new Vector2(8, 0);
var networkPlayerObject = runner.Spawn(_playerPrefab, spawnPosition, Quaternion.identity, player);
// Give the client State Authority so they can move themselves
// networkPlayerObject.AssignStateAuthority(player);
_spawnedCharacters.Add(player, networkPlayerObject);
}
}