Remake some points in scenes

This commit is contained in:
haitem
2021-01-31 17:54:00 +01:00
parent 0cfe588fb0
commit c829cbadfe
5 changed files with 622 additions and 49 deletions

View File

@@ -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;
}

View File

@@ -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)
{