示例#1
0
        public static void AddPoints(PointType pt, int value, Vector3 screenPos, Color color)
        {
            string sign = value < 0 ? "" : "+";

            PointFloater.Factory(screenPos, sign + value, color);
            AddPointsToDictionary(pt, value);
        }
示例#2
0
        public static void AddPoints(PointType pt, int value, GameObject go, Color color)
        {
            string sign = value < 0 ? "" : "+";

            PointFloater.Factory(go, sign + value, color);
            AddPointsToDictionary(pt, value);
        }