PRODOTTI
ESPERIENZE
APP E GIOCHI
ASSISTENZA
Sono arrivati gli account Meta: puoi creare un account Meta per accedere ai tuoi dispositivi VR.
Scopri di piĆ¹
META HORIZON WORLDS
IMPARA A CREARE
INTRO TO CREATION
INTRO TO HAND TOOLS
INTRO TO GIZMOS
INTRO TO SCRIPTING
PUBLISHING
LOCAL SCRIPTING
EVENTS
MOTION
ACTIONS
RESOURCES
ESPLORA TUTORIAL
LOCAL SCRIPTING
LOCAL SCRIPTING
LOCAL SCRIPTING INTRODUCTION
Local scripting allows for responsive scripts. By default, scripts run on the server.
CONVERTING SCRIPTS TO LOCAL
To create a local script, first click the gear icon at the top right of the script window.
CONVERTING OBJECTS TO LOCAL
If a script runs locally and references an object in the script, the object that it is referencing runs on the server unless its ownership is transferred to a player.
WHEN WORLD IS STARTED
When a script transfers ownership to a player, it automatically runs the āwhen world is startedā event, and any event that was sent before or during the transfer is lost.
VARIABLE PERSISTENCE
When a script transfers ownership, its variables reset to their initial value.
CHECK IF OWNED BY PLAYER
The āserver playerā value is a player value that identifies the server. It can be used to check if an object is owned by the server or by a player.
LIMITATIONS
Player enter and player exit events are unable to run on local scripts. If a local script needs to receive an event when its owner enters the world, use a default script to receive the player enter event.
QUEST 3
QUEST PRO
QUEST 2
ACCESSORI
RIFT S
APP E GIOCHI
ASSISTENZA
SVILUPPATORI
VR PER IL LAVORO
TUTTI I PRODOTTI
Quest 3
Quest Pro
Quest 2
Quest 2 (prodotti ricondizionati)
Rift S
Accessori
Quest
Go
Rift
Confronta i visori
ALTRO SU META QUEST
Forum
Blog
Inviti
VR for Good
Creator
Scarica gli SDK
INFORMAZIONI
OpportunitĆ di lavoro
Meta Connect
Ricerca
TUTTI I PRODOTTI
Quest 3
Quest Pro
Quest 2
Quest 2 (prodotti ricondizionati)
Rift S
Accessori
Quest
Go
Rift
Confronta i visori
ALTRO SU META QUEST
Forum
Blog
Inviti
VR for Good
Creator
Scarica gli SDK
INFORMAZIONI
OpportunitĆ di lavoro
Meta Connect
Ricerca
Privacy
Informazioni legali
Ā© Meta 2024