API
Properties
Source
Hidden
References the current script conext source Folder. This folder contains all the source files for the current script context. For example, if the script is running on the server, this folder will contain all the server source files.
shared.Source ( ) : Folder
Methods
GetService
Returns the service object for the given service name. If the service does not exist, an error will be thrown. This is the correct way to access irisCORE services, as it ensures that the service is properly initialized before use.
shared:GetService ( serviceName: string ) : ServiceRoot
Parameters
| serviceName : string The name of the service to get. |
Returns
| ServiceRoot |