コード例 #1
0
        public override bool WasMoved()
        {
            int touchCount = TouchCount;

            if (touchCount != 0)
            {
                for (int touchIndex = 0; touchIndex < touchCount; ++touchIndex)
                {
                    if (touchIndex >= MaxNumberOfTouches)
                    {
                        return(false);
                    }

                    if (RTInput.TouchMoved(touchIndex))
                    {
                        return(true);
                    }
                }
            }
            return(false);
        }