标签:
1.新建Buttom
2.panel里面加下拉buttom
using UnityEngine; using System.Collections; public class DropDownList : MonoBehaviour { public GameObject panel; void Start () { panel.SetActive (false); }
public void HideOrShow() { panel.SetActive (!panel.activeSelf); } }
http://www.unity.5helpyou.com/2647.html
ugui无法在android父类对齐:
xxx.transform.GetComponent<RectTransform>().localPosition = Vector3.zero;
标签:
原文地址:http://www.cnblogs.com/nnnnn/p/4578897.html