mirror of
https://github.com/DerTyp7/grow-ai-unity.git
synced 2025-10-30 12:57:09 +01:00
a
This commit is contained in:
@@ -14,6 +14,7 @@ public abstract class PlacedObject : MonoBehaviour
|
||||
placedObject.origin = origin;
|
||||
|
||||
placedObject.OnPlace();
|
||||
placedObject.isBlueprint = false;
|
||||
|
||||
if (placedObjectTypeSO.isWalkable)
|
||||
{
|
||||
@@ -30,6 +31,7 @@ public abstract class PlacedObject : MonoBehaviour
|
||||
PlacedObjectTypeSO placedObjectTypeSO;
|
||||
Vector2Int origin;
|
||||
|
||||
public bool isBlueprint = true;
|
||||
public abstract void OnPlace();
|
||||
|
||||
public List<Vector2Int> GetGridPositionList()
|
||||
|
||||
Reference in New Issue
Block a user