Hacking away at Cinemachine

Hello!

I’m interested in replicating the functionality of the Cinemachine State Driven Camera, but for it to be driven by my own state code. The way I’m tackling this is to copy paste the source files of the CinemachineStateDrivenCamera.cs and then change what I’d like.

I’d also like to benefit from the lovely inspector editor, however I’m unable to do the same. The compilation error ‘EmbeddeAssetEditor’ is inaccessible due to its protection level appears.

EmbeddeAssetEditor is an internal class, so I’m guessing that the plugin doesn’t like me accessing this assembly.

I was wondering if there was anything that I could do to convince it I’m a friend?

Many thanks,

Ad.

Sadly, there’s nothing you can do to access CM internals. You can copy the inspector stuff you want and put it in your project.

Thanks for the info!