public void LoadStoryText(string text, int sceneId)
        {
            ScriptableData.ScriptableDataFile dataFile = new ScriptableData.ScriptableDataFile();
#if true
            if (dataFile.LoadFromString(text, "story"))
            {
                Load(dataFile, sceneId);
            }
#else
            dataFile.LoadObfuscatedCode(text, GlobalVariables.Instance.DecodeTable);
            Load(dataFile, sceneId);
#endif
        }
        public void LoadSkillText(string text)
        {
            ScriptableData.ScriptableDataFile dataFile = new ScriptableData.ScriptableDataFile();
#if !RELEASE
            if (dataFile.LoadFromString(text, "skill"))
            {
                Load(dataFile);
            }
#else
            dataFile.LoadObfuscatedCode(text, GlobalVariables.Instance.DecodeTable);
            Load(dataFile);
 #endif
        }
 public void LoadText(string text, int sceneId)
 {
     ScriptableData.ScriptableDataFile dataFile = new ScriptableData.ScriptableDataFile();
     if (dataFile.LoadFromString(text, "story"))
     {
         Load(dataFile, sceneId);
     }
     //#if DEBUG
     //#else
     //      dataFile.LoadObfuscatedCode(text, GlobalVariables.Instance.DecodeTable);
     //      Load(dataFile, sceneId);
     //#endif
 }