コード例 #1
0
        /*--------------------------------------------------------------------------------------------*/
        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;
        }
コード例 #2
0
        /*--------------------------------------------------------------------------------------------*/
        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;
        }