SScriptingResources
Index
Functions Index
Function Name
Properties Index
Property Name
Functions
GetResource
Parameter
Type
Description
resource = Space.Host.ExecutingObject.Resources.GetResource("ResourceName")local thisObject=Space.Host.ExecutingObject
local thisObjectResource=thisObject.Resources.GetResource("Test")
if thisObjectResource == nil then
Space.Log("That resource was not found.")
else
Space.Log("That resource exists and can be used.")
end