Yeah,
I read my post and realised it needs a bit more explaining haha.
Right, I have a Building Prefab with an FSM on and I also have another Game Object in the scene which is the Building Manager FSM. The building prefab has another script on it which I've been setting properties on (and then accessing via the Get Property) as well as any complex actions which I just found easier writing the code for.
The issue I'm having is that I wanted to from the building prefab FSM call out to the Building Manager FSM telling it to perform an action on that building prefab.
To understand why I probably need to put some context, I'm writing a Settlers/Age of Empires style game where the 'workers' put wood/stone/iron into the building and as they do the building graphic changes. As it's multiplayer, I was attempting to get the building prefab to tell the Manager 'I've had more resources added', the manager work out what % the construction was at then adjust the graphic accordingly and also communicate out to the server re this building. I'm passing the actual building prefab as the game object so that I can access the 'properties' script I've attached so I can retrieve values such as the building ID and various resource levels.
So as risk of repeating.... Building tells manager it's had resources added, manager works out if graphics need updating looking at the script and then tells the building to update it's graphics along with telling the server that building graphic has changed.
The issue is that in the manager, I get the game object (which is the Building Prefab) from the Event Data and store this in a variable. From this variable in the manager I then need to access the script component in that building it's just been told about. This is where I get stuck.
Sorry if I went on a bit haha.