示例#1
0
        public virtual bool IsNoRayObjectSelected()
        {
            QuickUICursor cursor = GetCursor();

            if (cursor.GetRaycastResult().collider != null)
            {
                return(cursor.GetRaycastResult().collider.gameObject.CompareTag("NoRay"));
            }
            return(false);
        }
示例#2
0
        protected virtual Vector3 GetPositionEnd()
        {
            QuickUICursor cursor = GetCursor();

            return(cursor? cursor.GetRaycastResult().point : transform.position);
        }