PlayerScripts
PlayerScripts is a container object located inside Player objects within the Players game service. It is created automatically when a player joins the game. Its main purpose is to contain LocalScripts copied from the StarterPlayerScripts container within the StarterPlayer game service, which happens once upon creation. Descendant LocalScripts of PlayerScripts will run code on the client of the Player.
Unlike the Backpack and PlayerGui containers, the PlayerScripts container is not accessible to the server. Server Script objects will not run when parented to PlayerScripts.
요약
메서드
Unregisters all ComputerCameraMovementMode enums from the game settings menu.
Unregisters all ComputerMovementMode enums from the game settings menu.
Unregisters all TouchCameraMovementMode enums from the game settings menu.
Unregisters all TouchMovementMode enums from the game settings menu.
Registers that a computer camera movement mode is available to be selected from the game menu.
Registers that a computer movement mode is available to be selected from the game menu.
Registers that a touch camera movement mode is available to be selected from the game menu.
Registers that a touch movement mode is available to be selected from the game menu.
속성
메서드
ClearComputerCameraMovementModes
Unregisters all ComputerCameraMovementMode enums from the game settings menu.
반환
ClearComputerMovementModes
Unregisters all ComputerMovementMode enums from the game settings menu.
반환
ClearTouchCameraMovementModes
Unregisters all TouchCameraMovementMode enums from the game settings menu.
반환
ClearTouchMovementModes
Unregisters all TouchMovementMode enums from the game settings menu.
반환
RegisterComputerCameraMovementMode
Registers that a computer camera movement mode is available to be selected from the game menu.
매개 변수
반환
RegisterComputerMovementMode
Registers that a computer movement mode is available to be selected from the game menu.
매개 변수
반환
RegisterTouchCameraMovementMode
Registers that a touch camera movement mode is available to be selected from the game menu.
매개 변수
반환
RegisterTouchMovementMode
Registers that a touch movement mode is available to be selected from the game menu.