WXMC/.svn/pristine/2d/2d7845497823171849dd32fe190416ccf16d0612.svn-base

12 lines
233 B
Plaintext
Raw Normal View History

2024-12-04 16:18:46 +08:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class VectorUtils
{
public static Vector2 FromRad(float rad)
{
return new Vector2(Mathf.Cos(rad), Mathf.Sin(rad));
}
}