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.

요약

메서드

속성

메서드

ClearComputerCameraMovementModes

void

Unregisters all ComputerCameraMovementMode enums from the game settings menu.


반환

void

ClearComputerMovementModes

void

Unregisters all ComputerMovementMode enums from the game settings menu.


반환

void

ClearTouchCameraMovementModes

void

Unregisters all TouchCameraMovementMode enums from the game settings menu.


반환

void

ClearTouchMovementModes

void

Unregisters all TouchMovementMode enums from the game settings menu.


반환

void

RegisterComputerCameraMovementMode

void

Registers that a computer camera movement mode is available to be selected from the game menu.

매개 변수


반환

void

RegisterComputerMovementMode

void

Registers that a computer movement mode is available to be selected from the game menu.

매개 변수


반환

void

RegisterTouchCameraMovementMode

void

Registers that a touch camera movement mode is available to be selected from the game menu.

매개 변수

cameraMovementMode: Enum.TouchCameraMovementMode

반환

void

RegisterTouchMovementMode

void

Registers that a touch movement mode is available to be selected from the game menu.

매개 변수


반환

void

이벤트