Skip to content

Commit 513f8f4

Browse files
author
Roberto De Ioris
authored
Update uobject_API.md
1 parent fa3f90a commit 513f8f4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/uobject_API.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,14 +200,13 @@ return True if the actor has a component of the specified type
200200

201201
---
202202
```py
203-
yesno = uobject.get_actor_component_by_type(uclass)
203+
component = uobject.get_actor_component_by_type(uclass)
204204
# alias
205-
yesno = uobject.get_component_by_type(uclass)
205+
component = uobject.get_component_by_type(uclass)
206206
```
207207

208208
return the first component (of an actor) of the specified type
209209

210-
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
211210

212211
---
213212
```py

0 commit comments

Comments
 (0)