public static void UnitTest_Float() { Test0 t = new Test0(); Vector3 v3 = new Vector3(); t.CalFloat(v3); }
public static void UnitTest_Arr() { var vectors = new Vector3[] { new Vector3(335, 253, 0), new Vector3(335, 2533, 0), new Vector3(335, 25332, 0) }; foreach (var v in vectors) { Logger.Log("v=" + v.y); } }
static void PassV3(Vector3 v3) { Logger.Log("" + v3.y); }
public static void UnitTest_V3() { Vector3 v = new Vector3(45, 5, 0); PassV3(v); }
void CalFloat(Vector3 v3) { float midy = (1 - v3.y) / 1; }
public static void UnitTest_Arr() { var vectors = new Vector3[] { new Vector3(335, 253, 0), new Vector3(335, 2533, 0), new Vector3(335, 25332, 0)}; foreach(var v in vectors) { Logger.Log("v=" + v.y); } }