modular-avatar/Packages/nadena.dev.modular-avatar/Runtime/Menu/ActionController.cs
bd_ a300622bb2
feat: support unsynced/saved toggles in new menu system (#276)
* 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
2023-04-15 18:11:30 +09:00

17 lines
547 B
C#

using UnityEngine;
namespace nadena.dev.modular_avatar.core
{
/// <summary>
/// Tag class that marks components that actions can be attached to.
///
/// Note that this is public due to C# protection rules, but is not a supported API for editor scripts and may
/// change in point releases.
/// </summary>
[DisallowMultipleComponent]
public abstract class ActionController : AvatarTagComponent
{
internal abstract bool isSyncedProp { get; }
internal abstract bool isSavedProp { get; }
}
}