A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
Figured out how to circumvent the issue. Rather than dealing with the Layer Weight float, every animation that overrides the root motion is...
I want the guard up animation to inherit the root motion from the base layer motion, after the punch animation to override it. So use the regular...
Not for this layer because I need it to override the root motion on the base movement layer, but simultaneously not override it for specific...
Need some help with Root Motion. I have two animations on a override layer - a punching animation that has root motion but an idle animation that...
The best way I could see to save each question asked and it's time, to player prefs using a class/array structure, and then comparing the time...
Hi Cyrussphere, Try using ".length" instead of ".Count" when getting the number of turrets. for (int w = 0; w < player.weapTurrets.length; w++)...
You need to subtract by the System.DateTime version of StartDateQ01, not by the string.
It looks like it's getting the correct date now. Try subtracting today by StartDateQ01 and setting it to difference. Hopefully this should return...
Based on your first pick it doesn't appear that the GetDaysPassed script's startDate variable is getting your saved date. Instead, it is using the...
Try running a Debug.Log(startDate); in the GetDaysPassed function to see what the startDate is within there.
Fantastic! So it definitely is startDate. So go through your startDate saving/loading system and make sure that that startDate remain consistent...
Change it from Date to System.DateTime and see if that works.
Hi SoulbladeSBA, Change the name of your Text variable to something like "myText". You can't have a Text variable with the name "text". It...
Okay so I'm starting to believe that the problem is actually the start date. Try the code below. You should return 6 days difference. If this...
Sounds like you're on the right track. If you can, test it and see how it goes!
Hmm...comment out your GetDaysPassed function and try this... public string GetDaysPassed() { today = System.DateTime.Now;...
Hi lukson666, You can use TouchPhase.Ended to detect when a player has lifted their finger off the screen. The Unity Docs has an example shown...
It sounds like you may just need to do some heavy debugging on accessing the days passed function. Try creating a small temporary debugging script...
Just by taking a quick glance at your code again it appears that in your UserInformation script, you're only assigning the today variable within...
I meant, that by removing the .ToString() from the UserInformation.GetDaysPassed() function, you are able to compare the return value in your main...