We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aecb2d4 commit fa3f90aCopy full SHA for fa3f90a
1 file changed
docs/Animation_API.md
@@ -4,8 +4,11 @@
4
You can control animation blueprints variables and events easily:
5
6
```py
7
+
8
+from unreal_engine.classes import SkeletalMeshComponent
9
10
# get a reference to the skeletal mesh
-skeletal = self.uobject.get_component_by_type('SkeletalMeshComponent')
11
+skeletal = self.uobject.get_component_by_type(SkeletalMeshComponent)
12
# get a reference to the animation class
13
animation = skeletal.get_anim_instance()
14
0 commit comments