Class InteractableObject
Base class for interactable object, inherit from this class and override InteractWith to handle what happen when the player interact with the object.
Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
InteractableObject
Inherited Members
Namespace: CreatorKitCode
Assembly: Assembly-CSharp.dll
Syntax
public abstract class InteractableObject : HighlightableObject
Properties
IsInteractable
Declaration
public abstract bool IsInteractable { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
InteractWith(CharacterData)
Declaration
public abstract void InteractWith(CharacterData target)
Parameters
Type | Name | Description |
---|---|---|
CharacterData | target |