UnityLink`
UnityLink`
UnityCurrentValue
UnityCurrentValue[item]
gives the current value of item in the Unity editor and engine.
Details
- Values for appropriate items can be set using UnityCurrentValue[item]=val.
- Possible items that can be used in UnityCurrentValue include:
-
"Playing" True if Unity is in Play mode "Paused" True if Unity is paused "ActiveScene" the current active scene "OpenScenes" a list of currently open scenes