Fixed output error ERROR: Script class can only be set together with base class name
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using Godot;
|
||||
using System;
|
||||
|
||||
namespace Babushka.scripts.CSharp.Common.Animation;
|
||||
|
||||
public partial class AnimationStarter : Node2D
|
||||
{
|
||||
@@ -21,4 +22,4 @@ public partial class AnimationStarter : Node2D
|
||||
_played = true;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -28,6 +28,7 @@ public partial class InteractionArea2D : Node2D
|
||||
|
||||
public override void _Ready()
|
||||
{
|
||||
|
||||
if (_useSprite && _useOutline)
|
||||
{
|
||||
try
|
||||
|
||||
@@ -6,7 +6,7 @@ namespace Babushka.scripts.CSharp.Common.Farming;
|
||||
[GlobalClass]
|
||||
public partial class FieldService2D : Node2D
|
||||
{
|
||||
[Export] private Dictionary<Vector2I, FieldBehaviour2D> fields = new Dictionary<Vector2I, FieldBehaviour2D>();
|
||||
[Export] private Dictionary<Vector2I, FieldBehaviour2D> fields;
|
||||
|
||||
[Export] private Area2D _allowedArea;
|
||||
|
||||
|
||||
@@ -5,7 +5,6 @@ using Babushka.scripts.CSharp.Common.Quest;
|
||||
|
||||
public partial class QuestMessagePopup : Control
|
||||
{
|
||||
|
||||
private Label Text => GetNode<Label>("Text");
|
||||
|
||||
private QuestResource? _currentlyShown;
|
||||
|
||||
@@ -11,6 +11,7 @@ public partial class SpriteSwitcher2D : Node2D
|
||||
[Export] private Sprite2D _inactiveSprite;
|
||||
[Export] private bool _active = false;
|
||||
|
||||
|
||||
public override void _Ready()
|
||||
{
|
||||
SetSprites();
|
||||
|
||||
Reference in New Issue
Block a user