public override void Start() { base.Start(); Log.Info("SceneContext.Awake detailed profiling: {0}", ProfileTimers.FormatResults()); ProfileTimers.ResetAll(); End = true; }
public void Construct( DiContainer parentContainer) { Assert.IsNull(_container); _container = parentContainer.CreateSubContainer(); Initialize(); #if ZEN_INTERNAL_PROFILING if (SceneKernel.End) { var result = $"GameObjectContext({name}).Awake detailed profiling: {ProfileTimers.FormatResults()}"; Log.Info(result); } #endif }
// Only needed to set "script execution order" in unity project settings #if ZEN_INTERNAL_PROFILING public override void Start() { base.Start(); Log.Info(ProfileTimers.FormatResults()); }