/// <summary>
        /// Initializes the <see cref="Common.Utils"/> class.
        /// </summary>
        static Utils()
        {
            DebugEx.Verbose("Static class Utils initialized");

            sUiLayer = LayerMask.NameToLayer("UI");

            sCanvasScaler = null;
        }
Exemple #2
0
        /// <summary>
        /// Initializes the <see cref="Common.Mouse"/> class.
        /// </summary>
        static Mouse()
        {
            DebugEx.Verbose("Static class Mouse initialized");

            sLastUpdate = -1;
            sX          = -1;
            sY          = -1;
            sHits       = null;
        }
        /// <summary>
        /// Determines whether this instance has children.
        /// </summary>
        /// <returns><c>true</c> if this instance has children; otherwise, <c>false</c>.</returns>
        public bool HasChildren()
        {
            DebugEx.Verbose("TreeNode<T>.HasChildren()");

            return(mChildren != null && mChildren.Count > 0);
        }
        /// <summary>
        /// Stops timer.
        /// </summary>
        public void Stop()
        {
            DebugEx.Verbose("Timer.Stop()");

            mTime = TIMER_NOT_ACTIVE;
        }