mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2024-12-29 18:55:06 +08:00
d998763fbe
* 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
23 lines
550 B
C#
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()
|
|
{
|
|
}
|
|
}
|
|
} |