Hi There,
I'm collecting information about two Spheres and then rendering a Cylinder but this code gives errors. Why is that, thanks.
function Update () {
if
(PlayerPrefs.GetInt("Sphere1", 1) && (PlayerPrefs.GetInt("Sphere2", 1)))
{
GameObject.Find("Cylinder1").renderer.enabled = true;
}
}
↧