Initial Commit
This commit is contained in:
parent
9089cf343f
commit
accf7e787f
20 changed files with 623 additions and 0 deletions
20
Editor/Definition.cs
Normal file
20
Editor/Definition.cs
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace gay.lilyy.SoldAvatarBootstrap
|
||||
{
|
||||
public abstract class AvatarDefinition
|
||||
{
|
||||
private static readonly List<AvatarDefinition> instances = new();
|
||||
|
||||
protected AvatarDefinition() => instances.Add(this);
|
||||
|
||||
public static IEnumerable<AvatarDefinition> Instances => instances;
|
||||
|
||||
public abstract string DisplayName { get; }
|
||||
public abstract string SystemName { get; }
|
||||
public abstract string FXLayerPath { get; }
|
||||
|
||||
public abstract bool IsApplicable(GameObject avatarRoot);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue