/*--------------------------------------------------------------------------------------------*/ protected override void PerformAdjustments() { HovercastInterface cast = FindObjectOfType <HovercastInterface>(); DemoHovercastCustomizer castCustom = cast.GetComponent <DemoHovercastCustomizer>(); castCustom.StandardFollowCursor = CursorType.LeftPalm; castCustom.SwitchedFollowCursor = CursorType.RightPalm; castCustom.StandardInteractionCursor = CursorType.RightIndex; castCustom.SwitchedInteractionCursor = CursorType.LeftIndex; }
/*--------------------------------------------------------------------------------------------*/ protected override void PerformAdjustments() { HovercastInterface cast = FindObjectOfType <HovercastInterface>(); DemoHovercastCustomizer castCustom = cast.GetComponent <DemoHovercastCustomizer>(); Deactivate(UnityUtil.FindComponentAll <Camera>("MainCamera").gameObject); Deactivate(UnityUtil.FindComponentAll <HoverItemDataSelector>("Re-orient")); castCustom.StandardFollowCursor = CursorType.LeftPinky; castCustom.SwitchedFollowCursor = CursorType.RightPinky; }