Veilheim/AssetManagers/GUIManager.cs
/// <summary>
///     Load a GUI prefab from a bundle and register it in the <see cref="GUIManager" />.
/// </summary>
/// <param name="assetBundle"></param>
/// <param name="assetName"></param>
Load a GUI prefab from a bundle and register it in the .
Load a GUI prefab from a bundle and register it in the .
private void LoadGUIPrefab(AssetBundle assetBundle, string assetName)
        {
            var prefab = assetBundle.LoadAsset<GameObject>(assetName);
            Veilheim.AssetManagers.GUIManager.Instance.AddPrefab(assetName, prefab);
        }
private void LoadGUIPrefab ( AssetBundle assetBundle , string assetName ) { var prefab = assetBundle . LoadAsset < GameObject > ( assetName ) ; Veilheim . AssetManagers . GUIManager . Instance . AddPrefab ( assetName , prefab ) ; }
Load a GUI prefab from a bundle and register it in the .
Load a GUI prefab from a bundle and register it in the .
assetBundle
AssetBundle
None
assetName
string
None