Class GeoFenceCondition
Represents a situation that depends on the user's geolocation
Inheritance
GeoFenceCondition
Syntax
[ComponentTooltip("Requires the object to be inside or outside of the specified geolocation.")]
[MonoBehaviourComponentMenu(typeof(GeoFenceCondition), "Condition/GeoFence")]
public class GeoFenceCondition : Condition<Vector2>, ISimulatable, ICondition<Vector2>, ICondition, IConditionBase, IRequiresTraits<Vector2>, IRequiresTraits
Methods
GetRequiredTraits()
Declaration
public override TraitRequirement[] GetRequiredTraits()
Returns
Overrides
RateDataMatch(ref Vector2)
Declaration
public override float RateDataMatch(ref Vector2 data)
Parameters
Type |
Name |
Description |
Vector2 |
data |
|
Returns
Overrides
Unity.MARS.Condition<Vector2>.RateDataMatch(Vector2)
Extension Methods