void Awake() { ResourceRedirection.RegisterAssetBundleLoadingHook( priority: 1000, action: AssetBundleLoading); ResourceRedirection.RegisterAsyncAssetBundleLoadingHook( priority: 1000, action: AsyncAssetBundleLoading); }