public Scene(Camera2D SceneCam, Action IEv, Action UEvent, Action DEvent) { Camera = SceneCam; InitAction = IEv; SetEvent(UEvent, DEvent); }
private static void BeginCanvas(Camera2D CanvasCam) => BeginCanvas(CanvasCam.Transform);
public Scene(Camera2D SceneCam, Action UEvent, Action DEvent) { Camera = SceneCam; SetEvent(UEvent, DEvent); }
public static void OpenCanvas(Camera2D c, Action a) { BeginCanvas(c); a(); CloseCanvas(); }