This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private void AddGreedyQuad(float x, float y, float z, int axisU, int axisV, int axisD, int width, int height, int faceDir, | |
| List<Vector3> verts, List<int> tris, List<Vector2> uvs) | |
| { | |
| float p0x; | |
| float p0y; | |
| float p0z; | |
| float p1x; | |
| float p1y; | |
| float p1z; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| public class FrameTimingScript : MonoBehaviour | |
| { | |
| public float intervalSeconds = 1f; | |
| private readonly FrameTiming[] _timings = new FrameTiming[1]; | |
| private double _cpuSumMs; | |
| private int _cpuSamples; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Text.Json; | |
| using NUnit.Framework; | |
| using Unity.PerformanceTesting; | |
| using UnityEngine; | |
| public class JsonSerializationPerformanceTests | |
| { | |
| private const int ItemCount = 1000; |
OlderNewer