Declaration
func Play(target PlayableOrPlayables, reset bool)
go
Parameters
Input
| Name | Type | Description |
|---|---|---|
| Target | PlayableOrListPlayable | target playable entity |
| Reset | Bool | Whether to replay |
| true: replay | ||
| false: continue playing |
Attempts to play the target entity, which must have a playable component
func Play(target PlayableOrPlayables, reset bool)
go
| Name | Type | Description |
|---|---|---|
| Target | PlayableOrListPlayable | target playable entity |
| Reset | Bool | Whether to replay |
| true: replay | ||
| false: continue playing |