Jump to content

Load Item Prefab from custom folder (URL,FTP, LOCAL HDD)


Recommended Posts

Is there a way to load the resources a mod needs from a location other than the mod folder?

 

like 

 

Spoiler

 <property name="Prefab" value="#@modfolder:Resources/uh60.unity3d?UH60heli.prefab"/>

 

to

 

Spoiler

 <property name="Prefab" value="#D:/MYFOLDER:Resources/uh60.unity3d?UH60heli.prefab"/>

 

Im reading about Resource.load and AssetBundle.LoadAsset, but my head is burns out (I have zero knoledge about XML and Unity)

 

Thanks in advanced.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...