- Home /
Missing script reference for static function of Camera
I have found a class function for Camera, which is not in the Unity Script Reference.
This is the C# declaration of the method:
public static void SetupCurrent(Camera cur);
I am using Unity 4.5.4f1. Does anyone know what this method is supposed to do?
Comment
Best Answer
Answer by Graham-Dunnett · Oct 26, 2014 at 02:16 PM
We occasionally make mistakes and have public API functions which haven't been documented. In this case, it's not documented for a reason, and that reason is we don't want people calling this. It's public because some hairy details of the terrain editor need to do strange things.