Skip to content

Commit

Permalink
Removed unused properties.
Browse files Browse the repository at this point in the history
  • Loading branch information
vchelaru committed Dec 26, 2023
1 parent f4f92a2 commit ba93de3
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions FRBDK/Glue/GumPlugin/GumPlugin/Embedded/ContentManagerWrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,30 +13,6 @@ public string ContentManagerName
get;
set;
}
public T TryGetCachedDisposable<T>(string contentName)
{
var contentManager = FlatRedBall.FlatRedBallServices.GetContentManagerByName(ContentManagerName);

if (contentManager.IsAssetLoadedByName<T>(contentName))
{
return contentManager.Load<T>(contentName);
}
else
{
return default(T);
}
}

public void AddDisposable(string contentName, IDisposable disposable)
{
var contentManager = FlatRedBall.FlatRedBallServices.GetContentManagerByName(ContentManagerName);

contentManager.AddDisposable(contentName, disposable);
}





public T TryLoadContent<T>(string contentName)
{
Expand Down

0 comments on commit ba93de3

Please sign in to comment.