ドキュメント

Unity Gaming Services CLI


GitHub Repository

Unity Gaming Services CLI


New-File

Creates a new Trigger config file locally containing example Triggers.
読み終わるまでの所要時間 1 分最終更新 8日前

Creates a new Trigger config file locally containing example Triggers.
Set
ActionScopeType
on a trigger (for example
Player
or
MultiplayerSession
) to forward the event scope to the action. Omit it to drop the event scope.
{ "Name": "Trigger 2", "EventType": "EventType2", "ActionType": "cloud-code", "ActionUrn": "urn:ugs:cloud-code:MyModule/MyFunction", "ActionScopeType": "Player"}

Command

Authentication Required:
No
ugs triggers new-file <file-name> [options]

Arguments

<file-name>
The name of the file to create

Options

Alias

Description

force-f, --forceOverwrites existing file
help-?, -h, --helpDisplay help and usage information.
quiet-q, --quietReduce logging to a minimum.
json-j, --jsonUse JSON as the output format.