void ImportTrail() { listPos = WriteFileUtil.ListFromJson <Vector3>("Assets/Json/test.json"); trail.Clear(); for (int i = 0; i < listPos.Count; i++) { } }
void ImportPositions() { listPos = WriteFileUtil.ListFromJson <Vector3>("Assets/Json/test.json"); player.position = listPos[listPos.Count - 1]; }