阶段暂存

This commit is contained in:
2025-09-28 01:32:54 +08:00
parent 090bd16c67
commit 15a213a5c4
53 changed files with 405 additions and 728 deletions

View File

@ -0,0 +1,12 @@
local GameplayStatics = import("GameplayStatics")
local LevelPlayerState = {}
function LevelPlayerState:ReceiveBeginPlay()
local pc = GameplayStatics.GetPlayerController(self, 0)
local role = self:CreateRoleRoster(pc)
print("LevelPlayerState:ReceiveBeginPlay", role, self:HasAuthority())
pc:Possess(role)
end
return Class(nil, nil, LevelPlayerState)