Sansar.Script Namespace

Sansar Script API: Sansar.Script

Sansar.Script Namespace




Script types:

Type Description
ComponentId Encapsulates a Component Id.
CoroutineException An exception occurred relating to Coroutine execution.
EditorVisibleAttribute Mark a non-public script field as visible in the editor.
EventData Base class for events.
InstanceInterface Base class for all Sansar Script Object Oriented C# interfaces.
Log The Log class handles script logging and error reporting
Log.Message Represents a single console message.
LogLevel Used by Sansar.Script.Log to filter messages.
Memory The Memory class reports on script pool memory use.
Memory.SubscriptionHandler Notifies scripts about memory events.
MemoryData Notifies scripts about memory events.
MemoryUseLevel Used by Sansar.Script.Memory to report script memory use.
ObjectId Encapsulates an Object Id.
OperationCompleteEvent Many asynchronous APIs will trigger an OperationCompleteEvent when done.
ScriptBase Base class for all scripts, has ScriptHandle accessors and coroutine utilities.
ScriptBase.OperationComplete Used to obtain notification that the operation has completed.
ScriptHandle A running script in Sansar.
ScriptId Encapsulates an Script Id.
SessionId Encapsulates a Session Id.
ThrottleException Thrown when a method is called too often
Timer The Timer class is a static class that manages timer events for a script.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Article is closed for comments.