コード例 #1
0
 private SlimProfilerEntry GetterImplEntityComponent()
 {
     return(!_owner.IsAllocated
         ? null
         : ProfilerData.EntityComponentEntry(_owner.Target as MyEntityComponentBase));
 }
コード例 #2
0
ファイル: ProfilerPatch.cs プロジェクト: jimmble/Profiler
 private static SlimProfilerEntry SingleMethodEntryProvider_EntityComponent(MyEntityComponentBase __instance, string __key)
 {
     return(ProfilerData.EntityComponentEntry(__instance)?.GetSlim(__key));
 }