Registers this class to be found via ScenePrivate.FindReflective.
[System.AttributeUsage(System.AttributeTargets.Class)]public class RegisterReflectiveAttribute : AttributeRemarks
Every instance of a reflective object with this attribute will be automatically registered with the scene to be found by ScenePrivate.FindReflective. Specific instances of a Reflective class can be registered manually with Reflective.Register. For script objects themselves it is recommended to use this attribute to minimize race conditions between Register calls and FindReflective calls.
Members at a glance
| Kind | Members |
|---|---|
| Constructors | RegisterReflectiveAttribute |
Constructors
RegisterReflectiveAttribute
public RegisterReflectiveAttribute()Automatically registers all instances of this class to be found with ScenePrivate.FindReflective .
Remarks
Every instance of a reflective object with this attribute will be automatically registered with the scene to be found by ScenePrivate.FindReflective. Specific instances of a Reflective class can be registered manually with Reflective.Register. For script objects themselves it is recommended to use this attribute to minimize race conditions between Register calls and FindReflective calls.
Generated from the Sansar 47.10.0 client ScriptApi snapshot.