public void LoadResource(PlayerEntity entity, EPlayerCommonResourceType index, AssetInfo assetInfo, bool forceReload = false)
 {
     _playerLogic.LoadResource(entity, (int)index, assetInfo, forceReload);
 }
 public void UnloadResource(PlayerEntity entity, EPlayerCommonResourceType index)
 {
     _playerLogic.UnloadResource(entity, (int)index);
 }
Exemplo n.º 3
0
 public AssetStatus GetResource(EPlayerCommonResourceType playerCommonResourceType)
 {
     return(Resources[(int)playerCommonResourceType]);
 }