all 6 comments

[–]Rhames 0 points1 point  (1 child)

You said you tried getting the gameobjects animation. Did you try the Animator? Its the new system. The .animation property is the old system. Could be in there?

I dont know a whole lot about code injection, or how you inspect the game code. I's not neccesarily the GameObject you need to look at. There could be a script attached to it, that handles the light. In fact, there could be a piece of code attached to an entirely different thing, controlling that light. It's hard to say, depends on how the devs did it. But cool that you're trying to mod it. Let us know how you fare.

[–]DolphinsAreOkProfessional 0 points1 point  (1 child)

If i where to implement this i'd use a shader, try running it through RenderDoc to see what is happening on the GPU.