Releases: pancake-llc/foundation
Releases · pancake-llc/foundation
3.1.5
Changed
-update: method convert position in canvas space to world space and vice versa
example convert canvas position to world position
public class WordAnchorUIObject : MonoBehaviour
{
[SerializeField, SceneObjectsOnly] private RectTransform anchor;
[SerializeField] private bool screenSpaceOverlay;
[SerializeField, ShowIf(nameof(screenSpaceOverlay)), Indent] private Camera cam;
private void OnEnable() { transform.position = anchor.ToWorldPosition(screenSpaceOverlay ? cam : null); }
}
example convert world position to canvas position
public class UIAnchorWorldObject : MonoBehaviour
{
[SerializeField, SceneObjectsOnly, InfoBox("GameObject Transform not UI RectTransform")]
private Transform anchor;
[SerializeField] private bool screenSpaceOverlay;
[SerializeField, ShowIf(nameof(screenSpaceOverlay)), Indent] private Camera cam;
private void OnEnable() { transform.position = anchor.ToUIPosition(screenSpaceOverlay ? cam : null); }
}
-fix: issue with dropdown in Any fields
-remove: AsyncProcessHandle
in remaining inside TrackChainSpineAnimation
and TrackChainSpineGraphic
-update: odin last version
-update: unity local notification package 2.4.0
-update: add button create into navigator setting for easy create SO
3.1.4
What's Changed
- Avoid Gc every frame when update text in loading
- Update UIEffect v5
- Fix
OnValidate
accessResources
when unity asset database not ready - Fix services could receive IUpdate callbacks more than once in the Editor after quit application
- Remove Routine and fully change use
UniTask
andAwaitable
when possible - Minimize GC overhead for play motion
UIButton
- Finder now support finding reference to built-in assets
- Use
destroyCancellationToken
instead for custom cancellation token inUIButton
- Synchonize api for
SharedGameObjectPool
- Fix clear audio pool when change scene
- Natigator now use
UniTask
instead forTask
- Update admob 9.4.0
- Remove AsyncProcessHandle
- Add shortcut Shift-R for open Mulligan Renamer
- Add low memory callback via
App.AddLowMemoryCallback
- Add ObservableList
- Fix error player aleady login when click button all time rank or weakly rank
- Update Google play game version 2.0.0
- Use Google External Dependency Manager from google upm
- Clean Marge: Adding
UnityNewInput
Support toPancake Input Modules
by @IAFahim in #146 - Replace Coroutine with Awaitable by @aprius in #147
- Update TouchWrapper.cs unwanted
New
Prefix by @IAFahim in #148 - add mvp by @aprius in #149
Full Changelog: 3.1.3...3.1.4
3.1.3
Changed
- update wiki pattern
- update odin lasest version
- make IDamageStrategy using for healthbar inherit form IStrategy<float, float>
- remove unnecessary while loop in method Request of SharedGameObjectPool
- add worldPositionStays for API request of pool to be similar to API Object.Instantiate
- add
SharedAssetReferencePool
andSharedAsyncAddressableGameObjectPool
public AssetReferenceGameObject prefab;
private async void Start()
{
var result = await prefab.RequestAsync();
}
for not using async method
public AssetReferenceGameObject prefab;
private async void Start()
{
var result = SharedAssetReferencePool.Request(prefab);
}
3.1.2
3.1.1
3.1.0
Changed
- Update searchable menu item
- Remove interface helper, using Odin
SerializedMonoBehaviour
instead - Remove gaussian distribution and geometry in common math
- Add color plate to customizing the default color palette for editor in
Uniform
- Add AIBrain
- Rework make
Sensor
easy to use - Mirror fix bug and update
Finder
fully support addressable and sprite atlas - Hide button create scriptable when declare type is abstract class
- Add
BoxDrawGizmo
andSphereDrawGizmo
support draw bound ofBoxCollider
andSphereCollider
viaGizmo
. They will be automatically removed during the build process. - Add
TagAttribute
draw by Odin - Using Unity 6000.0.24f1
- Update AppLovin 8.0.0 using scope registry
- Update Admob 9.2.1 and mediation, remove
AdColonyUnityAdapter
- Remove toggle DOTweenAdapter
- Add
DebugDraw
not use gizmos - Remove unity HFSM
- Add method extension
Removes
for list - Add simple State pattern
- Add simple Visitor pattern
- Add simple Strategy pattern
- Add simple Command pattern
- Add simple Observer pattern
- Add simple Decorator pattern
- Update use button to show debug instead native ui toolkit because in mobile hard to click to toggle header
- Update Wiki
- Update Inits (add GetAsync service)
- Update Custom Header system for component rename, added custom headers for the following built-in Unity components: Light, Renderer and SpriteRenderer
- Rollback using EventBus from version 2.x , rename EventBus to Messenger and remove pacakge VitalRouter. Messenger
- Update default sample
3.0.7
3.0.6
Changes
- Update support AppLovin 7.0.0
- Update use directly official adjust package since adjust 5.0 already include signature native inside
- Fix remote config not provide way access data
- Update support draw scriptable in dictionary serialized by Odin
- Fix empty data demo scene when switch to Odin
- Fixed error when dragging an Object into a Services component slot with an existing service type
3.0.4
Changes
- Update way embedding Init sections into the Inspector to better compatibility with Odin
- Assign directly icon for value provider and initializer (or via EditorIcon attribute) instead of using icon processor access default unity resources icon
- Improved error messages logged to inform about issues detected during service initialization.
- Update VitalRouter 1.4.3
3.0.3
Changed
- Add extension SafeDestroy GameObject
- Using Odin
- Update Finder to support addresable and lightmap, and cleanup
- Bugfix service in sample, confirm work in build
- Support Adjust 5.0.3 with new api
- Update UniTask
- Provide reason in IAPPurchaseFail Event
- Update Init