Untitled

mail@pastecode.io avatar
unknown
plain_text
8 months ago
431 B
3
Indexable
Never
public GameObject[] puyo2;
    int puyotypeIndex;
    private int dropSet;
    private int preDropSet;
    public PuyoScript puyoScript;

    void Start()
    {

    }


    void Update()
    {
        if (puyoScript.Spawn == true)
        {
            Instantiate(puyo2[puyotypeIndex], new Vector2(-7.5f, 2f), puyo2[puyotypeIndex].transform.rotation);
            puyoScript.Spawn = false;
        }

    }
}
Leave a Comment