Beispiel #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);
        }
Beispiel #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);
        }