Quantcast
Channel: Questions in topic: "assetbundles"
Viewing all articles
Browse latest Browse all 312

Including serialized data of components into an assetBundle

$
0
0
I am building asset bundles as per the documentation: https://docs.unity3d.com/Manual/AssetBundles-Building.html BuildPipeline.BuildAssetBundles(assetBundleDirectory, BuildAssetBundleOptions.None, EditorUserBuildSettings.activeBuildTarget); Everything is working fine however I know that these bundles don't include scripts. I was wondering if it was possible to include serialized data to my bundle. For example I have a custom script with some properties where the class is available on the project I want to consume the bundle so I only need the serialized data and not the actual class assembly. Is this possible? How could I do this?

Viewing all articles
Browse latest Browse all 312

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>