AZhan
AZhan
When replacing `textures` or modifying `regions`, the `sprite` size should be updated. Before: ``` sprite.texture = oldTexture; // sprite.region = oldRegion; console.log('old width', sprite.width); sprite.texture = newTexture; // sprite.region =...
- When loading `Sprites`, get them from the `SpriteAtlas` first. - Discard `_assetID` attribute. - Add export options.(`mipmap`, `wrapModeV`, `wrapModeU`, `filterMode`, `anisoLevel`)
- Optimization code. - Support for multiple pointers.
示例:在 Chrome 和 FireFox 中分别监听 PointerDown 事件 ``` window.onpointerdown = (e)=>{console.log('e', e.offsetX);setTimeout(()=>{console.log('e', e.offsetX)}, 0);} ``` Chrome:  FireFox: 
图示为左手坐标系,Oasis 的世界坐标系为右手坐标系,这里需要换图或者加一下说明。 https://oasisengine.cn/0.8/docs/physics-manager-cn#%E4%BD%BF%E7%94%A8%E5%B0%84%E7%BA%BF%E6%A3%80%E6%B5%8B 
verseion: ^1.1.0 - Duplicate existence in `@galacean/engine` `@galacean/engine-physics-physx` and `@galacean/engine-physics-lite` - `DisorderedArray` in `@galacean/engine-physics-physx` and `@galacean/engine-physics-lite` still have bugs Fired when entity is removed in collision callback. 
Many times, developers need to know the result in the callback at which interaction occurs.
Support for various modes(Simple, tiled, sliced)