Base class for all Sansar Script Object Oriented C# interfaces.
public class InstanceInterfaceRemarks
Internal.
Members at a glance
| Kind | Members |
|---|---|
| Properties | IsValid |
| Operators | op_Implicit |
Properties
IsValid
public bool IsValid { get; }Whether or not this interface is valid.
Value: bool — True if this interface is valid
Remarks
This function is provided for debugging and convenience only. Scripts are frequently “force yielded”, which means there is still the (rare) possibility that on the line after checking IsValid the interface could become invalid. It is highly recommended to “program defensively” and wrap the use of volatile interfaces, like AgentPrivate, in try/catch blocks. Once an interface becomes invalid it will never again become valid. Attempting to call any method on an invalid interface may throw an exception.
Operators
op_Implicit
public static implicit operator IntPtr(InstanceInterface instance)Internal use only.
| Parameter | Type | Description |
|---|---|---|
instance | InstanceInterface |
Returns: IntPtr
Generated from the Sansar 47.10.0 client ScriptApi snapshot.