RopePersistManager
A static class in Root.Township, the global namespace.
Leftover from the Ultimate Rope Editor asset that records rope transform data. In this build only the helpers remain and nothing calls them.
- Listed in Global namespace: Q to R
- Nested types
RopeData
Fields
1 private and internal field
| Member | What it is |
|---|---|
private static Dictionary<int, RopePersistManager.RopeData> s_hashInstanceID2RopeData | Stored rope data by rope instance ID. Never filled in this build. |
Methods
2 private and internal methods
| Member | What it is |
|---|---|
private static RopePersistManager.RopeData.TransformInfo ComputeTransformInfo(UltimateRope rope, GameObject node, GameObject parent) | Records a rope node's name, parent, position and rotation relative to the parent, scale and kinematic flags. |
private static void SetTransformInfo(RopePersistManager.RopeData.TransformInfo transformInfo, GameObject node) | Restores a node's position, rotation and scale from recorded transform info. |