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

            shape.Position = EditorManager.Scene.CurrentShapeSpawnPosition;
            return(shape);
        }
コード例 #2
0
ファイル: Camera2dShape.cs プロジェクト: haoransun93/2d
 public override ShapeBase CreateShapeInstance()
 {
     Camera2dShape shape = new Camera2dShape("Camera2D");
     shape.Position = EditorManager.Scene.CurrentShapeSpawnPosition;
     return shape;
 }