You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -468,13 +469,18 @@ For example, the built-in `ButtonMatcher` class's `IsMatch` method returns `true
468
469
If your game title uses a custom pageable or scrollable UI components (e.g., Scroller, Carousel, Paged dialog), you can implement the `IPaginator` interface.
469
470
The custom paginator can be specified as an argument to the `GameObjectFinder.FindByMatcherAsync` method.
470
471
471
-
A paginator must implement the following methods and properties:
472
+
A paginator must implement the following methods:
472
473
473
-
-`ComponentType` property to return the type of UI component that the paginator controls
474
474
-`ResetAsync` method to navigate to the top page
475
475
-`NextPageAsync` method to navigate to the next page
476
476
-`HasNextPage` property to return whether there is a next page
477
477
478
+
In addition, the constructor must meet the following requirements:
479
+
480
+
- A paginator must have a constructor with one or more parameters
481
+
- The first parameter of the constructor is a pageable or scrollable component to be controlled
482
+
- The type of the first parameter must be a subclass of `MonoBehaviour`
/// Interface for pagination controller for finding <c>GameObject</c> on pageable or scrollable UI components (e.g., <c>ScrollRect</c>, Carousel, Paged dialog).
12
12
/// Provides intuitive pagination operations as page navigation functionality, enabling auxiliary operations in the <see cref="GameObjectFinder"/>.
13
13
/// </summary>
14
+
/// <remarks>
15
+
/// The implementation class must meet the following requirements:
16
+
/// <list type="bullet">
17
+
/// <item>A paginator must have a constructor with one or more parameters</item>
18
+
/// <item>The first parameter of the constructor is a pageable or scrollable component to be controlled</item>
19
+
/// <item>The type of the first parameter must be a subclass of <c>MonoBehaviour</c></item>
0 commit comments