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