void Start()
    {
        lastPos = transform.position;

        if (footPrintsPrefab != null)
        {
            footPrints = Instantiate(footPrintsPrefab, Vector3.zero, Quaternion.identity, null);
        }
    }
示例#2
0
        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);
        }