public static T LoadAsset <T>(ResourceType resourceType, string assetName) where T : Object { ResourceLoad _resourceLoad = (ResourceLoad)GameModleManager.GetGameModel(typeof(ResourceLoad)); string _resourcePath = ResourcePath.GetPath(resourceType, assetName); T value = _resourceLoad.LoadAsset <T>(_resourcePath); return(value); }
private void Awake() { _audioManager = (AudioManager)GameModleManager.GetGameModel(typeof(AudioManager)); }