码迷,mamicode.com
首页 > 其他好文 > 详细

字体发送

时间:2014-11-27 14:11:49      阅读:151      评论:0      收藏:0      [点我收藏+]

标签:style   blog   io   ar   color   sp   for   on   div   

using UnityEngine;
using System.Collections;

public class CommonUsewords : MonoBehaviour {
   // private UIInput input;
    private GameObject mlabel;

  // private GameObject mlabel;
    void Start () {
        mlabel = GameObject.Find("GameUI/DlgChat/DlgBg/input/Label");
                
        
    }
    
    
    void Update () {
    
    }
    void Awake()
    {
      //  input = this.GetComponent<UIInput>();
        
    }
    void OnClick()
    {
       // mlabel = input.GetComponent <UILabel>()
       // mlabel = GameObject.Find("GameUI/DlgChat/DlgBg/input/privateMark");
       mlabel.GetComponent<UILabel>().text =this.transform.GetComponentInChildren<UILabel>().text;


    }
}

 

字体发送

标签:style   blog   io   ar   color   sp   for   on   div   

原文地址:http://www.cnblogs.com/heisaijuzhen/p/4126176.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!