Made apples be able to spawn
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Fruitomation.Global;
|
||||
using PashaBibko.Pacore.Attributes;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Fruitomation.Game.Items
|
||||
@@ -14,7 +15,8 @@ namespace Fruitomation.Game.Items
|
||||
private CustomItemBehaviour CustomBehaviour;
|
||||
private GameObject CurrentChild;
|
||||
|
||||
private ItemType InternalItemType;
|
||||
[SerializeField, InspectorReadOnly("Item Type")]
|
||||
private ItemType InternalItemType = ItemType.None;
|
||||
|
||||
public ItemType CurrentType
|
||||
{
|
||||
|
||||
@@ -12,6 +12,8 @@ namespace Fruitomation.Game.Items
|
||||
|
||||
[Serializable] public enum ItemType
|
||||
{
|
||||
None,
|
||||
|
||||
Apple,
|
||||
Grape,
|
||||
Banana,
|
||||
|
||||
Reference in New Issue
Block a user