Yes; if you use an Animation Track and bind it to an object that has a component that has properties that you desire to animate over time (Such as a Light’s color or a MonoBehaviour’s public float values), then it can be done.
If I add an component to an game-object that include eg.
public float n1;
public float n2;
then its possible to “animate” these over time via Animation Track?
The only issue with usability of the new Unity TimeLine editor that it have no any logical time zoom like Adobe AfterEffects does to manipulate larger scales. Over 24:00h.
So I wrote a tool that is able to, but I can’t access a public static var directly by pointer in Unity unfortunately.
Hmm… I think the implementation of the technique is different.
In my system I can set a keyframe to any time eg 12:00h = 43200s. On run the “daytime” then Update() interpolate any variable from a start time existing to the next time set by a keyframe and so on… The interpolation quantize can be set by separate update tick eg. 20 th/sec, to run exactly in seconds.
This seems to be not possible with Timeline in this way.
For sure if you work on a larger Time base animation it become lite difficultly to know were you are. Also the “seconds and frames” should have an option to display minutes in front. you can enlarge the hight of the timeline for 5 pixel and display 600f: 5:00m on 2 rows.
Well first off the existing animation tools can already do this. You can animate virtually anything you can set in the inspector. One thing I’ve done before when I wanted to use animation to set something up but scripts to control how and when it moved was to manually set the animation time in a script every frame. I don’t know if this is efficient or even a good way to do it, but it worked.
Also, you can use just plain AnimationCurve objects. Just declare a public AnimationCurve object, use the curve tools to define how you want a value to change in relation to time (or any other value, really) and just use a script to evaluate the AnimationCurve and set the output. This is also something I do often. I even use AnimationCurves for things you might not consider, such as level difficulty (instead of time, use the level you’re on) and things that scale with difficulty get a multiplier from this curve and can scale themselves accordingly.
But anyway, there are many options to do what you want with the existing tools.
After recording the first variable, then the second, the timeline graphic windows stays at the first value range and all become strange. If the first variable value is 777 and the second 2.0. the display value range of the Graph doesn’t change. So I didn’t came in range to edit the second var and the graph stopped working.
And after this point it was not possible to edit the properties via the graph editor in TL
There are a brunch of usability fails in my opinion.
Hold SHIFT + should move the white Time-Position-Line and snap onto a key-frame if it’s in range of 2-3 pixels, because of start previewing anything.
Editing the Graph should possible in the TL Graph at any time. Currently after recording it fails completely in my case.
The pop-down menu should not appear on the Key-Frame-Bar. This is a different context.
Here a drop down menu of [Enable Snap] [Bring into Range] [Zoom vert, horz] etc. would be nice.
A click into the Key-Frame-Bar should select a key-frame and it should be possible to move and snap to the displayed values and position lines above.
After duplicate a track, the graph seems to work again.
Moving a key frame hangs very every-time. Very slow move works.
TL fails display on setting the PlayableTimeline-Asset to 86400 seconds a day by 1 frame and moving to a higher range. For sure I can reduce to length to minutes (1440) per day, but I do not want to happen stuff base on fixed minutes only.
I am not on the Timeline team so am not part of the development process of the feature. However, I shared this thread with them so hopefully they have put eyes on it.
Sorry for the delay on the response…let me try to address these
Right now integer (including Color32) animation isn’t supported. This is being worked on by the animation team, so when it arrives, I’d expect Timeline support shortly there after.
You can reframe the graph with the A and F keys.
For the next list
This is common in the feedback…something for us to look into.
Will be fixed in a future beta
As for the rest, the feedback has been noted - thanks for taking the time to pass it on.