diff --git a/docs/uobject_API.md b/docs/uobject_API.md index 424ad1c5b..32c760920 100644 --- a/docs/uobject_API.md +++ b/docs/uobject_API.md @@ -200,14 +200,13 @@ return True if the actor has a component of the specified type --- ```py -yesno = uobject.get_actor_component_by_type(uclass) +component = uobject.get_actor_component_by_type(uclass) # alias -yesno = uobject.get_component_by_type(uclass) +component = uobject.get_component_by_type(uclass) ``` return the first component (of an actor) of the specified type -It has two shortcuts, it can retrieve the actor from a component, and can get a string (instead of the output of ue.find_class('name')) with the class of the component --- ```py