ft (Wip): FSM behaviour prey
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
extends SpawnManager2D
|
||||
|
||||
@export var cam: Camera2D
|
||||
#@export var cam: Camera2D
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
spawnRange = cam.get_viewport_rect()
|
||||
spawnRange = GameManager.extent
|
||||
#spawnRange = cam.get_viewport_rect()
|
||||
_spawn_minimum()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user