Charactor Customization, solution to fix for unity 4.0

February 14, 2013   ·   0 Comments

Screen Shot 2013-02-13 at 6.24.43 PM

Doug Burton has a good solution, I update the code and pause in here.
Open CharacterGenerator.cs Line 323, update the AssetbundleBaseURL function code to below.
it is working for me at Unity 4.0

    public static string AssetbundleBaseURL
    {
        get
        {
            if (Application.platform == RuntimePlatform.WindowsWebPlayer || Application.platform == RuntimePlatform.OSXWebPlayer)
			{
				 return Application.dataPath+"/assetbundles/";
		
		}else{
				return  "file://" + Application.dataPath+"/assetbundles/";
              
			}
        }
    }


// www.powenko.com

shareShare on FacebookShare on Google+Share on LinkedInEmail this to someonePrint this pageBuffer this pageDigg thisFlattr the authorShare on RedditPin on PinterestShare on StumbleUponShare on TumblrTweet about this on Twitter

By


Readers Comments (0)


You must be logged in to post a comment.

PowenKo’s Online Store

powenko_arduinoBook
Unity3D4

Amazon

adsbygoogle

Recent Posts

Categories

Amazon