Permalink
Showing
with
138 additions
and 6 deletions.
- BIN ShipShooter/Assets/Enemies/-Enemy2-RigidBody.prefab
- BIN ShipShooter/Assets/Enemies/Legosteroid_Enemy.prefab
- +8 −0 ShipShooter/Assets/Enemies/Legosteroid_Enemy.prefab.meta
- BIN ShipShooter/Assets/Legos/Legosteroid.prefab
- +8 −0 ShipShooter/Assets/Legos/Legosteroid.prefab.meta
- BIN ShipShooter/Assets/Scenes/GameScene.unity
- +1 −1 ShipShooter/Assets/Scripts/Enemy2.cs
- +9 −0 ShipShooter/Assets/Scripts/EnemySpawner.cs
- +45 −5 ShipShooter/Assets/Scripts/Legosteroid.cs
- +20 −0 ShipShooter/Assets/Scripts/LegosteroidSpawner.cs
- +12 −0 ShipShooter/Assets/Scripts/LegosteroidSpawner.cs.meta
- +19 −0 ShipShooter/Assets/Scripts/OnDestroy.cs
- +12 −0 ShipShooter/Assets/Scripts/OnDestroy.cs.meta
- BIN ShipShooter/Library/CurrentLayout.dwlt
- BIN ShipShooter/Library/ScriptAssemblies/Assembly-CSharp-Editor.dll.mdb
- BIN ShipShooter/Library/ScriptAssemblies/Assembly-CSharp.dll.mdb
- +2 −0 ShipShooter/Library/ScriptAssemblies/BuiltinAssemblies.stamp
- BIN ShipShooter/Library/assetDatabase3
- BIN ShipShooter/Library/expandedItems
- BIN ShipShooter/Library/metadata/00/00000000000000004000000000000000
- BIN ShipShooter/Library/metadata/3b/3b675e32b2714ae4c9cbd27c958fdee7
- BIN ShipShooter/Library/metadata/3b/3b675e32b2714ae4c9cbd27c958fdee7.info
- BIN ShipShooter/Library/metadata/59/5906a6a77aa99d442a84c7cffa7b6507
- BIN ShipShooter/Library/metadata/66/664b40cee94497647a1815c7bd525a6c
- BIN ShipShooter/Library/metadata/80/80e7573a34a1ac44b9aaffad33cbf596
- BIN ShipShooter/Library/metadata/80/80e7573a34a1ac44b9aaffad33cbf596.info
- BIN ShipShooter/Library/metadata/9e/9e9ee8d10a3b084429f83f15b563a14d
- BIN ShipShooter/Library/metadata/9e/9e9ee8d10a3b084429f83f15b563a14d.info
- BIN ShipShooter/Library/metadata/a1/a1b01409c659908498e47d4c104bc39c
- BIN ShipShooter/Library/metadata/a1/a1b01409c659908498e47d4c104bc39c.info
- BIN ShipShooter/Library/metadata/f7/f7772ef56e6010145ace7cd4ac93f07d
- +2 −0 ShipShooter/ShipShooter.CSharp.csproj
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,20 @@ | ||
using UnityEngine; | ||
using System.Collections; | ||
|
||
public class LegosteroidSpawner : MonoBehaviour { | ||
|
||
// Use this for initialization | ||
void Start () { | ||
|
||
} | ||
|
||
IEnumerator AsteroidSpawn() | ||
{ | ||
yield return new WaitForSeconds(0.2f); | ||
} | ||
|
||
// Update is called once per frame | ||
void Update () { | ||
|
||
} | ||
} |
@@ -0,0 +1,19 @@ | ||
using UnityEngine; | ||
using System.Collections; | ||
|
||
public class OnDestroy : MonoBehaviour { | ||
|
||
|
||
void OnCollisionEnter(Collision collision) | ||
{ | ||
if (collision.gameObject.tag == "Bullet") | ||
{ | ||
Destroy(gameObject); | ||
|
||
} | ||
} | ||
// Update is called once per frame | ||
void Update () { | ||
|
||
} | ||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,2 @@ | ||
0000.56264290.0000 | ||
0000.562642ae.0000 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.