User Tools

Site Tools


script:world_event:getcustomcameraconfig

getCustomCameraConfig


  • Parameters and types: None
  • Return value and type:
    • code: numberSuccess (ErrorCode.OK) ErrorCode
    • config: tableCamera configuration
  • The main purpose of this method: Get custom camera configuration
  • The specific use cases are as follows:
local code, config = World:getCustomCameraConfig()
if code == ErrorCode.OK then
	print('Execution successful', code, config )
else
	print('Execution failed')
end

If you have any questions about Developer Tools, feel free to join our official discord server Mini World Global DEV discord

script/world_event/getcustomcameraconfig.txt · Last modified: 2024/06/02 23:36 by don