Setting Up Interactive Objects

Basic GameObject Requirements

All objects that can be interacted with need to have a list of items attached and setup. (Each system may vary slightly but you can check out the individual breakdown pages for more information on those)

circle-info
  1. Tag: InteractiveObject

  2. Add Component: Box Collider

  3. Add Component: AKItem Script (See the AKItem explained page for more information)

  4. Add Component: System Item Script

  5. Add Component: (Some Systems) Additional Collection Script

  6. Add Component: (If Examinable) ExamianbleItem script

Want To Change Highlight Names? Emission Highlights?

circle-info

Understand how to change highlight names, prompts and emission settings in the AKItem script using this page

Flashlight Battery Pickup Example (Without Examine System)

circle-info
  1. Tag: InteractiveObject

  2. Component 1: Box Collider

  3. Component 2: AK Item Script

    1. Set to: Flashlight Sys

  4. Component 3: Flashlight Item Script

    1. Set to: Battery

Flashlight Battery Pickup Examine (With Examine System)

circle-info
  1. Tag: InteractiveObject

  2. Component 1: Box Collider

  3. Component 2: AK Item Script

    1. Set to: Flashlight Sys

  4. Component 3: Flashlight Item Script

    1. Set to: Battery

  5. Component 4: ExaminableItem Script

Last updated