void Start() { lastPos = transform.position; if (footPrintsPrefab != null) { footPrints = Instantiate(footPrintsPrefab, Vector3.zero, Quaternion.identity, null); } }
private void ParseFplist(StreamReader reader) { do { String line = reader.ReadLine(); if (line.StartsWith("#")) { continue; } //String[] items = line.Split(' '); if (line.Trim() == "$ENDFPLIST") { break; } FootPrints.Add(line); } while (true); }