Hi
I have a situation where I want to populate an array with data that has been gathered and stored from a C# script very like the one below.
}
DirectoryInfo dir = new DirectoryInfo(Application.persistentDataPath);
FileInfo[] images = dir.GetFiles("*.png");
foreach (FileInfo f in images)
{
I know how to pass individual items to an FSM using for instance:
FsmVariables.GlobalVariables.GetFsmString("tess").Value = Storedstring;
But is there a simple method of doing this with arrays? My brain has stopped working hence the need for pointers.
So far I have created a "Game Object" variable and set it to Object Type PlayMakerArrayListProxy and set the Object Value to the Object the Proxy is on "Data".
I have also read that
public PlayMakerArrayListProxy myArrayListProxy;
Gives visibility in C#
But when your brain starts hurting we all know we should ask for help so...help please!
Thank you in advance.