tryfindexpressxrrigreference - eisclimber/ExPresS-XR GitHub Wiki
Method in RuntimeUtils
Finds the first ExPresSXRRig in the scene (if exists). Returns true if the rig was found and set to the out parameter and false otherwise.
Be aware that the rig must be tagged as "Player"! !!This operation is expensive, call it sparingly and rather use direct References to the rig whenever possible!!
public static bool TryFindExPresSXRRigReference(out ExPresSXRRig rig)| Name | Description |
|---|---|
| ExPresSXR.Rig.ExPresSXRRig rig | The rig or null. |
If a rig was found