Classes | |
class | Background |
class | Layer |
class | MapPrefabManager |
class | parallax |
class | SoundState |
Public Types | |
enum | ImageZoomIndex { Zoom1 , Zoom2 , Zoom4 } |
enum | MapScrollType { NoLoop , LoopVertical , LoopHorizontal , LoopBoth } |
Public Member Functions | |
MapDataModel (string uuid, int index, string name, string displayName, int width, int height, MapScrollType scrollType, bool autoPlayBgm, string bgmId, SoundState bgmState, bool autoPlayBgs, string bgsId, SoundState bgsState, bool forbidDash, string memo, List< MapLayer > layerJsons, Background background, parallax parallax, [CanBeNull] GameObject mapPrefabForEditor=null) | |
string | GetPrefabPath (bool isSampleMap=false) |
Layer | GetLayerByTypeForRuntime (Layer.LayerType layerType) |
Layer | GetLayerByTypeForEditor (Layer.LayerType layerType) |
Transform | GetLayerTransformForRuntime (Layer.LayerType layerType) |
Transform | GetLayerTransformForEditor (Layer.LayerType layerType) |
Static Public Member Functions | |
static MapDataModel | CopyData (MapDataModel mapDataModel) |
static void | CopyMapPrefabForEditor (MapDataModel mapDataModel, string id, bool isSourceSampleMap=false) |
static GameObject | InstantiateMapPrefab (MapDataModel mapDataModel, GameObject mapPrefab) |
static int | GetLayerIndexByType (Layer.LayerType type) |
static parallax | CreateDefaultParallax () |
Public Attributes | |
string | id |
int | index |
string | displayName |
int | width |
int | height |
string | memo |
string | name |
Background | background |
parallax | Parallax |
MapScrollType | scrollType |
bool | autoPlayBGM |
bool | autoPlayBgs |
string | bgmID |
SoundState | bgmState |
string | bgsID |
SoundState | bgsState |
bool | forbidDash |
List< MapLayer > | layerJsons |
bool | changePrefab |
bool | isSampleMap |
Static Public Attributes | |
const int | MinWidth = 1 |
const int | MaxWidth = 256 |
const int | MinHeight = 1 |
const int | MaxHeight = 256 |
Properties | |
MapPrefabManager | MapPrefabManagerForRuntime [get] |
MapPrefabManager | MapPrefabManagerForEditor [get] |
List< Layer > | LayersForRuntime [get] |
List< Layer > | LayersForEditor [get] |