diff --git a/Game 1/Assets/Scripts/Explosion.cs b/Game 1/Assets/Scripts/Explosion.cs new file mode 100644 index 0000000..c7047df --- /dev/null +++ b/Game 1/Assets/Scripts/Explosion.cs @@ -0,0 +1,16 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class Explosion : MonoBehaviour { + + // Use this for initialization + void Start () { + + } + + // Update is called once per frame + void Update () { + + } +} diff --git a/Game 1/Assets/Scripts/Explosion.cs.meta b/Game 1/Assets/Scripts/Explosion.cs.meta new file mode 100644 index 0000000..655dfaf --- /dev/null +++ b/Game 1/Assets/Scripts/Explosion.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 93cb9d08b2b4f164d95fa992385774e9 +timeCreated: 1504641875 +licenseType: Free +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Game 1/Assets/Scripts/PlayerController.cs b/Game 1/Assets/Scripts/PlayerController.cs index 54e2dbd..b874572 100644 --- a/Game 1/Assets/Scripts/PlayerController.cs +++ b/Game 1/Assets/Scripts/PlayerController.cs @@ -25,7 +25,7 @@ public class PlayerController : MonoBehaviour { if (Input.GetMouseButtonDown(0)) { - explode.Play(); + //explode.Play; Debug.Log("Explosion at: " + Input.mousePosition); }