Systems
WebsiteGitHubGitBook
  • πŸ•ΉοΈSystems Intro
    • Game Controls
    • User Interface
    • Item Sprite Generation
  • πŸ“¦Asset Data
    • How Asset Data works
    • Using Asset Data
    • Creating an Asset Database
    • Known Issues
  • πŸ“‘Traits
    • Containers & Items
    • Roles
  • πŸ”«Gamemodes
    • Adding objectives
    • Adding game modes
  • πŸŽ₯Roles
    • Adding a new role
    • Adding a new permission
  • πŸ–οΈInteractions
    • Interactions Guide
  • 🧰Containers
    • Using containers in game
    • Setting up a container
      • Fields description
      • Networking a container
      • Custom storage conditions
    • FAQ
  • πŸ‘œInventories
    • Developer Guide
  • πŸ—ΊοΈTilemaps
    • Creating Maps
    • Adding new items & objects
      • Adjacency Connections
    • Technical Implementation
    • Refactor notes
    • Interface
  • πŸ’Entities
    • 🩲Character Customization
  • πŸ›‹οΈLobby
  • πŸ› οΈCrafting
  • πŸ’¬Chat
    • Channels
      • Department specific channels
      • Distance based channels
  • πŸ“£Audios
  • πŸ”ŽExamine
    • How it works
    • Setting up a game object to be examinable
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
Export as PDF
  1. Examine

Setting up a game object to be examinable

PreviousHow it works

Last updated 1 year ago

Was this helpful?

To make an object examinable, you'll need to add at least two scripts to it. Selectable.cs, which will allow the Selection system to pickup the object. SimpleExaminable.cs, which will allow to give a name and a description to the object.

SimpleExaminable ask for a scriptableObject, you'll need to create it in Assets\Content\Data\Examine\String. For that you can right click in Project and choose Examine. You can then add a reference to the newly created asset in the examinable object.

πŸ”Ž
The two necessary scripts to make a game object examinable