Is there some way to have a public field in an action that lets the user select a type, similar to the 'Variables' tab's 'Object Type' field? I want to be able to select an Object Type then feed that to 'GetComponentsInChildren' something like this:
gameObject.GetComponentsInChildren<ObjectType>()
Edit:
Ok, I found this in an action:
[RequiredField]
[UIHint(UIHint.ScriptComponent)]
[Title("Component Type"), Tooltip("The type of Component to add to the Game Object.")]
public FsmString component;
***
ReflectionUtils.GetGlobalType(component.Value);
But this uses reflection (which I gather is slow), so I will probably just make an action for the specific type.