Initial Commit
This commit is contained in:
parent
9089cf343f
commit
accf7e787f
20 changed files with 623 additions and 0 deletions
30
Template/Definition.cs
Normal file
30
Template/Definition.cs
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
namespace gay.lilyy.SoldAvatarBootstrap.Template
|
||||
{
|
||||
[InitializeOnLoad]
|
||||
public class TemplateDefinition : AvatarDefinition
|
||||
{
|
||||
public static readonly TemplateDefinition Instance = new();
|
||||
|
||||
static TemplateDefinition() { }
|
||||
|
||||
public override string DisplayName => "Template";
|
||||
|
||||
public override string SystemName => "template";
|
||||
|
||||
public override string FXLayerPath => "Assets/_LillithRosePup/SoldAvatarBootstrap/Template/FX.controller";
|
||||
|
||||
public override bool IsApplicable(GameObject avatarRoot)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
[MenuItem("LillithRosePup/SoldAvatarBootstrap/Template")]
|
||||
public static void Generate()
|
||||
{
|
||||
AvatarBootstrapCore.RunForCurrentAvatar(Instance);
|
||||
}
|
||||
}
|
||||
}
|
||||
11
Template/Definition.cs.meta
Normal file
11
Template/Definition.cs.meta
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: ea2d4a8738a3e0449830521d9f2ab669
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
21
Template/Layer.cs
Normal file
21
Template/Layer.cs
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
using UnityEditor;
|
||||
|
||||
namespace gay.lilyy.SoldAvatarBootstrap.Template
|
||||
{
|
||||
[InitializeOnLoad]
|
||||
public class TemplateLayer : LayerGroup
|
||||
{
|
||||
private static readonly TemplateLayer _instance = new();
|
||||
|
||||
static TemplateLayer() { }
|
||||
|
||||
public override string DisplayName => "Template";
|
||||
|
||||
public override string SystemName => "template";
|
||||
public override AvatarDefinition[] TargetDefinitions => new[] { TemplateDefinition.Instance };
|
||||
public override void Run(AvatarAssets assets)
|
||||
{
|
||||
Logger.LogInfo("LayerGroup Template.Run() Called!");
|
||||
}
|
||||
}
|
||||
}
|
||||
11
Template/Layer.cs.meta
Normal file
11
Template/Layer.cs.meta
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 8250cbd1c8378ab4592627fb1eb4b70d
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
18
Template/Template.asmdef
Normal file
18
Template/Template.asmdef
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"name": "Template",
|
||||
"rootNamespace": "",
|
||||
"references": [
|
||||
"GUID:16dfbe6f38dd98d4aa89b7eaac50e6c8"
|
||||
],
|
||||
"includePlatforms": [
|
||||
"Editor"
|
||||
],
|
||||
"excludePlatforms": [],
|
||||
"allowUnsafeCode": false,
|
||||
"overrideReferences": false,
|
||||
"precompiledReferences": [],
|
||||
"autoReferenced": true,
|
||||
"defineConstraints": [],
|
||||
"versionDefines": [],
|
||||
"noEngineReferences": false
|
||||
}
|
||||
7
Template/Template.asmdef.meta
Normal file
7
Template/Template.asmdef.meta
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: ab920be56a4be1049a14744810032574
|
||||
AssemblyDefinitionImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Loading…
Add table
Add a link
Reference in a new issue