using System.Collections; using System.Collections.Generic; using UnityEngine; using static BaseConf; public class InsertAndUnplug : MonoBehaviour { public Conf2 conf2; public Vector3 startPos_local; public Vector3 startRot_local; /// /// 是否为初始状态 /// public bool isStart = true; /// /// 是否在运动 /// public bool isMove = false; //public Color color_open; //public Color color_close; // Start is called before the first frame update void Start() { if (GetComponent()) conf2 = GetComponent().conf2; startPos_local = transform.localPosition; startRot_local = transform.localEulerAngles; } // Update is called once per frame void Update() { } }