Mirror of Svelto.ECS because we're a fan of it
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #if UNITY_EDITOR
- using System;
- using System.Collections.Generic;
- using UnityEngine;
-
- //This profiler is based on the Entitas Visual Debugging tool
- //https://github.com/sschmid/Entitas-CSharp
-
- namespace Svelto.ECS.Profiler
- {
- public class EngineProfilerBehaviour : MonoBehaviour
- {
- public Dictionary<Type, EngineInfo>.ValueCollection engines { get { return EngineProfiler.engineInfos.Values; } }
-
- public void ResetDurations()
- {
- EngineProfiler.ResetDurations();
- }
- }
- }
- #endif
|