PixelSphinx/Assets/SpawnAsteroids.cs
2016-04-08 01:25:19 -04:00

20 lines
317 B
C#

using UnityEngine;
using System.Collections;
public class SpawnAsteroids : MonoBehaviour {
public bool doSpawn;
// Use this for initialization
void Start () {
doSpawn = true;
InvokeRepeating("LaunchProjectile", 0, 0.4F);
}
// Update is called once per frame
void Update () {
}
}