I've just tried to create a "Set Mesh" action, but I can't do it... For the instantiate function to work I need a static reference to that variable... which I don't know how to make in playmaker since you only have one class and you can't apparently need to reference from another class...
To make it more clear, I want to turn this:
var aMesh : Mesh;
function Start () {
var meshInstance : Mesh = Instantiate(aMesh);
GetComponent(MeshFilter).mesh = meshInstance;
}
into an action, but the mesh needs to be defined as MyClass.MyItem.MyProperty
for instantiate to work. How can I do that within the playmaker class?