Skip to content

Commit

Permalink
#610 make "static until" scripts only once per game object
Browse files Browse the repository at this point in the history
  • Loading branch information
shieldgenerator7 committed Sep 12, 2024
1 parent d0d8e90 commit 04d939e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Assets/Scripts/Mechanics/StaticUntilTouched.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using System.Collections.Generic;
using UnityEngine;

[DisallowMultipleComponent]
public class StaticUntilTouched : SavableMonoBehaviour, IBlastable
{
[SerializeField]
Expand Down
1 change: 1 addition & 0 deletions Assets/Scripts/StaticUntilSwapped.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using System.Collections.Generic;
using UnityEngine;

[DisallowMultipleComponent]
public class StaticUntilSwapped : SavableMonoBehaviour, ISwappable
{
[SerializeField]
Expand Down

0 comments on commit 04d939e

Please sign in to comment.