Skip to content

Commit

Permalink
Version 0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
SpockBauru committed Sep 19, 2022
1 parent 9d471ca commit 369223f
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 220 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
using System;
using UnhollowerRuntimeLib;
using UnityEngine;
using Input = UnityEngine.Input;
using KeyCode = UnityEngine.KeyCode;

namespace EnableFullScreenToggleIL2CPP_netFm
{
Expand All @@ -16,7 +14,7 @@ public class EnableFullScreenToggle : BasePlugin
{
internal const string GUID = "SpockBauru.EnableFullScreenToggleIL2CPP_netFm";
internal const string PluginName = "Enable Full Screen Toggle";
internal const string PluginVersion = "0.5";
internal const string PluginVersion = "0.6";

//Game Object shared between all SpockPlugins_BepInEx plugins
public GameObject SpockBauru;
Expand Down
1 change: 0 additions & 1 deletion EnableResizeIL2CPP_netFm/EnableResize.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ private void Initialize()
StartCoroutine(TestScreen().WrapToIl2Cpp());
}


private IEnumerator TestScreen()
{
while (true)
Expand Down
121 changes: 0 additions & 121 deletions EnableResizeMono/EnableResizeMono.cs

This file was deleted.

60 changes: 0 additions & 60 deletions EnableResizeMono/EnableResizeMono.csproj

This file was deleted.

8 changes: 0 additions & 8 deletions EnableResizeMono/Properties/AssemblyInfo.cs

This file was deleted.

2 changes: 1 addition & 1 deletion GraphicsSettingsIL2CPP_netFm/GraphicsSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class GraphicsSettings : BasePlugin
{
internal const string GUID = "SpockBauru.GraphicsSettingsIL2CPP_NetFm";
internal const string PluginName = "Graphics Settings";
internal const string PluginVersion = "0.5";
internal const string PluginVersion = "0.6";

private static ConfigEntry<int> Width;
private static ConfigEntry<int> Height;
Expand Down
2 changes: 1 addition & 1 deletion MessageCenterIL2CPP_netFm/MessageCenter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public partial class MessageCenter : BasePlugin
{
internal const string GUID = "SpockBauru.MessageCenterIL2CPP_netFm";
internal const string PluginName = "Message Center";
internal const string PluginVersion = "0.5";
internal const string PluginVersion = "0.6";

//Game Object shared between all SpockPlugins_BepInEx plugins
public GameObject SpockBauru;
Expand Down
18 changes: 0 additions & 18 deletions MessageCenterIL2CPP_netFm/ShadowAndOutline.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,23 +77,5 @@ public static void DrawShadow(Rect rect, GUIContent content, GUIStyle style, Col
style.normal.textColor = backupColor;
}
public static void DrawLayoutShadow(GUIContent content, GUIStyle style, Color txtColor, Color shadowColor, Vector2 direction, params GUILayoutOption[] options) => DrawShadow(GUILayoutUtility.GetRect(content, style, options), content, style, txtColor, shadowColor, direction);

public static bool DrawButtonWithShadow(Rect r, GUIContent content, GUIStyle style, float shadowAlpha, Vector2 direction)
{
GUIStyle letters = style;
letters.normal.background = null;
letters.hover.background = null;
letters.active.background = null;

bool result = GUI.Button(r, content, style);

Color color = r.Contains(Event.current.mousePosition) ? letters.hover.textColor : letters.normal.textColor;

DrawShadow(r, content, letters, color, new Color(0f, 0f, 0f, shadowAlpha), direction);

return result;
}

public static bool DrawLayoutButtonWithShadow(GUIContent content, GUIStyle style, float shadowAlpha, Vector2 direction, params GUILayoutOption[] options) => DrawButtonWithShadow(GUILayoutUtility.GetRect(content, style, options), content, style, shadowAlpha, direction);
}
}
2 changes: 1 addition & 1 deletion MuteInBackgroundIL2CPP_NetFm/MuteInBackground.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class MuteInBackground : BasePlugin
{
internal const string GUID = "SpockBauru.MuteInBackgroundIL2CPP_netFm";
internal const string PluginName = "Mute In Background";
internal const string PluginVersion = "0.5";
internal const string PluginVersion = "0.6";

//Game Object shared between all SpockPlugins_BepInEx plugins
public GameObject SpockBauru;
Expand Down
6 changes: 0 additions & 6 deletions SpockPlugins_BepInEx.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.3.32825.248
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EnableResizeMono", "EnableResizeMono\EnableResizeMono.csproj", "{6E835981-EEB7-4E65-B7C0-9F71AE92E4FB}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EnableResizeIL2CPP_netFm", "EnableResizeIL2CPP_netFm\EnableResizeIL2CPP_netFm.csproj", "{9921DE3B-DEF2-4470-BD8F-23F207128844}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EnableFullScreenToggleIL2CPP_netFm", "EnableFullScreenToggleIL2CPP_netFm\EnableFullScreenToggleIL2CPP_netFm.csproj", "{F37EF379-2D98-469F-8CBF-EC995F54D7DF}"
Expand All @@ -21,10 +19,6 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{6E835981-EEB7-4E65-B7C0-9F71AE92E4FB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6E835981-EEB7-4E65-B7C0-9F71AE92E4FB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6E835981-EEB7-4E65-B7C0-9F71AE92E4FB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6E835981-EEB7-4E65-B7C0-9F71AE92E4FB}.Release|Any CPU.Build.0 = Release|Any CPU
{9921DE3B-DEF2-4470-BD8F-23F207128844}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9921DE3B-DEF2-4470-BD8F-23F207128844}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9921DE3B-DEF2-4470-BD8F-23F207128844}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand Down

0 comments on commit 369223f

Please sign in to comment.