Remake some points in scenes
This commit is contained in:
@@ -110,7 +110,7 @@ public class ObjectManager : MonoBehaviour
|
||||
playerManager = other.gameObject.GetComponent<PlayerManager>();
|
||||
meshRenderer.materials[0].EnableKeyword("_EMISSION");
|
||||
meshRenderer.materials[0].SetColor("_EmissionColor", new Color(0.2735849f, 0.2018939f, 0.09162514f) * 0.8f);
|
||||
meshRenderer.materials[1].SetFloat("_Outline", 0.25f);
|
||||
meshRenderer.materials[1].SetFloat("_Outline", 2.5f);
|
||||
interact = true;
|
||||
}
|
||||
|
||||
|
@@ -67,7 +67,7 @@ public class PlayerManager : MonoBehaviour
|
||||
if (Input.GetKeyDown(KeyCode.Escape))
|
||||
{
|
||||
DataManager.Level(SceneManager.GetActiveScene().buildIndex);
|
||||
SceneManager.LoadScene(4);
|
||||
SceneManager.LoadScene(5);
|
||||
}
|
||||
if (actualHealth <= 0 || gameObject.transform.position.y < -400.0f)
|
||||
{
|
||||
|
Reference in New Issue
Block a user