Unity客户端架构-BaseDialog
来源:互联网 发布:数控机床模拟仿真软件 编辑:程序博客网 时间:2024/06/06 01:06
using UnityEngine;using System;public class BaseDialog { private string name; private UILabel title; private UILabel prompt; private GameObject container; protected DialogType _type; public string Name { get { return this.name; } set { this.name = value; } } public DialogType type { get { return this._type; } set { this._type = value; } } public GameObject Container { get { return this.container; } set { this.container = value; } } public void InitDialog(GameObject _container) { GameObject topobj = Util.Child(_container, "TopName"); if (topobj != null) { this.prompt = topobj.GetComponent<UILabel>(); } } protected void Open(GameObject container, string data) { this.container = container; this.InitDialog(container); if (!data.Equals(string.Empty) && this.title != null) { this.title.text = data; } } protected void Close() { }}
0 0
- Unity客户端架构-BaseDialog
- BaseDialog
- Unity客户端架构-Util
- Unity客户端架构-UIContainer
- Unity客户端架构-io
- Unity客户端架构-Resource
- Unity客户端架构-PanelManager
- Unity客户端架构-DialogManager
- Unity客户端架构-DialogInfo
- Unity客户端架构-DialogType
- Unity客户端架构-GlobalGenerator
- Unity客户端架构设计视频教程
- Unity游戏开发Photon Server之客户端架构
- unity客户端
- Unity架构??
- 客户端架构
- 客户端架构
- 14、BaseDialog的界面
- Unity客户端架构-DialogManager
- SPI总线的初步认识
- POJ 1042 Gone Fishing
- 关于xcode8.0 VVDocumenter无法使用的解决办法
- libGDX介绍
- Unity客户端架构-BaseDialog
- 数据结构中常见的树
- JavaScript面向对象笔记–对象和函数
- 高精度之除法模板
- 中秋节进度
- listview 定位位置
- 欧拉路——HDU 5883 (2016 ACM/ICPC Asia Regional Qingdao Online 1006)
- 按之字形顺序打印二叉树
- leetcode 32. Longest Valid Parentheses