Ejemplo n.º 1
0
        private void HandleMove()
        {
            Vector2 mousePosition = Mouse.current.position.ReadValue();

            m_moveTarget.anchoredPosition = m_initialPosition + (mousePosition - m_initialClickPosition);
            m_debugSettings.OverwriteConsolePosition(m_moveTarget.anchoredPosition);
        }