Releases: Deficuet/UnityKt
Releases · Deficuet/UnityKt
v0.1.0_alpha.13
- Rollback the change in the method
Sprite.getImage
, nowmRD.textureRect
is used to crop the image. - Rollback the mechanism used in
PPtr
which loads dependencies throughAssetBundle.mDependencies
- The property
assetRootFolder
is reserved for future use. For now it is unused
- The property
v0.1.0_alpha.12
- fix incorrect behavior when check file type
v0.1.0_alpha.11
- Added
debugOutput
, which is a function taking aString
as a parameter when initianlizing a newUnityAssetManager
instance. It is used to redirect the debug information; by default, it does nothing. Before this version the information was printed instdout
.- If you still want to use
stdout
, just pass::println
, like thisUnityAssetManager.new(..., debugOutput = ::println)
- If you still want to use
v0.1.0_alpha.10
- added method
getRawData
forTexture2D
to get compressed texture data inByteArray
- Two cropping strategies
SpriteCropStrategy.USE_TEXTURE_RECT
andUSE_RECT
are provided to determine which one of theSpriteRenderData.textureRect
andSprite.mRect
will be used to crop image.
v0.1.0_alpha.9
- Bumped
org.json
version - Removed 7z SDK, use Apache Common Compress instead
- Fixed the error occurs when dump/generate type tree for
Font
object (Font
object is still not available yet)
v0.1.0_alpha.8.1
Fix the incorrect behaviour of PPtr
because the mDependencies
of AssetBundle
object are not in the same order as the Serialized file externals have.
v0.1.0_alpha.7
Introduce Sprite.getTexture2D()
to get the parent texture.
v0.1.0_alpha.6
Now Sprite.getImage()
returns the image that has the same orientation as its parent Texture2D
.
v0.1.0_alpha.5
Move extension functions for pptr from .classes to .pptr package
v0.1.0_alpha.4
Check isNull
for PPtr
before attempting to get the object