- Home /
Need help with in game custom clock!
I have two classes, a WeatherTemp and a TimeController. Right now if i put the the ClimateControl method inside the Update method of the WeatherTemp class it calculates every single frame which screws up my algorithm. What I need to do is trigger the ClimateControl method in the TimeControl class under the OnTimedEvent method. for some reason that isn't working the way I have it setup.
Can anyone tell me what I'm doing wrong.
here are the two images.
Your answer
Follow this Question
Related Questions
Change the value of string in other class by triggering collision (c#) 1 Answer
Why does gameobject.Find/GetComponent not work when a new scene is loaded? 1 Answer
How do I access this value properly so my characters exp goes up? 1 Answer
GameObject.Find GetComponent C# 4 Answers
Best way to access variables of script from granchild of another object, into a different script? 1 Answer