Change the Height of TPSCamera at runtime
Has me boggled. I was able to change the mouse sensitivity at runtime by simply making that float in the TPS camera script a static, but when I try to change the TPSCamera.height by making THAT also static, I get errors - namely because I didn't write the TPSCamera script ( standard unity I think) but the problem is that there is a TPSEditor script that can't find the TPSCamera.height if I make it static
An object reference is required to access non-static member TPSCamera.height' then when I make it static i get this error from the camera Editor script Assets/Smooth Camera Pack/Editor/Smooth Camera Editor/TPSCameraEditor.cs(39,26): error CS0176: Static member
TPSCamera.height' cannot be accessed with an instance reference, qualify it with a type name instead
what does that even mean?
Your answer
Follow this Question
Related Questions
Where do you find camera target on tank game? 0 Answers
Center a Object at hit.point in Camera 2 Answers
Camera Collision Problem 0 Answers
Reduce amounts of detail on camera 0 Answers
How to reset camera after respawn? 1 Answer