I have gameobject prefabs in resources folder that needs to be replaced using PrefabUtility.ReplacePrefab. Its working the way I want it to when I play it on Unity, but not when I build&run on my android phone. So how do I replace those prefabs in android?
Code below:
`PrefabUtility.ReplacePrefab(emptyGameObject,AssetDatabase.LoadAssetAtPath ("Assets/Resources/" + c.ToString () + ".prefab", typeof(Object)));`
↧