概要 using UnityEngine; using UnityEngine.Profiling; public class Example : MonoBehaviour { public class Hoge { } public struct Fuga { } private void Start() { var count = 1000000; var samplerA = CustomSampler.Create( "AAAAAAAAAAAAAAAAAAAA" ); samplerA.Begin(); for ( int i = 0; i < count; i++ ) { new Hoge(); } samplerA.End(); var samplerB = CustomSampler.Create( "BBBBBBBBBBBBBBBBBBBB" ); samplerB.Be