mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 22:39:22 +00:00
ASTExtension: Removed need for Avatar Scale Tool
This commit is contained in:
parent
458d4b3987
commit
5c7f7ab265
7 changed files with 257 additions and 137 deletions
18
ASTExtension/Integrations/BTKUI/BtkUiAddon_Utils.cs
Normal file
18
ASTExtension/Integrations/BTKUI/BtkUiAddon_Utils.cs
Normal file
|
@ -0,0 +1,18 @@
|
|||
using System.Reflection;
|
||||
|
||||
namespace NAK.ASTExtension.Integrations
|
||||
{
|
||||
public static partial class BtkUiAddon
|
||||
{
|
||||
#region Icon Utils
|
||||
|
||||
private static Stream GetIconStream(string iconName)
|
||||
{
|
||||
Assembly assembly = Assembly.GetExecutingAssembly();
|
||||
string assemblyName = assembly.GetName().Name;
|
||||
return assembly.GetManifestResourceStream($"{assemblyName}.Resources.{iconName}");
|
||||
}
|
||||
|
||||
#endregion Icon Utils
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue