Skip to content

v0.2.1

Latest
Compare
Choose a tag to compare
@damzobridge damzobridge released this 13 Nov 17:42
· 105 commits to main since this release

Added

  • Runtime Asset Swapping (Docs)
  • Layout support (Docs)

Breaking Changes

  • Renamed EmbeddedAsset to OutOfBandAsset.

    • FontAsset is now FontOutOfBandAsset
    • ImageAsset is now ImageOutOfBandAsset
    • AudioAsset is now AudioOutOfBandAsset
  • The Bytes property on the Asset scriptable object is now accessible through a getter instead of a field.

  • Enforced PascalCase formatting for EmbeddedAssetType enum for consistency.

  • Enforced PascalCase formatting for Fit enum for consistency. For example, Fit.contain is now Fit.Contain

  • The API for loading from bytes has changed from:

    public static File Load(string name, byte[] contents, int id, Asset asset = null)

    to :

    public static File Load(byte[] riveFileByteContents, int cacheId)