Menu Icon Replacer
This commit is contained in:
parent
b774208e32
commit
2f770cf724
13 changed files with 301 additions and 0 deletions
19
MenuIconReplacer/Runtime/MenuIconReplacerConfig.cs
Normal file
19
MenuIconReplacer/Runtime/MenuIconReplacerConfig.cs
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace gay.lilyy.MenuIconReplacer
|
||||
{
|
||||
[System.Serializable]
|
||||
public class TextureReplacement
|
||||
{
|
||||
public Texture2D from;
|
||||
public Texture2D to;
|
||||
}
|
||||
|
||||
public class MenuIconReplacerConfig : MonoBehaviour, VRC.SDKBase.IEditorOnly
|
||||
{
|
||||
[HideInInspector]
|
||||
public List<TextureReplacement> replacements = new List<TextureReplacement>();
|
||||
}
|
||||
}
|
||||
11
MenuIconReplacer/Runtime/MenuIconReplacerConfig.cs.meta
Normal file
11
MenuIconReplacer/Runtime/MenuIconReplacerConfig.cs.meta
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: a6d76942481598d4b8d9c823b1f809c0
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
14
MenuIconReplacer/Runtime/MenuIconReplacerRuntime.asmdef
Normal file
14
MenuIconReplacer/Runtime/MenuIconReplacerRuntime.asmdef
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"name": "MenuIconReplacerRuntime",
|
||||
"rootNamespace": "",
|
||||
"references": [],
|
||||
"includePlatforms": [],
|
||||
"excludePlatforms": [],
|
||||
"allowUnsafeCode": false,
|
||||
"overrideReferences": false,
|
||||
"precompiledReferences": [],
|
||||
"autoReferenced": true,
|
||||
"defineConstraints": [],
|
||||
"versionDefines": [],
|
||||
"noEngineReferences": false
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 108c6ed81f83e074fa168f7087c2a246
|
||||
AssemblyDefinitionImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Loading…
Add table
Add a link
Reference in a new issue