using System.Collections; using System.Collections.Generic; using UnityEngine; using ZXKFramework; public class MianTiaoJiDemo : MonoBehaviour { MoveObjManager move = new MoveObjManager(); void Start() { move.Init(transform, 1f, true); } private void Update() { if (Input.GetKeyDown(KeyCode.K)) move.Move(true); if (Input.GetKeyDown(KeyCode.L)) move.Move(false); if (Input.GetKeyDown(KeyCode.J)) move.Pause(); } }