Exemplo n.º 1
0
        /// <summary>
        ///     The ghost units are used to briefly hold the destination
        ///     for a move order, so they need to be moved to the cursor
        ///     if a move order click is issued.
        /// </summary>
        private void MoveGhostsToMouse()
        {
            RaycastHit hit;

            if (Util.GetTerrainClickLocation(out hit))
            {
                _selectionManager.PrepareMoveOrderPreview(hit.point);
            }
        }