Skip to content

Releases: pancake-llc/foundation

3.1.5

07 Dec 09:57
Compare
Choose a tag to compare

Changed

-update: method convert position in canvas space to world space and vice versa

example convert canvas position to world position

WordAnchorUIObject.cs

    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

UIAnchorWorldObject.cs

    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

22 Nov 11:23
Compare
Choose a tag to compare

What's Changed

  • Avoid Gc every frame when update text in loading
  • Update UIEffect v5
  • Fix OnValidate access Resources 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 and Awaitable 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 in UIButton
  • Synchonize api for SharedGameObjectPool
  • Fix clear audio pool when change scene
  • Natigator now use UniTask instead for Task
  • 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 to Pancake 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

11 Nov 05:36
Compare
Choose a tag to compare

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 and SharedAsyncAddressableGameObjectPool
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

04 Nov 13:22
Compare
Choose a tag to compare

Changed

  • Add wiki Performance Guide
  • Add wiki Benchmark
  • Fix wrong syntax use enum EStartupMode for Spine
  • Add method extension Adds replace for AddRange of List
  • Add method PrewarmAsync for SharedGameObjectPool and GameObjectPool using InstantiateAsync API

3.1.1

01 Nov 14:07
Compare
Choose a tag to compare

Changes

  • Fix correct unity scripting symbols for unity 6000

3.1.0

30 Oct 13:50
Compare
Choose a tag to compare

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 and SphereDrawGizmo support draw bound of BoxCollider and SphereCollider via Gizmo. 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

10 Oct 06:46
Compare
Choose a tag to compare

Changes

  • Fix button create scriptable object not detect type correctly in dictionary (as a value)

3.0.6

08 Oct 04:12
Compare
Choose a tag to compare

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

06 Oct 15:31
Compare
Choose a tag to compare

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

04 Oct 11:02
Compare
Choose a tag to compare

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