font added, sound rearranged

This commit is contained in:
2024-04-09 13:01:56 +01:00
parent 58f4c1b88f
commit 864e873e9c
17 changed files with 4946 additions and 21450 deletions

View File

@@ -18,7 +18,7 @@ public class AudioManager : MonoBehaviour
private void Start()
{
//StartSoundtrack();
StartSoundtrack();
Time.timeScale = .75f;
}

View File

@@ -35,7 +35,7 @@ public class BodyManager : MonoBehaviour
private Body CreateBody()
{
Vector3 spawnPos = this.transform.position;
Vector3 spawnPos = new Vector3(this.transform.position.x + Random.Range(-0.5f, 0.5f), this.transform.position.y, this.transform.position.z + Random.Range(-0.5f, .5f));
Body body = Instantiate(m_Rigidbody, spawnPos, new Quaternion(Random.Range(0, 180), Random.Range(0, 180), Random.Range(0, 180), Random.Range(0, 180)), m_Parent);
body.m_Pelvis.gameObject.GetComponent<Rigidbody>().AddForce(new Vector3(1, 1, 1));
m_PelvisPosition = body.m_Pelvis.position;

View File

@@ -102,7 +102,7 @@ public class SubtitleManager : MonoBehaviour
//{
// index++;
// m_Text.text += c;
// float randomInterval = Random.Range(0, 0f);
// float randomInterval = Random.Range(0.02f, 0.06f);
// yield return new WaitForSecondsRealtime(randomInterval);
// m_TimeElapsed += randomInterval;