public static void FloatMesFileLine(this GameObject obj, string path, int line, TextFloaterColor color = TextFloaterColor.White) { // TODO: This should be changed to something more sensible and cached var mesLines = Tig.FS.ReadMesFile(path); var lineText = mesLines[line]; GameSystems.TextFloater.FloatLine(obj, TextFloaterCategory.Generic, color, lineText); }
public static void FloatLine(this GameObject obj, string text, TextFloaterColor color = TextFloaterColor.White) { GameSystems.TextFloater.FloatLine(obj, TextFloaterCategory.Generic, color, text); }