Declaración
func Play(target PlayableOrPlayables, reset bool)
go
Parámetros
Entrada
Nombre | Tipo | Descripción |
---|---|---|
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
Nombre | Tipo | Descripción |
---|---|---|
Target | PlayableOrListPlayable | target playable entity |
Reset | Bool | Whether to replay |
true: replay | ||
false: continue playing |