Adding prefabs to Monobehaviour Class Array

public Transform weaponHold;
//Gun is MonoBehaviour CLass
public Gun allGuns = new Gun[5];

Gun equippedGun;

void Start() {
	allGuns[0] = (Gun)Resources.Load ("Gun 01");
}

Im trying to load the prefabs to the Gun Array But its still not working. 85304-zx.png

So you usually create an Array (or List) of Monobehaviours like this so they can be added from within the Editor. It looks like you are trying to determine the size of an Array from the Editor, and then load resources at runtime into the Array.

What is it that you are trying to do?