// Copyright (c) Pixel Crushers. All rights reserved. using UnityEngine.Events; using System; namespace PixelCrushers.DialogueSystem { /// /// This delegate is called when a selector targets a usable object. Example uses: /// - Update a HUD with the usable object's info /// - Make the usable object play an animation /// public delegate void SelectedUsableObjectDelegate(Usable usable); /// /// This delegate is called when a selector un-targets a usable object. /// public delegate void DeselectedUsableObjectDelegate(Usable usable); /// /// UnityEvent that has a Usable parameter. /// [Serializable] public class UsableUnityEvent : UnityEvent { } }