font added, sound rearranged
This commit is contained in:
@@ -18,7 +18,7 @@ public class AudioManager : MonoBehaviour
|
||||
|
||||
private void Start()
|
||||
{
|
||||
//StartSoundtrack();
|
||||
StartSoundtrack();
|
||||
Time.timeScale = .75f;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user