ContextActionResult列挙型(Enum)
列挙型(Enum)日本語解説は準備中
ひとことで言うと
ContextActionResultは、ロブロックス(Roblox)の列挙型(Enum)です。くわしい日本語解説は準備中のため、下に公式の説明(英語)を載せています。
公式の説明(英語):Describes whether a contextual action should sink or pass input events.
選べる値(2)
| 名前 | 値 | 説明 |
|---|---|---|
Enum.ContextActionResult.Sink | 0 | If functionToBind from Class.ContextActionService:BindAction() returns ContextActionResult.Sink, the input event will stop at that function and no other bound actions under it will be processed. This is the default behavior if functionToBind does not return anything or yields in any way. |
Enum.ContextActionResult.Pass | 1 | If functionToBind from Class.ContextActionService:BindAction() returns ContextActionResult.Pass, the input event is considered to have not been handled by functionToBind and will continue being passed to actions bound to the same input type. |
英語の説明とメンバーの一覧は、Roblox Creator Documentation(ContextActionResult)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。