Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

2D experimental preview API documentation?

Discussion in '2D Experimental Preview' started by FrankBuss, Oct 2, 2016.

  1. FrankBuss

    FrankBuss

    Joined:
    Dec 22, 2014
    Posts:
    55
  2. Johaness_Reuben

    Johaness_Reuben

    Joined:
    Jan 27, 2016
    Posts:
    253
    Hi,
    You'll find the class reference in the documentation that was installed locally with the preview. Additionally, there's more info in the Preview1 reference doc.

    Note some changes in Preview 2
    Tile Map
    • Tile Map APIs have been changed, please do update your existing scripts.
    • Tile Map APIs have been moved to its own namespace UnityEngine.TileMap.
    • VirtualTiles have been renamed to EditorPreviewTiles.
    • BaseTile has been renamed to TileBase.
    • TileFlags have been renamed.
      • OverrideColor -> LockColor
      • OverrideTransform -> LockTransform
      • OverrideSpawnGameObjectRuntimeOnly -> InstantiateGameObjectRuntimeOnly
      • OverrideAll -> LockAll
    • TileData
      • TileData.gameobject -> TileData.gameObject
    • TileAnimationData
      • TileAnimationData.animationTimeOffset -> TileAnimationData.animationStartTime
    • PolygonCollider2D no longer generates a collider shape for the TileMap. Please use the new TileMapCollider2D instead.
     
  3. FrankBuss

    FrankBuss

    Joined:
    Dec 22, 2014
    Posts:
    55