mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-01-04 13:45:04 +08:00
15 lines
491 B
C#
15 lines
491 B
C#
using UnityEngine;
|
|
|
|
namespace nadena.dev.modular_avatar.core.editor
|
|
{
|
|
internal class ControlCondition
|
|
{
|
|
public string Parameter, DebugName;
|
|
public bool IsConstant;
|
|
public float ParameterValueLo, ParameterValueHi, InitialValue;
|
|
public bool InitiallyActive => InitialValue > ParameterValueLo && InitialValue < ParameterValueHi;
|
|
public bool IsConstantActive => InitiallyActive && IsConstant;
|
|
|
|
public GameObject ReferenceObject;
|
|
}
|
|
} |