Could I check if the camera is dragged by script?

    chanon Hi!
    Not directly but there is a method called IsInputMatching() that you can set public instead of private. And this one can tell you if the user is dragging or rotating for example:
    IsInputMatching( InputMapFingerDrag.RotateAround )
    IsInputMatching( InputMapFingerDrag.Translate )

    There are multiple methods with that name so you will have to change them all to public

      Thank you so much.
      Could I know which script these methods is in?

        chanon yes, it is in CameraBase.cs, you have multiple methods with the same name to pass public

          Write a Reply...