cull(engine-cleanup): pass-8 phase-2 cascade round 1 after CardDetailUI stub

This commit is contained in:
gamer147
2026-07-03 22:33:26 -04:00
parent 8e6dbad56b
commit 3d641e9e35
28 changed files with 4 additions and 917 deletions

View File

@@ -55,7 +55,6 @@ namespace UnityEngine
public static float SqrMagnitude(Vector3 a) => a.sqrMagnitude;
public static float Dot(Vector3 a, Vector3 b) => a.x * b.x + a.y * b.y + a.z * b.z;
public static Vector3 Scale(Vector3 a, Vector3 b) => new Vector3(a.x * b.x, a.y * b.y, a.z * b.z);
public void Scale(Vector3 s) { x *= s.x; y *= s.y; z *= s.z; }
public static Vector3 Lerp(Vector3 a, Vector3 b, float t) => new Vector3(a.x + (b.x - a.x) * t, a.y + (b.y - a.y) * t, a.z + (b.z - a.z) * t);
public static Vector3 operator +(Vector3 a, Vector3 b) => new Vector3(a.x + b.x, a.y + b.y, a.z + b.z);
public static Vector3 operator -(Vector3 a, Vector3 b) => new Vector3(a.x - b.x, a.y - b.y, a.z - b.z);

View File

@@ -271,11 +271,11 @@ namespace UnityEngine
public class MeshFilter : Component { public Mesh mesh { get; set; } public Mesh sharedMesh { get; set; } }
public class ParticleSystem : Component
{
public void Play() { } public int particleCount => 0;
public int particleCount => 0;
public MainModule main => default;
public int GetParticles(Particle[] p) => 0;
public void SetParticles(Particle[] p, int n) { }
public struct MainModule { public bool playOnAwake; public MinMaxGradient startColor; }
public struct MainModule { public MinMaxGradient startColor; }
public struct MinMaxGradient { public Color color; public MinMaxGradient(Color c) { color = c; } public static implicit operator MinMaxGradient(Color c) => new MinMaxGradient(c); }
public struct EmissionModule { }
public struct Particle { public Vector3 position; public Color32 startColor; }