struct returning 0 even though that value can never be there
So I have a struct called game date (for strategy game) and they have three values (D = Day, M = Month and Y = Year) and I have a script somewhere in the game to wait one day. What it will do is that it will take the current day and will do absolutely nothing for that day. But when I get to that part of the script, Debug.Log is telling me that value is 0 (as in days) but that is bullshit since that can never be assigned.
You don't seriously expect us to write some kind of answer to your 6 lines of text, do you? This appears to be a pure debugging question but without any code to debug. So I'll move it into the help room anyways. However if the question isn't improved it will most likely be closed.
Your answer
Follow this Question
Related Questions
Is putting a struct within a class going to affect performance? 1 Answer
How can you add a function to a variable. Such as string.ToUpper() ? 1 Answer
How can I have a uniform struct in a Shader? 0 Answers
Custom Editor: Array of Structs with elements hidden by toggles 0 Answers
Game highscore file writing 0 Answers