结构大修改,改成朴实无华的结构,不过度架构。能跑就行
This commit is contained in:
@@ -92,11 +92,11 @@ namespace NBF
|
||||
|
||||
private void SetList()
|
||||
{
|
||||
var role = App.Main.GetComponent<Role>();
|
||||
var roleBag = role.GetComponent<RoleBag>();
|
||||
// var role = Game.Main.GetComponent<Role>();
|
||||
// var roleBag = role.GetComponent<RoleBag>();
|
||||
|
||||
List<object> items = roleBag.GetItemListData();
|
||||
List.SetListData(items);
|
||||
// List<object> items = roleBag.GetItemListData();
|
||||
// List.SetListData(items);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user