How do i fill an array with scripts? i know you can do ints and strings ect but it is it possible to do with scripts?
public script[] arrayOfscripts;
or will this work?
public MonoBehaviour[] arrayOfScripts;
How do i fill an array with scripts? i know you can do ints and strings ect but it is it possible to do with scripts?
public script[] arrayOfscripts;
or will this work?
public MonoBehaviour[] arrayOfScripts;
But the second is correct. Unless you want the actual text and then it would be string[,]