tutorial scene

This commit is contained in:
cemt1363
2026-06-07 04:01:18 +02:00
parent 3cd0dc032d
commit a42d258ba2
6 changed files with 273 additions and 1 deletions
+10 -1
View File
@@ -15,6 +15,8 @@ public class WindManager : MonoBehaviour
public float CurrentWindForce { get; private set; }
private bool windStarted = false;
void Awake()
{
Instance = this;
@@ -26,8 +28,15 @@ public class WindManager : MonoBehaviour
{
effect.SetActive(false);
}
}
StartCoroutine(WindRoutine());
void Update()
{
if (!windStarted && Input.anyKeyDown)
{
windStarted = true;
StartCoroutine(WindRoutine());
}
}
IEnumerator WindRoutine()