Untitled
Anonymous
plain_text
02/12/2024 9:30 PM
576 B
21
Indexable
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;
}
}
}Editor is loading...
Leave a Comment