Question by
ArtemisGodfrey · Feb 20, 2019 at 02:46 PM ·
c#scripting problemrecordingkeyframes
Gameobject hierarchy recorder(Can it record more than transforms?)
So I have been recently using this RecordTransformHierarchy script to record scripted animation stuff into keyframes. I am fairly new at looking at code in general but it's something that has interested me to get into. But my idea is I wanted it to also be able to record particle systems and shader changes during recording instead of only the transform. Like I said I am new to this so I am sorta taking a stab at seeing I need to bind the other components to the recording but I am a little at loss on how exactly to go about it. I'm using the standard gameobject hierarchy recording script.
m_Recorder.BindComponent<Transform>(gameObject, true);
So I need to figure out how turn this to record particle systems and shader/materials. I hope this is the right place to ask. Thanks for any help!~ <3
Comment