- Home /
 
 
               Question by 
               MagnusZane · Mar 11, 2012 at 02:24 AM · 
                gameobjectresourcesresources.loadall  
              
 
              convert Resources.LoadAll("RPGOBJ", GameObject) to gameobject array?
 var testloadrpg: Object[];
 
 function Start(){
 testloadrpg = Resources.LoadAll("RPGOBJ", GameObject);
 print(testloadrpg.Length) // <---- works and returns 182
 // if I try to copy this to a GameObject[], it returns an error >.<
 
 }
 
               What can I do?
               Comment
              
 
               
              Your answer