mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-01-19 12:50:08 +08:00
a300622bb2
* chore: add support for synced/saved settings on menu actions * feat: move action defaults to control group * chore: finish the control group ui updates * docs: update tutorial * docs: update control group documentation * docs/ui: menu install target UI and docs
16 lines
424 B
C#
16 lines
424 B
C#
using UnityEngine;
|
|
|
|
namespace nadena.dev.modular_avatar.core
|
|
{
|
|
[AddComponentMenu("Modular Avatar/MA Control Group")]
|
|
public class ControlGroup : ActionController
|
|
{
|
|
public bool isSynced = true;
|
|
public bool isSaved = true;
|
|
|
|
public ModularAvatarMenuItem defaultValue;
|
|
|
|
internal override bool isSyncedProp => isSynced;
|
|
internal override bool isSavedProp => isSaved;
|
|
}
|
|
} |