Beispiel #1
0
    /// <summary>
    /// Call This to load all asset Data
    /// </summary>
    public void LoadAssets()
    {
        // Load data
        LoadFile();

        if (Saving.List.Count <= 0)
        {
            return;
        }
        for (int i = 0; i < SavableAssetArray.Length; i++)
        {
            SavableAssetArray[i].Load(Saving.GetJSonFromKey(SavableAssetArray[i].name));
        }
    }