Beispiel #1
0
    public static void InvokeEmoteOnOff()
    {
        var gameObject = Selection.gameObjects[0];

        if (VRCSupportWindow.Window == null)
        {
            VRCSupportWindow.Init();
        }

        VRCSupportWindow.Window.EmoteOnOff.TargetObject = gameObject;
        VRCSupportWindow.Window.EmoteOnOff.OffName      = gameObject.name + " OFF";
        VRCSupportWindow.Window.EmoteOnOff.OnName       = gameObject.name + " ON";
        VRCSupportWindow.Window.Focus();
    }
Beispiel #2
0
 public static void Init()
 {
     Window = GetWindow <VRCSupportWindow>(name, true);
     Window.Show();
 }