$ 0 0 Ran in to this problem today. I think you can only use these functions in the OnSceneGUI() function.