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