Big stupid refactor of spawning almost done
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using UnityEngine;
|
||||
using UnityEditor;
|
||||
using AppleHillsCamera;
|
||||
using Minigames.BirdPooper;
|
||||
|
||||
namespace Editor
|
||||
{
|
||||
@@ -16,7 +17,7 @@ namespace Editor
|
||||
EdgeAnchor edgeAnchor = (EdgeAnchor)target;
|
||||
|
||||
// Check if there's an Obstacle component on the same GameObject
|
||||
var obstacle = edgeAnchor.GetComponent<Minigames.BirdPooper.Obstacle>();
|
||||
var obstacle = edgeAnchor.GetComponent<Obstacle>();
|
||||
|
||||
if (obstacle != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user