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

            sUiLayer = LayerMask.NameToLayer("UI");

            sCanvasScaler = null;
        }
Exemplo n.º 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;
        }
Exemplo n.º 3
0
        /// <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);
        }
Exemplo n.º 4
0
        /// <summary>
        /// Stops timer.
        /// </summary>
        public void Stop()
        {
            DebugEx.Verbose("Timer.Stop()");

            mTime = TIMER_NOT_ACTIVE;
        }