Search Unity

Non editable Game Window Guide

Discussion in 'Cinemachine' started by Tortuap, Feb 8, 2021.

  1. Tortuap

    Tortuap

    Joined:
    Dec 4, 2013
    Posts:
    137
    Hi

    Is there a way to see the Game Window Guide displayed during Game Mode, but in a non editable mode ?

    I'm working on my camera settings through the inspector and would like to see the guide, especially when using the Frame Transposing, but I also need to drag/tap/slide on my game screen to move/interact with my object, WITHOUT interfering with the Game Window Guide, because I don't want to edit it that way, but only to see it (especially the yellow target point and how it moves in the Soft Zone).

    Could this be possible ?
     
  2. gaborkb

    gaborkb

    Unity Technologies

    Joined:
    Nov 7, 2019
    Posts:
    856
    Hi,
    Not directly, but it could be done if you embed Cinemachine into your project (otherwise it's readonly).

    Once cinemachine is embedded, you need to comment out lines 256, 257 in CinemachineScreenComposerGuides.cs.
    // Handle dragging bars
    // if (isLive)
    // OnGuiHandleBarDragging(screenWidth, screenHeight);
     
    Last edited: Feb 9, 2021
  3. Tortuap

    Tortuap

    Joined:
    Dec 4, 2013
    Posts:
    137
    Alright, thank you.
     
    gaborkb likes this.