modular-avatar/Runtime/ReactiveComponent.cs
bd_ d998763fbe
feat: add material switcher and inverse mode (#974)
* feat: add material switcher

Also refactor everything...

* refactor: simplify object curve handling

* refactor: additional refactoring and bugfixes

* feat: inverse mode

* feat: add material setter inspector UI

* chore: set material setter icon

* chore: fix error on build

* chore: adjust order of inverted element
2024-08-10 18:03:50 -07:00

23 lines
550 B
C#

using UnityEngine;
using UnityEngine.Serialization;
namespace nadena.dev.modular_avatar.core
{
/// <summary>
/// Tag class used internally to mark reactive components. Not publicly extensible.
/// </summary>
public abstract class ReactiveComponent : AvatarTagComponent
{
[SerializeField] private bool m_inverted = false;
public bool Inverted
{
get => m_inverted;
set => m_inverted = value;
}
internal ReactiveComponent()
{
}
}
}