修改TreeViewPanel后提交
This commit is contained in:
parent
0176b452ae
commit
ca656cc960
@ -6,7 +6,7 @@ using System.Xml.Serialization;
|
||||
|
||||
namespace SuperTreeView
|
||||
{
|
||||
public class ItemPrefab1 : MonoBehaviour,IPointerEnterHandler,IPointerExitHandler
|
||||
public class ItemPrefab1 : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler
|
||||
{
|
||||
public Button mExpandBtn;
|
||||
public Button mClickBtn;
|
||||
@ -40,7 +40,7 @@ namespace SuperTreeView
|
||||
item.DoExpandOrCollapse();
|
||||
}
|
||||
|
||||
public void SetItemInfo(string labelTxt,string data)
|
||||
public void SetItemInfo(string labelTxt, string data)
|
||||
{
|
||||
TextName.text = labelTxt;
|
||||
TextName2.text = labelTxt;
|
||||
|
||||
@ -5,13 +5,13 @@ using UnityEngine.EventSystems;
|
||||
|
||||
namespace SuperTreeView
|
||||
{
|
||||
public class ItemPrefab2 : MonoBehaviour,IPointerEnterHandler,IPointerExitHandler
|
||||
public class ItemPrefab2 : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler
|
||||
{
|
||||
public Button mClickBtn;
|
||||
public TextMeshProUGUI TextName;
|
||||
public TextMeshProUGUI TextHover;
|
||||
public TextMeshProUGUI TextSelect;
|
||||
public TextMeshProUGUI TextLock;
|
||||
public GameObject TextLock;
|
||||
public TextMeshProUGUI TextHoverLock;
|
||||
string mData = "";
|
||||
|
||||
@ -43,7 +43,7 @@ namespace SuperTreeView
|
||||
TextName.text = labelTxt;
|
||||
TextHover.text = labelTxt;
|
||||
TextSelect.text = labelTxt;
|
||||
TextLock.text = labelTxt;
|
||||
//TextLock.text = labelTxt;
|
||||
TextHoverLock.text = labelTxt;
|
||||
mData = data;
|
||||
}
|
||||
|
||||
2400
Assets/TreeViewPanel.prefab
Normal file
2400
Assets/TreeViewPanel.prefab
Normal file
File diff suppressed because it is too large
Load Diff
7
Assets/TreeViewPanel.prefab.meta
Normal file
7
Assets/TreeViewPanel.prefab.meta
Normal file
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 72ccceef08e4bb94e88119b50dc32090
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user