18 lines
444 B
C#
Raw Normal View History

2024-02-02 15:38:13 +08:00
using UnityEngine;
namespace Game.Plugins.App.Util
{
//临时的随机数 因为帧同步不允许随机数 所以临时用固定值代替
public class JNRandom
{
public static float value => 0.5f;
public static float Range(float min,float max)
{
return min + ((max - min) / 2);
}
public static Vector3 onUnitSphere => new Vector3(-0.577844f, 0.327635f, 0.177893f);
}
}