Unity Ninja Unity 3D Forum
To have exclusive access to all downloads, recourses and links within this forum, a free registered account is required. Just a heads up Wink

You are not connected. Please login or register

Unity Ninja Unity 3D Forum » FREE Project Downloads & Recources » 3D Models & Animations » Triggering animations using time and date

Triggering animations using time and date

View previous topic View next topic Go down  Message [Page 1 of 1]

1 Triggering animations using time and date on Sun Jan 15, 2017 3:22 am

osvaldojnr


Member [Lv. 0]
Member [Lv. 0]
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

View user profile

2 Re: Triggering animations using time and date on Sun Apr 09, 2017 11:39 am

Philippe


Member [Lv. 1]
Member [Lv. 1]
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.

View user profile

View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum