minor bug fixes, settings menu fixed, tutorial fixes

This commit is contained in:
2023-05-18 00:08:40 -04:00
parent 7f2dc9d2e3
commit 461a297e12
17 changed files with 629 additions and 534 deletions

View File

@ -28,8 +28,7 @@ public class SkinlessMonsterAnimator : MonoBehaviour
private float fastDeathduration = 1f;
[SerializeField]
private float deathDuration = 5f;
[SerializeField]
private string deathAnimationName = "PainScream";
// Start is called before the first frame update
@ -123,7 +122,7 @@ public class SkinlessMonsterAnimator : MonoBehaviour
{
//animator.speed = 0;
InLight();
//animator.Play(this.deathAnimationName);
isAlive = false;
foreach(GameObject obj in this.objectsThatFallOnDeath)

View File

@ -44,7 +44,7 @@ public class SkinlessMonsterComponent : MonoBehaviour
private float timeSinceTarget = 0f;
private InGameManager manager;
private bool prePauseStoppedState = false;
//private bool prePauseStoppedState = false;
[SerializeField]
private BoxCollider leftHandDamage;

View File

@ -13,8 +13,8 @@ public class SwarmAnimator : MonoBehaviour
private Vector3 previousPosition;
[SerializeField]
private Rigidbody rb;
[SerializeField]
private string parameterName = "DeltaVector";
//[SerializeField]
//private string parameterName = "DeltaVector";
[SerializeField]
private Vector3 avoidancePosDefault;