c# string 转 int
string number = this.gameObject.GetComponent<UIInput>().label.text;
int a;
if(int.TryParse(number, out a)){
}
@"一些字符" 前+@不会进行转义
unity3d prefab不能携带从面板拖拽(五笔rjx)的Object
string number = this.gameObject.GetComponent<UIInput>().label.text;
int a;
if(int.TryParse(number, out a)){
}
@"一些字符" 前+@不会进行转义
unity3d prefab不能携带从面板拖拽(五笔rjx)的Object