12345678910111213141516171819202122232425262728 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using static XunJianDataManager;
- public class TestWallPoint : MonoBehaviour
- {
- public List<Transform> listPoint;
- public List<Vector3> listpos;
- private void Update()
- {
- if(Input.GetKeyDown(KeyCode.K))
- {
- listpos = new List<Vector3>();
- for (int i = 0; i < listPoint.Count; i++)
- {
- listpos.Add(listPoint[i].position);
- }
- }
- }
-
- }
|