Class ProxyRegionForceTowards
Inheritance
ProxyRegionForceTowards
Inherited Members
Namespace: Unity.MARS.Forces
Syntax
[ComponentTooltip("Applies a region force towards nearby regions, filtered by layers/alignments/edges")]
[MonoBehaviourComponentMenu(typeof(ProxyRegionForceTowards), "Forces/Region Towards")]
[RequireComponent(typeof(ProxyForces))]
public class ProxyRegionForceTowards : ProxyRegionForceBase, IProxyRegionForceSource
Properties
towardsAlignment
Declaration
public MarsPlaneAlignment towardsAlignment { get; set; }
Property Value
Type | Description |
---|---|
MarsPlaneAlignment |
towardsEdgeOnly
Declaration
public bool towardsEdgeOnly { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
towardsLayers
Declaration
public LayerMask towardsLayers { get; set; }
Property Value
Type | Description |
---|---|
LayerMask |