Quantcast
Channel: Questions in topic: "dontdestroyonload"
Viewing all articles
Browse latest Browse all 416

DontDestroyOnLoad issue with player.GetComponentInChildren().material.color

$
0
0
Hey Everyone, I have an issue. I have a gameobject (Sphere), which is meant to start off as black (rgb == 000) and through different levels progress towards white (rgb == 1,1,1). I am trying to save the rgb component of the GameObject as the player leaves a level and enters another level. right now, if the player's rgb == 1,0,0 for example, as I load the next level, it resets to rgb == 0,0,0.

Viewing all articles
Browse latest Browse all 416

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>