mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-06-26 19:34:47 +00:00
18 lines
444 B
C#
18 lines
444 B
C#
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);
|
|
|
|
}
|
|
} |