admin 管理员组文章数量: 887019
2024年1月12日发(作者:十进制转二进制批量工具)
case _SELECTED: ct(); break; case _ADDED: ct(); ers(); break; case _UPDATED: ct(); ers(); break; } }}using UnityEngine;using tions;using ns;using aces;using c;//更新UserForm部分public class UserFormMediator : Mediator, IMediator{ private UserProxy userProxy; public new const string NAME = "UserFormMediator"; private UserForm View { get { return (UserForm)ViewComponent; } } public UserFormMediator(UserForm viewComponent) : base(NAME, viewComponent) { ("UserFormMediator()"); r += UserForm_AddUser; User += UserForm_UpdateUser; User += UserForm_CancelUser; } public override void OnRegister() { ster(); userProxy = veProxy() as UserProxy; } void UserForm_AddUser() { UserVO user = ; m(user); SendNotification(_ADDED, user); orm(); } void UserForm_UpdateUser() { UserVO user = ; Item(user); SendNotification(_UPDATED, user); orm(); } void UserForm_CancelUser() { SendNotification(_SELECTED); orm(); }
public override IList
[SerializeField]Toggle toggle; [SerializeField]UGUI_MyToggleGroup myToggleGroup; void Start() { if (toggle == null) toggle = ponent
using tions;public class ToggleEvent : UnityEvent
版权声明:本文标题:PureMVC和Unity3D的UGUI制作一个简单的员工管理系统实例 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.freenas.com.cn/free/1705050246h471229.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论