cull(engine-cleanup): pass-9 cascade round 5 after UIPanel stub
This commit is contained in:
@@ -46,7 +46,6 @@ namespace UnityEngine
|
||||
public class Object
|
||||
{
|
||||
public string name { get; set; }
|
||||
public HideFlags hideFlags { get; set; }
|
||||
public int GetInstanceID() => 0;
|
||||
public override string ToString() => name ?? base.ToString();
|
||||
public static void Destroy(Object o) { }
|
||||
@@ -292,13 +291,11 @@ public int particleCount => 0;
|
||||
public Texture mainTexture { get; set; }
|
||||
public Vector2 mainTextureOffset { get; set; }
|
||||
public Vector2 mainTextureScale { get; set; }
|
||||
public string[] shaderKeywords { get; set; }
|
||||
public Color GetColor(string n) => Color.white;
|
||||
public void SetFloat(string n, float v) { }
|
||||
public void SetInt(string n, int v) { }
|
||||
public void SetColor(string n, Color c) { }
|
||||
public void SetTexture(string n, Texture t) { }
|
||||
public void EnableKeyword(string k) { }
|
||||
}
|
||||
public partial class Mesh : Object { }
|
||||
public class Texture : Object { public int width => 0; public int height => 0; }
|
||||
@@ -351,7 +348,7 @@ public void Play(int hash, int layer, float normalizedTime) { }
|
||||
// ---- enums (grow members as the compiler demands) ----
|
||||
public enum FontStyle { Normal}
|
||||
// KeyCode lives in UnityRuntime.cs (full enum).
|
||||
[Flags] public enum HideFlags { None = 0, NotEditable = 8, DontSave = 52}
|
||||
[Flags] public enum HideFlags { None = 0}
|
||||
public enum SendMessageOptions { DontRequireReceiver }
|
||||
|
||||
// ---- attributes: permissive ctors accept any compile-time attribute args ----
|
||||
|
||||
@@ -55,7 +55,6 @@ namespace UnityEngine
|
||||
|
||||
public partial class Material
|
||||
{
|
||||
public void CopyPropertiesFromMaterial(Material mat) { }
|
||||
}
|
||||
|
||||
public partial class Mesh
|
||||
|
||||
Reference in New Issue
Block a user