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