Browse Source

提取语言字符串

LiuQilin 7 years ago
parent
commit
35cb703440
2 changed files with 41 additions and 0 deletions
  1. 29 0
      Assets/Script/Label/TransferLabel.cs
  2. 12 0
      Assets/Script/Label/TransferLabel.cs.meta

+ 29 - 0
Assets/Script/Label/TransferLabel.cs

@@ -0,0 +1,29 @@
+using System.Collections;
+using System.Collections.Generic;
+
+using UnityEngine;
+
+public class TransferLabel
+{
+    public static char OpenChar = '[';
+    public static char CloseChar = ']';
+    public static string Level = "lv";
+    public static string Coin = "&coin&";
+    public static string Diamond = "&diamond&";
+    public static string Person = "&person&";
+    public static string SkillCD = "&skill_cd&";
+    public static string Flower = "&flower&";
+    public static string Replace = "&replace&";
+    public static string Duration = "&duration&";
+    public static string CoinOnce = "&coin_once&";
+    public static string CoinPerson = "&coin_person&";
+    public static string DiamondOnce = "&diamond_once&";
+    public static string Value = "[&value&]";
+
+    public static string PackSprite = "<(礼包)>";
+    public static string CoinSprite = "<(金币)>";
+    public static string FlowerSprite = "<(花朵)>";
+    public static string CloseSprite = "<(服装)>";
+    public static string DiamondSprite = "<(钻石)>";
+    public static string PossessSprite = "<(已购)>";
+}

+ 12 - 0
Assets/Script/Label/TransferLabel.cs.meta

@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: 65f1e4bfb21c0e24cb84de1dd8c1011d
+timeCreated: 1510218541
+licenseType: Pro
+MonoImporter:
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: