/// <summary> /// Creates a new instance. /// </summary> /// <param name="hub">The hub.</param> /// <param name="availablePanDirections">The directions available for panning.</param> /// <param name="profile">The profile.</param> public EyeXPannable(EyeXPanningHub hub, EyeXPanDirection availablePanDirections, EyeXPanningProfile profile) { _hub = hub; AvailablePanDirections = availablePanDirections; Profile = profile; Velocity = Vector2.zero; }