public static void GenCodeByFile() { var file = ProtobufUtility.LoadTextFile <gamedef.CodeGenFile>("Assets/Script/CodeGen/ui.pbt"); GenCodeByManifest(file); }