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

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