Makinom - Game Toolkit for Unity
  • Features
  • Showcase
  • Guide
    • Documentation
    • Tutorials
    • Extensions
    • API
  • Makinom 1
    • Tutorials
    • Plugins
    • API
  • Support
  • Forum
  • Get Makinom

Guide

Getting Started

  • Introduction
  • First Steps
  • Game Starters
  • Components Overview
  • Upgrading a Makinom 1 Project

Editor

  • Makinom Editor Overview
  • Node Editor
  • Asset Sources
  • Editor Section
  • Base/Control Section
  • Game Section
  • UI Section
  • Templates Section

Features

  • Schematics
  • Schematic Nodes
  • Formula Nodes
  • Languages
  • Input Keys
  • Audio and Music
  • Game States
  • Pooling
  • Saving Game Objects
  • Scene Objects
  • Save Games
  • Variables
  • Selected Data

Machines

  • Machine Components Overview
  • Animation Machine
  • Animation State Machine
  • Application Machine
  • Auto Machine
  • Collision Machine
  • Global Machine
  • Interaction Machine
  • Render Machine
  • Tagged Machine
  • Template Machine
  • Tick Machine
  • Trigger Machine

UI System

  • UI System Overview
  • UI Layers
  • UI Layouts
  • UI Boxes
  • HUDs
  • Flying Texts
  • Text Codes
  • Unity UI Module
  • HUDs: Content Providers
  • HUDs: Conditions
  • HUDs: Click Actions

Scripting

  • Scripting Overview
  • Code Extensions
  • Custom Save Data
  • Custom Component Save Data
  • Custom Nodes
  • Starting a Schematic

Advanced Topics

  • Build Troubleshooting
  • Performance Optimizations
  • Home
  • Guide
  • Documentation
  • UI System
  • HUDs: Content Providers

HUDs: Content Providers

Table of Contents
  • Unity UI
    • HUD
    • HUD Content Provider
    • HUD Content Provider (GameObject)

Learn more about HUD content providers.

Content providers are used to define the content that’s displayed by HUD elements.

The root HUD itself is a content provider and will get it’s content (also refered to as user) from the HUD it’s used to display (see this documentation on HUDs).

The actual use of content providers depends on the used UI module.

Unity UI #

The Unity UI module uses components to add content providers.

Content components have a Content Provider field available to define which content provider they get their displayed content from.

The following content providers are available (other Makinom extensions can add their own content providers, e.g. ORK Framework).

HUD #

The HUD component is the root of all HUDs and is a content provider.

It’ll get it’s content from the HUD that’s displaying it.

HUD Content Provider #

The HUD Content Provider component is an empty content provider.

It’s mainly used on UI prefabs that are created by other HUD content components, e.g. listing things by spawning prefabs for each listed content. The content of the HUD Content Provider component that’s found on a spawned prefab will be set to the used content.

HUD Content Provider (GameObject) #

The HUD Content Provider (GameObject) component uses a defined game object as it’s content.

The game object is defined by a game object selection, e.g. allowing to use the Player or something stored in Selected Data as content.

UI
Share This Article :
  • Facebook
  • Twitter
  • LinkedIn
  • Pinterest
Updated on September 17, 2022
Table of Contents
  • Unity UI
    • HUD
    • HUD Content Provider
    • HUD Content Provider (GameObject)
Sitemap
  • Features
  • Showcase
  • Guide
    • Documentation
    • Tutorials
    • Extensions
    • API
  • Makinom 1 Hub
    • Tutorials
    • Plugins
    • API
  • Support
  • Forum
  • Get Makinom
  • Contact
  • Blog
  • ORK Framework
  • gamingislove.com
Categories
  • Makinom 1 (97)
    • Tutorial (97)
      • 2D Platformer (14)
      • 2D Roguelike (8)
      • Breakout (6)
      • How-to (34)
      • Match 3 (6)
      • Schematic (4)
      • Scripting (6)
      • Space Shooter (11)
      • Survival Shooter (8)
  • News (11)
  • Release (67)
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!