Adventure Creator  1.79.1
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2022
AC.MatchingInvInteractionData Class Reference

Public Member Functions

 MatchingInvInteractionData (Hotspot hotspot)
 A constructor for a given Hotspot More...
 
 MatchingInvInteractionData (InvInstance invInstance)
 A constructor for a given inventory item More...
 
void SetSelectItemMode (int index)
 
int GetInvInteractionIndex (int index)
 

Properties

List< InvInstanceInvInstances [get]
 
int NumMatchingInteractions [get]
 

Detailed Description

This script stores data related to which inventory items can be used with a given Hotspot or Inventory item.

Constructor & Destructor Documentation

◆ MatchingInvInteractionData() [1/2]

AC.MatchingInvInteractionData.MatchingInvInteractionData ( Hotspot  hotspot)

A constructor for a given Hotspot

Parameters
hotspotThe Hotspot to create inventory data for

◆ MatchingInvInteractionData() [2/2]

AC.MatchingInvInteractionData.MatchingInvInteractionData ( InvInstance  invInstance)

A constructor for a given inventory item

Parameters
invInstanceThe item instance to create inventory data for

Property Documentation

◆ InvInstances

List<InvInstance> AC.MatchingInvInteractionData.InvInstances
get

The inventory items that can interact with the Hotspot or item this data set was created for

◆ NumMatchingInteractions

int AC.MatchingInvInteractionData.NumMatchingInteractions
get

The number of inventory items that can interact with the Hotspot or item this data set was created for