Untitled
unknown
plain_text
2 years ago
431 B
9
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