From 8f8c5b5fb44db3f84ad05d1edca679fb485307d9 Mon Sep 17 00:00:00 2001 From: ALoTron <34157676+ALoTron@users.noreply.github.com> Date: Sat, 21 Apr 2018 16:20:38 +0200 Subject: [PATCH] Added Collectable --- Assets/Scripts/Entities/Collectable.cs | 7 +++++++ Assets/Scripts/Entities/Collectable.cs.meta | 11 +++++++++++ Assets/Scripts/Entities/Entity.cs | 2 +- 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 Assets/Scripts/Entities/Collectable.cs create mode 100644 Assets/Scripts/Entities/Collectable.cs.meta diff --git a/Assets/Scripts/Entities/Collectable.cs b/Assets/Scripts/Entities/Collectable.cs new file mode 100644 index 0000000..4e41d0e --- /dev/null +++ b/Assets/Scripts/Entities/Collectable.cs @@ -0,0 +1,7 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class Collectable : Entity{ + +} diff --git a/Assets/Scripts/Entities/Collectable.cs.meta b/Assets/Scripts/Entities/Collectable.cs.meta new file mode 100644 index 0000000..d1a99e5 --- /dev/null +++ b/Assets/Scripts/Entities/Collectable.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: a1c36145cdffcde4c83f575b19b85c88 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Entities/Entity.cs b/Assets/Scripts/Entities/Entity.cs index 6e2a9e7..f640f49 100644 --- a/Assets/Scripts/Entities/Entity.cs +++ b/Assets/Scripts/Entities/Entity.cs @@ -2,7 +2,7 @@ using System.Collections.Generic; using UnityEngine; -public class Entity { +public abstract class Entity { EntityObjective referringObjective; GameObject entityPrefab; GameObject instance;