using System.Collections; using System.Collections.Generic; using UnityEngine; namespace MyFrameworkPure { public class MathfTool { //public float MapTo01(float value, float min, float max) //{ // return (value - min) / (max - min); //} //public float MapTo01(int value, int min, int max) //{ // return (value - min)*1.0f / (max - min); //} } }