:memo::fire:🔨
- removed a lot of unnecessary code - Made a minimal working version - Added documentation
This commit is contained in:
@@ -2,13 +2,9 @@ using Godot;
|
||||
|
||||
namespace Babushka.scripts.CSharp.Common.CharacterControls;
|
||||
|
||||
/// <summary>
|
||||
/// Used for identifying <see cref="InteractionArea2D"/> scenes when listening for area overlaps.
|
||||
/// </summary>
|
||||
public partial class DetectableInteractionArea : Area2D
|
||||
{
|
||||
[Export] private InteractionArea2D _interactionArea2D;
|
||||
|
||||
public void ActivateInteractionArea(bool activate)
|
||||
{
|
||||
_interactionArea2D.IsActive = activate;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user