摘要:
可以添加事件的UI都可以这样添加事件监听using UnityEngine; using UnityEngine.UI; public class Test : MonoBehaviour { private Toggle toggle; void Awake() { toggle = toggleObj.GetC... 阅读全文
摘要:
地址:https://blog.csdn.net/wangmeiqiang/article/details/52495848 阅读全文
摘要:
Vector3 scale = m_BumpRobot.transform.localScale; scale.z = -4;//镜像翻转 x,y,z都可以 m_BumpRobot.transform.localScale = scale; 阅读全文
摘要:
在摄像机前挂一个Image,失活,当跳转场景时激活 并且上面挂Canvas Group 组件 image Color属性: 代码: 阅读全文