예제 #1
0
 public override void Init()
 {
     base.Init();
     TextAsset constXmlAsset = Resources.Load<TextAsset>("PlatformConst");
     if(constXmlAsset == null)
     {
         Debug.logger.LogError("PlatformHelper", "PlatformConst加载失败");
         return;
     }
     Propertys constProp = Propertys.LoadXml(constXmlAsset.text);
     string sdkList = constProp.GetProperty("SdkList");
     if (!string.IsNullOrEmpty(sdkList))
     {
         LoadAllSdk(sdkList);
     }
 }