Initial Commit
This commit is contained in:
parent
9089cf343f
commit
accf7e787f
20 changed files with 623 additions and 0 deletions
24
Editor/LayerGroup.cs
Normal file
24
Editor/LayerGroup.cs
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
using System.Collections.Generic;
|
||||
|
||||
namespace gay.lilyy.SoldAvatarBootstrap
|
||||
{
|
||||
public abstract class LayerGroup
|
||||
{
|
||||
public virtual bool enabled { get { return true; } }
|
||||
private AvatarLayerGroupLogger _logger;
|
||||
|
||||
protected AvatarLayerGroupLogger Logger => _logger ??= new AvatarLayerGroupLogger(SystemName);
|
||||
|
||||
private static readonly List<LayerGroup> instances = new();
|
||||
|
||||
protected LayerGroup() => instances.Add(this);
|
||||
|
||||
public static IEnumerable<LayerGroup> Instances => instances;
|
||||
|
||||
public abstract string DisplayName { get; }
|
||||
public abstract string SystemName { get; }
|
||||
public abstract AvatarDefinition[] TargetDefinitions { get; }
|
||||
|
||||
public abstract void Run(AvatarAssets assets);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue