Answer by Mike 3
Use a static variable for anything you want persisted like that - then it belongs to the class as a whole, not the instancee.g.static var score : float = 0;will persist the score for all versions of...
View ArticleAnswer by Tetrad
You could have an intermediary game object that stores the value for you. So you have script C that's on a game object that stays around forever and doesn't do anything but stores/loads values.You...
View ArticleAnswer by Mike 3
Use a static variable for anything you want persisted like that - then it belongs to the class as a whole, not the instancee.g.static var score : float = 0;will persist the score for all versions of...
View ArticleAnswer by Tetrad
You could have an intermediary game object that stores the value for you. So you have script C that's on a game object that stays around forever and doesn't do anything but stores/loads values.You...
View Article
More Pages to Explore .....