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