Skip to content

Commit

Permalink
added new helpurls, renaming too
Browse files Browse the repository at this point in the history
  • Loading branch information
Cammin committed May 4, 2024
1 parent 3ffc3b6 commit 043010f
Show file tree
Hide file tree
Showing 14 changed files with 26 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace LDtkUnity
/// <summary>
/// Use for checking IntGrid values. The coordinates are usable for it's respective tilemaps. Accessible from IntGrid layer GameObjects.
/// </summary>
[HelpURL(LDtkHelpURL.COMPONENT_LAYER)]
[HelpURL(LDtkHelpURL.COMPONENT_LAYER_INTGRID)]
[AddComponentMenu("")]
public sealed class LDtkComponentLayerIntGridValues : MonoBehaviour
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace LDtkUnity
/// Mimics the parallax implementation from LDtk.
/// If you want something more customized than this, make a custom implementation of parallax. But this should be able to suit most needs.
/// </summary>
[HelpURL(LDtkHelpURL.COMPONENT_LAYER)]
[HelpURL(LDtkHelpURL.COMPONENT_LAYER_PARALLAX)]
[AddComponentMenu("")]
public sealed class LDtkComponentLayerParallax : MonoBehaviour
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace LDtkUnity
{
[HelpURL(LDtkHelpURL.COMPONENT_LAYER)]
[HelpURL(LDtkHelpURL.COMPONENT_LAYER_TILESET)]
[AddComponentMenu("")]
public sealed class LDtkComponentLayerTilesetTiles : MonoBehaviour
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace LDtkUnity
{
[HelpURL(LDtkHelpURL.LDTK_JSON_AutoRuleDef)]
[HelpURL(LDtkHelpURL.LDTK_JSON_AUTO_RULE_DEF)]
public class LDtkDefinitionObjectAutoLayerRule : LDtkDefinitionObject<AutoLayerRuleDefinition>, ILDtkUid
{
[field: Header("Internal")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace LDtkUnity
{
[HelpURL(LDtkHelpURL.LDTK_JSON_LayerDefJson)]
[HelpURL(LDtkHelpURL.LDTK_JSON_LAYER_DEF_JSON)]
public class LDtkDefinitionObjectAutoLayerRuleGroup : LDtkDefinitionObject<AutoLayerRuleGroup>, ILDtkUid
{
[field: Header("Internal")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace LDtkUnity
{
[HelpURL(LDtkHelpURL.LDTK_JSON_EntityDefJson)]
[HelpURL(LDtkHelpURL.LDTK_JSON_ENTITY_DEF_JSON)]
public sealed class LDtkDefinitionObjectEntity : LDtkDefinitionObject<EntityDefinition>, ILDtkUid
{
[field: Tooltip("Base entity color")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace LDtkUnity
{
[HelpURL(LDtkHelpURL.LDTK_JSON_EnumDefJson)]
[HelpURL(LDtkHelpURL.LDTK_JSON_ENUM_DEF_JSON)]
public sealed class LDtkDefinitionObjectEnum : LDtkDefinitionObject<EnumDefinition>, ILDtkUid
{
[field: Tooltip("Relative path to the external file providing this Enum")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace LDtkUnity
{
[HelpURL(LDtkHelpURL.LDTK_JSON_FieldDefJson)]
[HelpURL(LDtkHelpURL.LDTK_JSON_FIELD_DEF_JSON)]
public sealed class LDtkDefinitionObjectField : LDtkDefinitionObject<FieldDefinition>, ILDtkUid
{
[field: Header("Internal")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace LDtkUnity
{
[HelpURL(LDtkHelpURL.LDTK_JSON_LayerDefJson)]
[HelpURL(LDtkHelpURL.LDTK_JSON_LAYER_DEF_JSON)]
public sealed class LDtkDefinitionObjectLayer : LDtkDefinitionObject<LayerDefinition>, ILDtkUid
{
[field: Tooltip("Type of the layer (*IntGrid, Entities, Tiles or AutoLayer*)")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace LDtkUnity
{
[HelpURL(LDtkHelpURL.LDTK_JSON_TilesetDefJson)]
[HelpURL(LDtkHelpURL.LDTK_JSON_TILESET_DEF_JSON)]
public sealed class LDtkDefinitionObjectTileset : LDtkDefinitionObject<TilesetDefinition>, ILDtkUid
{
[field: Tooltip("Grid-based size")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace LDtkUnity
{
[HelpURL(LDtkHelpURL.LDTK_JSON_EnumDefValues)]
[HelpURL(LDtkHelpURL.LDTK_JSON_ENUM_DEF_VALUES)]
[Serializable]
public sealed class LDtkDefinitionObjectEnumValue
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace LDtkUnity
{
[HelpURL(LDtkHelpURL.LDTK_JSON_LayerDefJson)]
[HelpURL(LDtkHelpURL.LDTK_JSON_LAYER_DEF_JSON)]
[Serializable]
public sealed class LDtkDefinitionObjectIntGridValue
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace LDtkUnity
{
[HelpURL(LDtkHelpURL.LDTK_JSON_LayerDefJson)]
[HelpURL(LDtkHelpURL.LDTK_JSON_LAYER_DEF_JSON)]
[Serializable]
public sealed class LDtkDefinitionObjectIntGridValueGroup
{
Expand Down
26 changes: 13 additions & 13 deletions Assets/LDtkUnity/Runtime/Tools/Const/LDtkHelpUrl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ internal static class LDtkHelpURL
ROOT + "api/LDtkUnity." + nameof(LDtkComponentLevel) + ".html";
public const string COMPONENT_LAYER =
ROOT + "api/LDtkUnity." + nameof(LDtkComponentLayer) + ".html";
public const string COMPONENT_LAYER_INTGRID =
ROOT + "api/LDtkUnity." + nameof(LDtkComponentLayerIntGridValues) + ".html";
public const string COMPONENT_LAYER_TILESET =
ROOT + "api/LDtkUnity." + nameof(LDtkComponentLayerTilesetTiles) + ".html";
public const string COMPONENT_LAYER_PARALLAX =
ROOT + "api/LDtkUnity." + nameof(LDtkComponentLayerParallax) + ".html";
public const string COMPONENT_ENTITY =
ROOT + "api/LDtkUnity." + nameof(LDtkComponentEntity) + ".html";
public const string COMPONENT_IID =
Expand All @@ -64,22 +70,16 @@ internal static class LDtkHelpURL
public const string SO_TOC =
ROOT + "documentation/Topics/topic_TableOfContents.html";


public const string SO_ART_TILE_OVERRIDE =
ROOT + "documentation/Topics/topic_ArtifactAssets.html"; //todo change this to better page setup when animated tiles are implemented

public const string EXPORT_NATIVE_PREFAB =
ROOT + "documentation/Topics/topic_ExportNativePrefab.html";


public const string LDTK_JSON_LayerDefJson = "https://ldtk.io/json/#ldtk-LayerDefJson";
public const string LDTK_JSON_AutoRuleDef = "https://ldtk.io/json/#ldtk-AutoRuleDef";
public const string LDTK_JSON_EntityDefJson = "https://ldtk.io/json/#ldtk-EntityDefJson";
public const string LDTK_JSON_FieldDefJson = "https://ldtk.io/json/#ldtk-FieldDefJson";
public const string LDTK_JSON_TilesetDefJson = "https://ldtk.io/json/#ldtk-TilesetDefJson";
public const string LDTK_JSON_TilesetRect = "https://ldtk.io/json/#ldtk-TilesetRect";
public const string LDTK_JSON_EnumDefJson = "https://ldtk.io/json/#ldtk-EnumDefJson";
public const string LDTK_JSON_EnumDefValues = "https://ldtk.io/json/#ldtk-EnumDefValues";
public const string LDTK_JSON_LAYER_DEF_JSON = "https://ldtk.io/json/#ldtk-LayerDefJson";
public const string LDTK_JSON_AUTO_RULE_DEF = "https://ldtk.io/json/#ldtk-AutoRuleDef";
public const string LDTK_JSON_ENTITY_DEF_JSON = "https://ldtk.io/json/#ldtk-EntityDefJson";
public const string LDTK_JSON_FIELD_DEF_JSON = "https://ldtk.io/json/#ldtk-FieldDefJson";
public const string LDTK_JSON_TILESET_DEF_JSON = "https://ldtk.io/json/#ldtk-TilesetDefJson";
public const string LDTK_JSON_ENUM_DEF_JSON = "https://ldtk.io/json/#ldtk-EnumDefJson";
public const string LDTK_JSON_ENUM_DEF_VALUES = "https://ldtk.io/json/#ldtk-EnumDefValues";

}
}

0 comments on commit 043010f

Please sign in to comment.