Big stupid refactor of spawning almost done

This commit is contained in:
Michal Pikulski
2025-12-17 18:51:33 +01:00
parent 7a598c302c
commit 867399c838
32 changed files with 1450 additions and 403 deletions

View File

@@ -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)
{