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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue