Umänderungen, Packages installiert

This commit is contained in:
2026-03-17 11:32:06 +01:00
parent 0660162c86
commit 5647695bb0
93 changed files with 6937 additions and 200 deletions

View File

@@ -1,4 +1,5 @@
using System.Collections;
using NUnit.Framework;
using UnityEngine;
public class SilvScript : MonoBehaviour
@@ -66,15 +67,32 @@ public class SilvScript : MonoBehaviour
StartStuff();
}
float stickAround = 0;
void Update()
{
if (silvKill == true)
{
stickAround += Time.deltaTime;
if (stickAround >= 2f)
{
Silv.transform.position = SPBack.transform.position;
stickAround = 0f;
silvKill = false;
}
}
}
public void HitPlayer()
{
healthScript.GetHit();
audio.PlaySFX(audio.silvHit);
fie.fieKill = false;
hai.haiKill = false;
silvKill = true;
}
public void StartStuff()
@@ -182,10 +200,6 @@ public class SilvScript : MonoBehaviour
HitPlayer();
//StateOne();
fie.fieKill = false;
hai.haiKill = false;
silvKill = true;
stickAround += Time.deltaTime;
if (stickAround >= 2f)
{