Beispiel #1
0
    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);
    }
Beispiel #2
0
 public static void FloatLine(this GameObject obj, string text, TextFloaterColor color = TextFloaterColor.White)
 {
     GameSystems.TextFloater.FloatLine(obj, TextFloaterCategory.Generic, color, text);
 }