示例#1
0
        public override ShapeBase CreateShapeInstance()
        {
            Camera2dShape shape = new Camera2dShape("Camera2D");

            shape.Position = EditorManager.Scene.CurrentShapeSpawnPosition;
            return(shape);
        }
示例#2
0
 public override ShapeBase CreateShapeInstance()
 {
     Camera2dShape shape = new Camera2dShape("Camera2D");
     shape.Position = EditorManager.Scene.CurrentShapeSpawnPosition;
     return shape;
 }