Hi,
Ok, I have had a quick play about. The actual object in my prefab is a ready made NGUI UISprite, I did not make this from scratch, although I am wondering if that is maybe what I should have done.
Anyways, I have found that because I am using the NGUI camera for all my entire scene, it seems to screw up the CreateObject. What is happening is that the CreateObject is created in the root of the Hierarchy. Therefore when it is parented to the GameObject I want it under, the whole transform is way off:
Position: x 0, y -2000, z -540
Scale: x 2000, y 2000, z 540
Also it was executing the FSM on this GO which meant if it was outside the camera view it destroyed its self (which for a y position of -2000 was definable happening).
Is there a way to get the CreateObject to spawn at a certain point in the hierarchy? I tried the spawn point and that made no difference what so ever.
Regards,