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(); }
public static void Init() { Window = GetWindow <VRCSupportWindow>(name, true); Window.Show(); }