30 lines
No EOL
754 B
C#
30 lines
No EOL
754 B
C#
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);
|
|
}
|
|
}
|
|
} |