Skip to content

YaPlayableAPI

YaPlayableAPI manages Playables. Playables are animation and audio resources that are contained in an entity and can be played with their corresponding components.

Functions

boolean YaPlayableAPI.IsPlayableContainer(YaEntity entity)

Returnsboolean
Checks if an entity contains any Playables.
  • entity The entity to check

boolean YaPlayableAPI.ContainsPlayable(YaEntity containerEntity, string playableName)

Returnsboolean
Checks if an entity contains a specific Playable
  • containerEntity The entity to check
  • playableName The name of the Playable