There are several ways, for example considering your script is on an object. So get the object to whom you want to assign the list i.e. using tag.
ClassName a = object.GetComponent();
Now you can assign object a list to public data
↧