Class ProxyRegionForcePlane2D | MARS | 1.0.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class ProxyRegionForcePlane2D

    Inheritance
    Object
    ProxyRegionForcePlane2D
    Namespace: Unity.MARS.Forces
    Syntax
    [ComponentTooltip("Applies a planar region attraction force to the proxy at its origin")]
    [MonoBehaviourComponentMenu(typeof(ProxyRegionForcePlane2D), "Forces/Region Planar Force")]
    public class ProxyRegionForcePlane2D : MonoBehaviour, IProxyRegionForceSource

    Properties

    planeAlignment

    Declaration
    public MarsPlaneAlignment planeAlignment { get; set; }
    Property Value
    Type Description
    MarsPlaneAlignment

    planeSize

    Declaration
    public Vector2 planeSize { get; set; }
    Property Value
    Type Description
    Vector2

    Methods

    UpdateFromSources()

    Declaration
    public void UpdateFromSources()

    UpdateRegionDefinitionWithin(ProxyForces)

    Declaration
    public void UpdateRegionDefinitionWithin(ProxyForces proxyForces)
    Parameters
    Type Name Description
    ProxyForces proxyForces
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023