GUIService
Description
The main purpose of the GUIService is to offer a shorthand for finding the canvas and camera in the scene, as well as retrieving the canvas' properties.
warning
This service might be removed in the future due to it being mostly useless. There exist cleaner and faster ways of achieveing the same things.
Examples
GUI Service
Canvas canvas = GUIService.GetCanvas()
Camera cam = GUIService.GetMainCamera()
// inside a screen
public override Canvas GetCanvas()
{
return GUIService.GetCanvas();
}
Implementation
note