Hello.
I need to have a custom viewtype in which I can limit player look around to certain degree.
I made a custom viewtype as stated in this topic: topic
first
How I can expose limit values in the inspector?... Looks like adding public float max and public float min in this viewtype don't make them exposed.
Adding floats similar to the pitch limits in FirstPerson.cs dont make them exposed too...
and second
What should I limit? Which float and how to do it?
I need to have a custom viewtype in which I can limit player look around to certain degree.
I made a custom viewtype as stated in this topic: topic
first
How I can expose limit values in the inspector?... Looks like adding public float max and public float min in this viewtype don't make them exposed.
Adding floats similar to the pitch limits in FirstPerson.cs dont make them exposed too...
and second
What should I limit? Which float and how to do it?