Hi, I am trying to find an array of objects of this type.
public var CrashBoxes: crashBoxScript [];
import UnityEngine;
import System.Collections;
public class Garage extends MonoBehaviour {
public var CrashBoxes: crashBoxScript [];
function Awake (){
CrashBoxes_Set01 = GameObject.FindGameObjectsWithTag("CrashBoxes_Set01");
}
}
This method comes up with an error:
Cannot convert ‘UnityEngine.GameObject’ to ‘crashBoxScript ’.
Thanks, Tim.