• Home
  • Store
    Show / Hide Table of Contents

    Class Math

    Namespace: LeTai.TrueShadow
    Assembly: LeTai.TrueShadow.dll

    Methods

    Angle360(Vector2, Vector2)

    Declaration
    public static float Angle360(Vector2 from, Vector2 to)
    Parameters
    Type Name Description
    UnityEngine.Vector2 from
    UnityEngine.Vector2 to
    Returns
    Type Description
    float

    AngleDistanceVector(float, float, Vector2)

    Declaration
    public static Vector2 AngleDistanceVector(float angle, float distance, Vector2 zeroVector)
    Parameters
    Type Name Description
    float angle
    float distance
    UnityEngine.Vector2 zeroVector
    Returns
    Type Description
    UnityEngine.Vector2

    Rotate(Vector2, float)

    Declaration
    public static Vector2 Rotate(this Vector2 v, float angle)
    Parameters
    Type Name Description
    UnityEngine.Vector2 v
    float angle
    Returns
    Type Description
    UnityEngine.Vector2
    In This Article
    Like True Shadow? Your review is greatly appreciated! ⭐⭐⭐⭐⭐ Back to top