暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

IsometricRuleTile.cs 1.1KB

1234567891011121314151617181920212223242526272829
  1. using System;
  2. namespace UnityEngine
  3. {
  4. /// <summary>
  5. /// Generic visual tile for creating different tilesets like terrain, pipeline, random or animated tiles.
  6. /// This is templated to accept a Neighbor Rule Class for Custom Rules.
  7. /// Use this for Isometric Grids.
  8. /// </summary>
  9. /// <typeparam name="T">Neighbor Rule Class for Custom Rules</typeparam>
  10. public class IsometricRuleTile<T> : IsometricRuleTile
  11. {
  12. /// <summary>
  13. /// Returns the Neighbor Rule Class type for this Rule Tile.
  14. /// </summary>
  15. public sealed override Type m_NeighborType => typeof(T);
  16. }
  17. /// <summary>
  18. /// Generic visual tile for creating different tilesets like terrain, pipeline, random or animated tiles.
  19. /// Use this for Isometric Grids.
  20. /// </summary>
  21. [Serializable]
  22. [HelpURL("https://docs.unity3d.com/Packages/com.unity.2d.tilemap.extras@latest/index.html?subfolder=/manual/RuleTile.html")]
  23. public class IsometricRuleTile : RuleTile
  24. {
  25. // This has no differences with the RuleTile
  26. }
  27. }