예제 #1
0
 public override void Start()
 {
     base.Start();
     Log.Info("SceneContext.Awake detailed profiling: {0}", ProfileTimers.FormatResults());
     ProfileTimers.ResetAll();
     End = true;
 }
예제 #2
0
        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
        }
예제 #3
0
        // 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());
        }