From 513f8f4a82e2e6a9fbd5368344e4f4e838b36bc0 Mon Sep 17 00:00:00 2001 From: Roberto De Ioris Date: Thu, 9 Aug 2018 09:39:09 +0200 Subject: [PATCH] Update uobject_API.md --- docs/uobject_API.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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