/// <summary> /// Returns information about interactions possible with the object. /// </summary> /// <returns> /// Interaction information. /// </returns> public IEnumerable <InteractionInfo> GetInteractions(Character character, Vector3 clickPoint) { yield return(new InteractionInfo("Swim here", () => character.SwimTo(clickPoint))); }