Class BoundedRangeCondition
Base class for all conditions which have a match rating beyond simple pass/fail
Inheritance
BoundedRangeCondition
Implements
Inherited Members
Component.GetComponent<T>()
Component.TryGetComponent<T>(out T)
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren<T>()
Component.GetComponentInParent<T>()
Component.GetComponentsInParent<T>()
Component.GetComponents<T>()
Object.GetHashCode()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.MARS.Conditions
Assembly: Unity.MARS.dll
Syntax
[MovedFrom("Unity.MARS")]
public abstract class BoundedRangeCondition : Condition, ISimulatable, ICondition, IConditionBase, IRequiresTraits, IConfigurableMatchRating, IRangeBoundingOptions
Fields
m_MaxBounded
Declaration
[SerializeField]
protected bool m_MaxBounded
Field Value
| Type | Description |
|---|---|
| bool |
m_MinBounded
Declaration
[SerializeField]
protected bool m_MinBounded
Field Value
| Type | Description |
|---|---|
| bool |
m_RatingConfig
Declaration
[SerializeField]
[HideInInspector]
protected RatingConfiguration m_RatingConfig
Field Value
| Type | Description |
|---|---|
| RatingConfiguration |
Properties
maxBounded
Whether the data must be at most a certain value
Declaration
public bool maxBounded { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
minBounded
Whether the data must be at least a certain value
Declaration
public bool minBounded { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ratingConfig
Declaration
public virtual RatingConfiguration ratingConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| RatingConfiguration |
Methods
OnRatingConfigChange()
Callback that runs after the rating configuration is set by code (not in the inspector)
Declaration
public virtual void OnRatingConfigChange()
ScaleParameters(float)
Declaration
public virtual void ScaleParameters(float scale)
Parameters
| Type | Name | Description |
|---|---|---|
| float | scale |