Example #1
0
 public override void Start()
 {
     base.Start();
     Log.Info("SceneContext.Awake detailed profiling: {0}", ProfileTimers.FormatResults());
     ProfileTimers.ResetAll();
     End = true;
 }
Example #2
0
        public void Awake()
        {
#if ZEN_INTERNAL_PROFILING
            ProfileTimers.ResetAll();
            using (ProfileTimers.CreateTimedBlock("Other"))
#endif
            {
                Initialize();
            }
        }
Example #3
0
        protected override void Awake()
        {
            base.Awake();

#if ZEN_INTERNAL_PROFILING
            ProfileTimers.ResetAll();
            using (ProfileTimers.CreateTimedBlock("Other"))
#endif
            {
                Initialize();
            }
        }