Bind Custom Player

STD 庫
伺服器端
限PC端

Dynamically set the target that this player binds to that will override existing bindings. Returns false if failed.

聲明

func BindCustomPlayer(customPlayer entity<Entity>, player entity<Player>, out var isSuccess bool)
go

參數

輸入

名稱 類型 描述
Custom Player Entity After binding this Custom Player to the player, data such as position and direction will be automatically synced
玩家 Player Target Player

輸出

名稱 類型 描述
Bool \