StarAnimation

This commit is contained in:
brausjonas
2023-02-27 18:25:58 +01:00
parent 14b4a280b0
commit 707646fa1c
16 changed files with 440 additions and 41 deletions
+2 -1
View File
@@ -9,7 +9,7 @@ public class Star : MonoBehaviour
private StarController starController;
private int cost = 20;
[SerializeField] private GameObject starObject;
[SerializeField] private GameObject starObject, starObject2;
public int Cost
{
@@ -29,6 +29,7 @@ public class Star : MonoBehaviour
{
isActive = value;
starObject.SetActive(value);
starObject2.SetActive(value);
}
}