Frequently in Unity you'll see OnMouseDown used to detect clicks on GameObjects. you can spawn as many objects of a prefab as you want in the scene.
確定! 回上一頁