In Unity3d, I personally think the best solution is to connect with objects. For example, click a button to display a 2D UI, and then
Read item-Related Information Based on Data configuration. Using NGUI to implement a backpack, you can also use NGUI to distribute events to the system, and use NGUITools to send broadcasts to the Root section.
Point: add the entry to a UIScrollView. The advantage is that the backpack can be displayed on the screen to facilitate UI creation. In addition, the backpack is a type
Features frequently used in games are stored in the memory on the main interface.
A. Write a class to indicate the unique expression of the current backpack Lattice
Public void policybagitem () {if (! String. IsNullOrEmpty (item1) NGUITools. Broadcast ("OnBagItemClick", item1 );}
B. The purpose of the marker is to click the check box to determine whether there are items in the current check box.
Using this idea to write a backpack, the disadvantage is that the backpack lattice must be limited, and the logic of the backpack lattice has not been determined yet.
There is no good solution for tomorrow's holiday, but I want to use NGUI to implement it.
:)