Changes
New UI Components
-
Add
UIPickupItemList
andUIPickupItemManager
to show dropped items nearby character and show as list and allow player to select item to pick it up.
Bugs Fixes
- Fix duplicating item when enhance socket items.
-
Fix
UIStorageItems
's generated item UIs not deselected whenuiItemDialog
hidden. -
Fix
CharacterAlignOnGround
not working correctly. -
Fix invalid
AmmoItem
create menu and its item type. -
Fix
UIOwningAmmoAmount
not register events correctly.
Improvements
-
Update
MySqlConnector
to version1.0
, it have an breaking changes and have to changes namespace toMySqlConnector
. So developer have to updateFacebookAuth
orGooglePlayAuth
packages. -
Make it don't change item's title text color if
ItemRefine
->titleColor
's alpha is 0. -
Use
GetOrAddComponent
(fromGenericUtils
class) to codes like:var comp = GetComponent<Comp>(); if (!comp) comp = gameObject.AddComponent<Comp>();
- Improve find ground function for drop item and spawn entities.
-
Remove events registration from
UISceneGameplay
, it will add anUIOwning...
to UI component to register events. -
Move events registration codes from
UIOwningStorageItems
toUIStorageItems
class and also removeUIOwningStorageItems
. -
Move dealing events registration codes from
UISceneGameplay
toUIDealing
class. -
Move item update events registration codes from
UISceneGameplay
toUIDismantleItem
,UIEnhanceSocketItem
,UIRefineItem
andUIRepairItem
class. -
Move events registration codes from
UISceneGameplay
toUIDealing
class. -
Move events registration codes from
UISceneGameplay
toUIDealing
class. -
Add
LifeTime
settings toBuildingEntity
, building will be destroyed automatically by its life time. If it's <= 0, it's no limit life time.
Note
- Next version I will use Unity version 2019.4.5f1. I want to use its new prefab features to remake demo UIs. And also want to remake input system by using new Unity's input system.