FragMate CommunityLog in

FragMate - Software and Game Developer Community, including Resources, Forums, Marketplace & More.


descriptionTriggering animations using time and date

Hi All, first of all please bear with me if i ask any really obvious questions, i'm quite new to Unity and coding in general!

I have a cube that i can get to change from white to a pulsing yellow using an animation. I've also seen colliders used to trigger certain animations, Is it possible to trigger this animation using a time and date is set on an internal calendar/ computer calendar?

Thanks in advance Smile

descriptionRe: Triggering animations using time and date

The function "System.DateTime.Now" give the date and the time of the realtime clock.
Then you have just to compare with a defined date/time to trigger an animation.
Permissions in this forum:
You cannot reply to topics in this forum