Api > VideoPlayer > SendMessage()
VideoPlayer.SendMessage(string methodName, any value = nil)⚓︎
Calls the method named methodName on every Lua Script in this game object.
Parameters:⚓︎
Name | Type | Description |
---|---|---|
methodName | string | Name of the method to call. |
value | any | Optional parameter for the method. |
Usage⚓︎
---@type VideoPlayer
local videoplayer;
---@type string
local methodName;
---@type any
local value;
videoplayer.SendMessage(methodName, value)