有些效果substance物质的.然而,对房地产的材料可以不寻常Material方法调用,必须ProceduralMaterial打电话. using UnityEngine; using System.Collections; public class TestProceduralMaterial : MonoBehaviour { public GameObject TestCube; public Texture2D tex; public ProceduralMaterial mater
脚本作为组件挂在摄像机上即可,调用接口开关IsControlMove,控制是否启用: using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; public class CameraMove : MonoBehaviour { //public Transform target; public Vector3 target; priv