Exemplo n.º 1
0
    void Start()
    {
        squiggleAudio   = GetComponent <SquiggleAudio>();
        squiggleManager = transform.parent.GetComponent <SquiggleManager>();

        Vector3 position = FindStartingPoint();

        path = new PolylinePath();
        path.AddPoint(position.x, position.y);
        points.Add(position);
        deltas.Add(Vector3.zero);

        StartCoroutine(DrawLine());
    }
 void Start()
 {
     squiggleManager = GetComponent <SquiggleManager>();
 }