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.
entityThe entity to check
boolean YaPlayableAPI.ContainsPlayable(YaEntity containerEntity, string playableName)¶
Returnsboolean
Checks if an entity contains a specific Playable
containerEntityThe entity to checkplayableNameThe name of the Playable