removed tool script stuff
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
using Godot;
|
using Godot;
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
[Tool]
|
|
||||||
public partial class Spawner : Node3D
|
public partial class Spawner : Node3D
|
||||||
{
|
{
|
||||||
[Export(PropertyHint.NodeType)]
|
[Export(PropertyHint.NodeType)]
|
||||||
@@ -22,7 +21,7 @@ public partial class Spawner : Node3D
|
|||||||
|
|
||||||
public override void _Ready()
|
public override void _Ready()
|
||||||
{
|
{
|
||||||
_isActive = IsActiveOnStart && !Engine.IsEditorHint(); // Keep it inactive in Editor
|
_isActive = IsActiveOnStart;
|
||||||
_spawnTimer = SpawnInterval;
|
_spawnTimer = SpawnInterval;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user