It really resolves my question.
But I have another question after deleting these parameters that have a missing target.
In the ‘AnimatedParameter’ scipt, ‘HasAnyKey’ may may cause the allocation when I used ‘Animate Properties’ clips for changing the object rotation or position.
In ‘HasAnyKey’, the code just gets the Keyframe arrays length, I don’t know why getting array length will cause the allocation .
I not sure whether the array problem,so I do some test.
I use a list to record the curves’s Keyframe[] length when the curves initialized. After the ‘InitializeCurves()’ function.
My idea is that use once Keyframe[] length when beginning.So after that I can use list to search the keys.
But it is failed. The object’s position that I wnat to move can’t move correctly. Maybe the list record not correctly.I will test persistently.
This is just my simple test. The main point is calling ‘HasAnyKey’ may may cause the allocation.
Do you have any good idea for this situation. I not sure whether this problem just only happened to me.
Hope you can understand what I say.
Thank you very much!!
Attachments:
cutscene3.png
cutscene4.png
Login
Register
By registering on this website you agree to our Privacy Policy.