ORK Framework Logo - RPG Editor for Unity
  • Features
  • Showcase
  • Guide
    • Documentation
    • Tutorials
    • API
  • ORK 2
    • Tutorials
    • Plugins
    • API
  • Support
  • Forum
  • Get ORK

Getting Started

  • Introduction
  • First Steps
  • Game Starters
  • Components Overview
  • Player/Camera Controls
  • Game Over

Editor

  • Editor Overview
  • Base/Control Section
  • Game Section
  • UI Section
  • Templates Section
  • Status Section
  • Inventory Section
  • Combatants Section
  • Battles Section

Features

  • Animations
  • Areas & Teleports
  • Combatant Triggers
  • Control Maps
  • Difficulties
  • Factions
  • Formations
  • Formula Nodes
  • Logs
  • Loot
  • Move AI
  • Quests
  • Research Trees
  • Schematic Nodes
  • Shortcut Slots

Status System

  • Status Values
  • Status Effects
  • Attack/Defence Modifiers
  • Abilities
  • Combatants
  • Classes
  • Status Bonuses
  • Status Conditions

Inventory System

  • Inventory System Overview
  • Currencies
  • Items
  • Equipment
  • AI Behaviours/Rulesets
  • Crafting Recipes
  • Shops

Battle System

  • Battle Systems
  • Adding Battles to Scenes
  • Calculating Action Results
  • Battle Menus
  • Battle AI
  • Battle AI Nodes
  • Battle Ranges
  • Battle Camera
  • Target Selection
  • Battle Spots
  • Battle Texts
  • Battle End & Loot Dialogues
  • Action Combos
  • Damage Types
  • Cursor Prefab Components
  • Grid Battles
  • Adding Battle Grids to Scenes
  • Battle Grid Highlights
  • Battle Grid Formations

UI System

  • UI System Overview
  • Start Menu
  • Menu Screens
  • Notifications
  • Combatant Selections
  • Quantity Selections
  • Text Display Settings
  • Cursor Settings
  • Console (In-Game)
  • Menu Requirements
  • HUDs: Content Providers
  • HUDs: Conditions
  • HUDs: Click Actions
  • HUDs: Text Content
  • HUDs: Value Bar Content
  • HUDs: Status Values
  • HUDs: Status Effects
  • HUDs: Attack Modifiers
  • HUDs: Defence Modifiers
  • HUDs: Shortcuts
  • HUDs: Abilities
  • HUDs: Equipment
  • HUDs: Class Slots
  • HUDs: AI Behaviours
  • HUDs: AI Rulesets
  • HUDs: Quests
  • Timebar HUD

Scripting

  • Scripting Overview
  • Access Handler
  • Code Extensions
  • Combatant Scripting
  • Custom Nodes
  • Custom Component Save Data
  • Home
  • Guide
  • Documentation
  • UI System
  • HUDs: Class Slots

HUDs: Class Slots

Table of Contents
  • Unity UI
    • HUD Class Slot List
    • HUD Class Slot (Content Provider)

Learn more about displaying a combatant’s class slots and equipped classes in your HUDs (and other UI).

This documentation focuses on listing a combatant’s class slots and their equipped classes in a HUD. The actual class is displayed via the class’s Shortcut UI setup, see the HUD shortcut documentation for details.

Unity UI #

The Unity UI module displays class slots and their classes using HUD components.

Display text content information (e.g. name, values, etc.) using ORK HUD Status Text Content components (Class status type, see the HUD text content documentation for details). You can also display information of the class slot via the Class status type. Additionally, the Status Value status type displays the class’s experience (if the class uses status development).

You can also display numerical information via value bars using ORK HUD Value Bar Content or ORK HUD Icon Bar Content components, e.g. the Status Value value type to display the class experience (see the HUD value bar content documentation for details).

HUD Class Slot List #

Use a HUD Class Slot List component to add a combatant’s class slots and their classes. You can either display all class slots of the combatant or only defined class slots .

The component creates a class slot using the Shortcut UI setup of it’s class, or a defined prefab for an empty slot.

The prefab (coming from class’s shortcut UI or a defined prefab) requires a HUD Content Provider component at it’s root. The HUD Class Slot List component sets the content provider’s user (content) as the individual class slot or class. The content provider further distributes the information to any content component on it.

You can use layout components to arrange the listed class slots. E.g. use a Vertical Layout Group component to arrange the class slots in a vertical list. See Unity’s documentation on UI setup and layout groups for details on this.

The context menu in the scene hierarchy has quick setup commands for class slot lists: ORK Framework > HUD > Class > Class Slot List (variants with and without layout groups)

The HUD Class Slot List component requires a combatant as displayed content.

HUD Class Slot (Content Provider) #

Use a HUD Class Slot (Content Provider) component to display a single, defined class slot of a combatant. The component itself is a HUD Content Provider and doesn’t create a prefab of the displayed status value.

Use this component if you don’t want to go through prefab creation and Shortcut UI setup and just display a class slot’s content directly. Displaying the content uses ORK HUD Status Text Content and ORK HUD Value/Icon Bar Content components, which reference the HUD  Class Slot (Content Provider) component as their content provider.

The context menu in the scene hierarchy has quick setup commands for single status values: ORK Framework > HUD > Class > Class Slot (single)

The HUD Class Slot (Content Provider)  component requires a combatant as displayed content.

UI
Share This Article :
  • Facebook
  • Twitter
  • LinkedIn
  • Pinterest
Updated on September 17, 2022
Table of Contents
  • Unity UI
    • HUD Class Slot List
    • HUD Class Slot (Content Provider)
Sitemap
  • Features
  • Showcase
  • Guide
    • Documentation
    • Tutorials
    • API
  • ORK 2 Hub
    • Tutorials
    • Plugins
    • API
  • Support
  • Forum
  • Get ORK
  • Contact
  • Blog
  • Makinom
  • gamingislove.com
Categories
  • News (59)
  • ORK 2 (137)
    • Tutorial (137)
      • Game tutorial (50)
      • Gameplay (32)
      • How-to (55)
  • Release (129)
Search

© 2015 Gaming is Love e.U.

Disclosure: This site may contain affiliate links, which means I may receive a commission if you click a link and purchase something that I have recommended. While clicking these links won’t cost you any money, they will help me fund my development projects while recommending great assets!