1. Welcome to VRCat! Please note that this message board is not related to VRChat in any official manner. It is run entirely by the community, and moderated by the community. Any content present has not been reviewed by VRChat moderators or staff. Your use of these forums implies understanding of this message. Thanks!
    Dismiss Notice

[Editor Script] VRCViz Trigger/Action Debugger

Discussion in 'Tutorials and Tools' started by tarocco, Dec 20, 2018.

  1. tarocco

    tarocco New Member

    Joined:
    Dec 19, 2018
    Messages:
    3
    Likes Received:
    2
    Aren't you just tired of running around the scene hierarchy trying to figure out which VRC triggers are responsible for certain actions? Haven't you ever just wished you could figure out which triggers are causing certain actions? Well then I have the perfect editor script for you.

    VRCViz is a graphical debugger/visualizer for VRC triggers/events and their corresponding actions that lets you see at a glance how your VRChat scene is configured.

    VRCViz Editor Window
    Unity_2018-12-20_14-45-51.png

    Brief usage overview
    Green buttons = Triggers
    Orange buttons = Action-receiving objects
    Blue lines = Trigger actions
    Yellow lines = Trigger actions (to the same object)


    Navigation Demo
    2018-12-20_14-53-25.gif

    Responsive to Changes in Components / Hierarchy
    2018-12-20_14-57-43.gif


     
    #1 tarocco, Dec 20, 2018
    Last edited: Dec 20, 2018
    Eremite and KittensScythe like this.
  2. KittensScythe

    KittensScythe New Member

    Joined:
    Feb 17, 2018
    Messages:
    4
    Likes Received:
    1
    VRChat:
    KittensScythe
    thank you for making this!
    very useful and saves time from going back and forth!
     
    tarocco likes this.
  3. Ar7ific1al

    Ar7ific1al Member

    Joined:
    Oct 27, 2018
    Messages:
    10
    Likes Received:
    0
    VRChat:
    Ar7ific1al
    Awesome little tool!
    May I suggest adding horizontal/vertical scrollbars? With many triggers in my scene, the VRCViz panel overflows and there's no way to see the rest of the panel without resizing it. As it is, I might have to keep it on my secondary display, which is sub-optimal for my workflow.
     
  4. tarocco

    tarocco New Member

    Joined:
    Dec 19, 2018
    Messages:
    3
    Likes Received:
    2
    Hmm, I thought that I remembered to add that in this version. I will have an update out soon.
     
  5. Michael Maos

    Michael Maos New Member

    Joined:
    May 9, 2018
    Messages:
    2
    Likes Received:
    0
    VRChat:
    Michael Maos
    Hello! This tool looks really awesome and perfect for people learning or attempting to teach Triggers/Actions to others! However, when I showed it to people that I trust, they informed me that the project isn't listed in such a way that the code is visible and thus cautioned against testing it out.. Do you have any plans to release this on GIThub so that people like me can try it out with less concern as to how trustworthy it is?

    Thanks again for your work and I hope this doesn't come off as an accusation of anything as I'm not at all equipped to make such a claim!

    -M
     
  6. tarocco

    tarocco New Member

    Joined:
    Dec 19, 2018
    Messages:
    3
    Likes Received:
    2
    The full source code is available in the Unity package. If you haven't imported Unity packages before, you can pick and choose which files you want to be imported before they are added to your projects.

    I have gone ahead and made a repository for it here: https://github.com/tarocco/VRCViz
    And you can find Unity packages for every release under the Releases section: https://github.com/tarocco/VRCViz/releases
    I hope that helps!
     
    #6 tarocco, May 11, 2019
    Last edited: May 11, 2019