I just try it on my iphone 2g and 4S and it is not working.
Is it work on mobile devices? If yes what is minimum requirements?
And also i have an error on building stage on getting acces to SkinnedCloth component
I use this script on my SkinnedCloth object to switch cloth simulation on/off.
var simulate : boolean;
function OnGUI () {
if (GUI.Button (Rect (10,10 , 80, 30), "Simulate")) {
simulate = !simulate;
GetComponent(SkinnedCloth).SetEnabledFading (simulate);
}
}
It works fine in editor and standalone version but when im building for mobile i’m getting this error:
Assets/mesh_switch.js(12,29): BCE0018: The name ‘SkinnedCloth’ does not denote a valid type (‘not found’).