7 lines
200 B
GDScript3
7 lines
200 B
GDScript3
|
|
extends Control
|
|||
|
|
class_name Playable
|
|||
|
|
|
|||
|
|
## Awaitable that encapsulates the core interaction with this Playable
|
|||
|
|
func play() -> void:
|
|||
|
|
await get_tree().process_frame # Dummy wait so this is a coroutine
|