A very basic thing, but once you disable them there is no way to turn them on again. Now I’m not able to rotate my object unless I delete the entire Track. Which means deleting a lot of work.
Hello,
This was actually a bug introduced in the last version. To temporary fix this quickly, please open up file AnimatableParameterEditor.cs and change line #96 which reads GUI.enabled = (hasAnyKey && parameterEnabled) || animParam.isExternal; TO GUI.enabled = true;
If you encounter any problems, please let me know.
Thanks.
Thanks for the reply. Only it did not work for me. I edited the code but I still don’t get the gear icon back.
I put a Debug.Log in line 95 to test if the code was executed and the Debug.Log was never called. So my guess is that the code is not being executed even though the fix should work.
I tried restarting Unity several times, but still no change. I’m using Unity 5.1.1f1.
Edit: I tried putting a Debug.Log is AnimatableParameterDrawer.cs as well where the method AnimatableParameterEditor.ShowParameter is being called. But this Debug.Log also didn’t execute.
Hello and sorry for the late reply (I was on a trip away from office).
Having the log not logging is really weird, because if that was the case then the AnimatableParameter UI would not even show 🙂
Maybe you have disabled logging in the console?
Also, please recheck my first reply post above, because I’ve editing just a few minutes after I posted (so maybe you’ve did the changes before I edit it) and please make sure you do the changes that are currently written in the post.
Please confirm that you indeed did the changes that are now shown in the post.
Thanks in advance.
Hello and sorry for the late reply, but I got ill :/
Yes, I did test the changes and they works fine. They still do, meaning that the “gear” button is always enabled and possible to click.
It is very strange and this change does not work for you, and even stranger the fact that adding a Debug.Log in there does not show, since in that case you would be able to even see the Animated Parameter UI.
Can you please post a screenshot of the changes you’ve made? (even though they are simple ones)
Hello,
Thanks for the screens. Now I see what you mean. I am sorry that I misunderstood what you said with a quite different thing. I though you were referring to the gear icon being grayed out in the inspector of some action clip, while this part of the UI is on a different place.
Please open up CutsceneTrack.cs and at about line #455, please change it to be like the following code.
I intentionally commented out the old code to make it easier for you to find and see the changes.