//ClickMove - - 通过鼠标点击控制物体移动 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.AI; // include NavMeshAgent public class ClickMove : MonoBehaviour { public NavMeshAgent player; //获取动画组件 //public Animator
在页面初始化加载以下readOnlyPage()方法,可实现所有元素只读,方便实用. <script language="javascript"> function readOnlyPage(){ elements = document.all; for ( var i = 0; i < elements.length; i++) { setReadonlyOfElement(elements[i]); } } function setReadonlyOfElemen