mirror of
https://github.com/ConjureETS/PixelSphinx.git
synced 2026-03-24 02:20:58 +00:00
20 lines
317 B
C#
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 () {
|
|
|
|
}
|
|
}
|