BrashMonkey.Spriter.Data.ObjectModel.SpriterData.LoadData C# (CSharp) Method

LoadData() public method

Loads data from an SCML file.
public LoadData ( string path ) : void
path string
return void
        public void LoadData(string path)
        {
            #if UNITY_EDITOR || SCML_RUNTIME
            m_Parser.LoadSCML(path);

            rootLocation = System.IO.Path.GetDirectoryName(path).Replace(UnityEngine.Application.dataPath, "Assets");
            #endif
            ToImplementation();
        }