Rework interactables into a flatter hierarchy, reenable puzzles as well
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
using System.IO;
|
||||
using Interactions;
|
||||
using PuzzleS;
|
||||
|
||||
namespace Editor
|
||||
{
|
||||
@@ -121,13 +123,9 @@ namespace Editor
|
||||
var pickup = go.AddComponent<Pickup>();
|
||||
pickup.itemData = _pickupData;
|
||||
}
|
||||
if (_addCombineWith)
|
||||
{
|
||||
go.AddComponent<CombineWithBehavior>();
|
||||
}
|
||||
if (_addSlot)
|
||||
{
|
||||
go.AddComponent<SlotItemBehavior>();
|
||||
go.AddComponent<ItemSlot>();
|
||||
}
|
||||
if (_addObjective)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user