![]() When you run the Unity project it will load and display the mech. ![]() remove the "(clone)" string from the game objects nameĬlone.name = ( 0, - 7 ) ĭebug.Log("_Done_") String outstr = "Failed to load Asset! " + name GameObject prefab = (GameObject)mechAssetBundle.LoadAsset(name) Var names = mechAssetBundle.GetAllAssetNames() Public string m_assetBundleName = "chrprfmech_newMechBase-001" ĪssetBundle mechAssetBundle = AssetBundle.LoadFromFile(Application.streamingAssetsPath + "/" + m_assetBundleName) ĭebug.Log("Failed to load AssetBundle! %s", mechAssetBundle ) Note this only loads a mech, there is no easy way to create an AssetBundle at runtime, so this is not a mech asset bundle editor. ![]() It should look something like this when loaded.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |