Central manager behaviour for the DistanceFinder system that enables/disables based on usage (Pro). More...
Static Public Member Functions | |
| static void | Enable () |
| Manually enable the manager. | |
| static void | Disable () |
| Manually disable the manager. | |
Public Attributes | |
| bool | EnableConnectionHighlight |
| Enable highlighting when connections are established. | |
| bool | HighlightOnStart |
| Highlight initial connections when the scene starts. | |
| bool | HighlightBothObjects |
| Highlight both connector and connectable. | |
| Color | ConnectionColor |
| Color for connection highlights (green with 30% transparency) | |
| Color | DisconnectionColor |
| Color for disconnection highlights (red with 30% transparency) | |
| float | ConnectionHighlightDuration |
| Duration of connection highlight in seconds. | |
| float | DisconnectionHighlightDuration |
| Duration of disconnection highlight in seconds. | |
| bool | ShowDebugInfo |
| Show debug information in console. | |
| bool | DrawGizmos |
| Draw gizmos for connections in scene view. | |
| Color | GizmoConnectionColor |
| Color for connection gizmos. | |
| bool | AutoDisableWhenEmpty |
| Automatically disable this manager when no connections exist. | |
| float | AutoDisableDelay |
| Delay before auto-disabling when no connections (seconds) | |
| float | EditorUpdateRate |
| Update rate in editor mode (seconds) | |
| int | ActiveConnections |
| int | RegisteredConnectors |
| int | RegisteredConnectables |
| bool | IsActive |
Properties | |
| static DistanceSystem | Instance [get] |
| Gets or creates the singleton instance. | |
Detailed Description
Central manager behaviour for the DistanceFinder system that enables/disables based on usage (Pro).
This component is automatically created when needed and disables itself when not in use to save performance.
Member Function Documentation
◆ Disable()
|
static |
Manually disable the manager.
◆ Enable()
|
static |
Manually enable the manager.
Member Data Documentation
◆ AutoDisableDelay
| float realvirtual.DistanceSystem.AutoDisableDelay |
Delay before auto-disabling when no connections (seconds)
◆ AutoDisableWhenEmpty
| bool realvirtual.DistanceSystem.AutoDisableWhenEmpty |
Automatically disable this manager when no connections exist.
◆ ConnectionColor
| Color realvirtual.DistanceSystem.ConnectionColor |
Color for connection highlights (green with 30% transparency)
◆ ConnectionHighlightDuration
| float realvirtual.DistanceSystem.ConnectionHighlightDuration |
Duration of connection highlight in seconds.
◆ DisconnectionColor
| Color realvirtual.DistanceSystem.DisconnectionColor |
Color for disconnection highlights (red with 30% transparency)
◆ DisconnectionHighlightDuration
| float realvirtual.DistanceSystem.DisconnectionHighlightDuration |
Duration of disconnection highlight in seconds.
◆ DrawGizmos
| bool realvirtual.DistanceSystem.DrawGizmos |
Draw gizmos for connections in scene view.
◆ EditorUpdateRate
| float realvirtual.DistanceSystem.EditorUpdateRate |
Update rate in editor mode (seconds)
◆ EnableConnectionHighlight
| bool realvirtual.DistanceSystem.EnableConnectionHighlight |
Enable highlighting when connections are established.
◆ GizmoConnectionColor
| Color realvirtual.DistanceSystem.GizmoConnectionColor |
Color for connection gizmos.
◆ HighlightBothObjects
| bool realvirtual.DistanceSystem.HighlightBothObjects |
Highlight both connector and connectable.
◆ HighlightOnStart
| bool realvirtual.DistanceSystem.HighlightOnStart |
Highlight initial connections when the scene starts.
◆ ShowDebugInfo
| bool realvirtual.DistanceSystem.ShowDebugInfo |
Show debug information in console.
Property Documentation
◆ Instance
|
staticget |
Gets or creates the singleton instance.