Class TooltipPrefab


Prefab for tooltips in the UI.
  • Field Details

  • Constructor Details

    • TooltipPrefab

      public TooltipPrefab()
  • Method Details

    • setOffsetX

      public void setOffsetX(DimensionBase offsetX)
    • setOffsetY

      public void setOffsetY(DimensionBase offsetY)
    • setOffset

      public void setOffset(DualDimension offset)
    • apply

      protected void apply(Entity entity)
      Description copied from class: Prefab
      Adds this prefab's predefined components to a given entity and copies values from this prefab.
      Overrides:
      apply in class LayoutPrefab