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