cull(engine-cleanup): pass-9 cascade round 1 after UIPanel stub
This commit is contained in:
@@ -123,7 +123,6 @@ namespace UnityEngine
|
||||
public static int Max(params int[] values) { int m = int.MinValue; foreach (var v in values) m = Math.Max(m, v); return m; }
|
||||
public static float Min(float a, float b) => Math.Min(a, b);
|
||||
public static int Min(int a, int b) => Math.Min(a, b);
|
||||
public static float Min(params float[] values) { float m = float.PositiveInfinity; foreach (var v in values) m = Math.Min(m, v); return m; }
|
||||
public static int Min(params int[] values) { int m = int.MaxValue; foreach (var v in values) m = Math.Min(m, v); return m; }
|
||||
public static float Clamp(float v, float lo, float hi) => Math.Max(lo, Math.Min(hi, v));
|
||||
public static int Clamp(int v, int lo, int hi) => Math.Max(lo, Math.Min(hi, v));
|
||||
|
||||
@@ -133,7 +133,6 @@ namespace UnityEngine
|
||||
public void SetParent(Transform p, bool worldPositionStays) { }
|
||||
public void SetSiblingIndex(int i) { }
|
||||
public int GetSiblingIndex() => 0;
|
||||
public Vector3 lossyScale => Vector3.one;
|
||||
public Vector3 up { get => Vector3.up; set { } }
|
||||
public Vector3 TransformPoint(Vector3 p) => p;
|
||||
public Vector3 TransformPoint(float x, float y, float z) => new Vector3(x, y, z);
|
||||
@@ -381,7 +380,7 @@ public void Play(int hash, int layer, float normalizedTime) { }
|
||||
public static int targetFrameRate { get; set; }
|
||||
public static RuntimePlatform platform => RuntimePlatform.WindowsPlayer;
|
||||
}
|
||||
public enum RuntimePlatform { WindowsPlayer, OSXPlayer, IPhonePlayer, Android, WindowsEditor, OSXEditor, XBOX360, BlackBerryPlayer}
|
||||
public enum RuntimePlatform { WindowsPlayer, OSXPlayer, IPhonePlayer, Android, OSXEditor, BlackBerryPlayer}
|
||||
public static partial class Time
|
||||
{
|
||||
public static float deltaTime => 0f;
|
||||
|
||||
@@ -51,8 +51,6 @@ namespace UnityEngine
|
||||
|
||||
public partial class Rigidbody
|
||||
{
|
||||
public bool isKinematic { get; set; }
|
||||
public bool useGravity { get; set; }
|
||||
public void MovePosition(Vector3 position) { }
|
||||
public void MoveRotation(Quaternion rotation) { }
|
||||
}
|
||||
|
||||
@@ -46,8 +46,6 @@ namespace UnityEngine
|
||||
public static string deviceUniqueIdentifier => "";
|
||||
public static string operatingSystem => "";
|
||||
public static string graphicsDeviceName => "";
|
||||
public static string graphicsDeviceVersion => "";
|
||||
public static int graphicsShaderLevel => 0;
|
||||
public static int systemMemorySize => 0;
|
||||
public static int processorCount => 1;
|
||||
public static bool SupportsTextureFormat(TextureFormat format) => true;
|
||||
|
||||
Reference in New Issue
Block a user