1157 lines
60 KiB
Plaintext
1157 lines
60 KiB
Plaintext
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Editor\Constant\UXGUIConfig.cs
|
||
|
|
NAMESPACE <global>
|
||
|
|
L4 public static readonly string RootPath = "Packages/com.alicizax.unity.ui.extension/";
|
||
|
|
L5 public static readonly string GUIPath = RootPath + "Runtime/Res/UX-GUI/";
|
||
|
|
L6 public static readonly string UIDefaultMatPath = GUIPath + "UX_ImageDefault.mat";
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Editor\Helper\ExtensionHelper.cs
|
||
|
|
NAMESPACE UnityEditor.Extensions
|
||
|
|
L10 public static void PreviewAudioClip(AudioClip clip)
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Editor\Helper\GUILayoutHelper.cs
|
||
|
|
NAMESPACE UnityEditor.DrawUtils
|
||
|
|
L9 public static void DrawProperty(SerializedProperty property, GUISkin skin, string content)
|
||
|
|
L19 public static void DrawProperty(SerializedProperty property, GUISkin skin, string content,
|
||
|
|
L41 public static void DrawProperty<T>(SerializedProperty property, GUISkin skin, string content,
|
||
|
|
L63 public static void DrawProperty(SerializedProperty property, GUISkin skin, string content, string btnName, Action callback)
|
||
|
|
L77 public static void DrawPropertyPlain(SerializedProperty property, GUISkin skin, string content)
|
||
|
|
L87 public static void DrawPropertyCW(SerializedProperty property, GUISkin skin, string content, float width)
|
||
|
|
L97 public static void DrawPropertyPlainCW(SerializedProperty property, GUISkin skin, string content, float width)
|
||
|
|
L107 public static int DrawTabs(int tabIndex, GUIContent[] tabs, GUISkin skin)
|
||
|
|
L122 public static void DrawComponentHeader(GUISkin skin, string content)
|
||
|
|
L130 public static void DrawHeader(GUISkin skin, string content, int space)
|
||
|
|
L136 public static bool DrawToggle(bool value, GUISkin skin, string content)
|
||
|
|
L147 public static bool DrawTogglePlain(bool value, GUISkin skin, string content)
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Editor\Helper\SerializedClassDrawer.cs
|
||
|
|
NAMESPACE <global>
|
||
|
|
L5 public static class SerializedClassDrawer
|
||
|
|
L7 public static void DrawSerializableProperty(SerializedProperty prop, string title = null)
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Editor\Helper\SerializedPropertyUtility.cs
|
||
|
|
NAMESPACE <global>
|
||
|
|
L6 public static class SerializedPropertyUtility
|
||
|
|
L11 public static object GetPropertyValue(SerializedProperty property)
|
||
|
|
L64 public static T GetPropertyValue<T>(SerializedProperty property, T defaultValue = default(T))
|
||
|
|
L88 public static bool TryGetPropertyValue<T>(SerializedProperty property, out T value, T defaultValue = default(T))
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Editor\Inspector\TabbedInspector.cs
|
||
|
|
NAMESPACE UnityEditor.Utils
|
||
|
|
L11 public class TabbedInspector
|
||
|
|
L13 public class Tab
|
||
|
|
L15 public string title;
|
||
|
|
L16 public string iconName;
|
||
|
|
L17 public List<Action> callbacks = new List<Action>();
|
||
|
|
L19 public Tab(string t, string icon)
|
||
|
|
L30 public TabbedInspector(string prefsKey = null)
|
||
|
|
L39 public void RegisterTab(string title, string iconName, Action drawCallback)
|
||
|
|
L58 public void AppendToTab(string title, Action drawCallback, bool last = true)
|
||
|
|
L75 public void RemoveCallbackFromTab(string title, Action drawCallback)
|
||
|
|
L83 public void UnregisterTab(string title)
|
||
|
|
L91 public void EnsureDefaultTab(string title, string iconName, Action defaultCallback)
|
||
|
|
L104 public void DrawTabs()
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Editor\Inspector\UIEffectWrapDrawer.cs
|
||
|
|
NAMESPACE UnityEngine.UI
|
||
|
|
L11 public static void InitInspectorString()
|
||
|
|
L19 public static void Draw(Rect position, GameObject target)
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Editor\Inspector\UXCreateHelper.cs
|
||
|
|
NAMESPACE <global>
|
||
|
|
L13 public class UXCreateHelper : Editor
|
||
|
|
L32 public static void CreateUXImage(MenuCommand menuCommand)
|
||
|
|
L45 public static void CreateUXToggle(MenuCommand menuCommand)
|
||
|
|
L60 public static void CreateUXTextMeshPro(MenuCommand menuCommand)
|
||
|
|
L71 public static void CreateUXButton(MenuCommand menuCommand)
|
||
|
|
L82 public static void CreateUXInputField(MenuCommand menuCommand)
|
||
|
|
L104 public static void CreateUxRecyclerView()
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Editor\RecyclerView\RecyclerViewEditor.cs
|
||
|
|
NAMESPACE AlicizaX.UI.Editor
|
||
|
|
L13 public class RecyclerViewEditor : UnityEditor.Editor
|
||
|
|
L132 public override void OnInspectorGUI()
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Editor\UX\Button\UButtonEditor.cs
|
||
|
|
NAMESPACE UnityEditor.UI
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Editor\UX\Controller\UXBindingEditor.cs
|
||
|
|
NAMESPACE UnityEngine.UI
|
||
|
|
L9 public sealed class UXBindingEditor : UnityEditor.Editor
|
||
|
|
L22 public override void OnInspectorGUI()
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Editor\UX\Controller\UXControllerEditor.cs
|
||
|
|
NAMESPACE UnityEngine.UI
|
||
|
|
L9 public sealed class UXControllerEditor : UnityEditor.Editor
|
||
|
|
L21 public override void OnInspectorGUI()
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Editor\UX\Controller\UXControllerSceneOverlayWindow.cs
|
||
|
|
NAMESPACE UnityEngine.UI
|
||
|
|
L8 public sealed class UXControllerSceneOverlayWindow : EditorWindow
|
||
|
|
L21 public static void ShowWindow()
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Editor\UX\Controller\UXControllerUIScriptFileWriter.cs
|
||
|
|
NAMESPACE UnityEngine.UI
|
||
|
|
L9 public sealed class UXControllerUIScriptFileWriter : IUIScriptFileWriter
|
||
|
|
L11 public void Write(GameObject targetObject, string className, string scriptContent, UIScriptGenerateData scriptGenerateData)
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Editor\UX\Group\UXGroupEditor.cs
|
||
|
|
NAMESPACE UnityEditor.UI
|
||
|
|
L10 public class UXGroupInspector : Editor
|
||
|
|
L35 public override void OnInspectorGUI()
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Editor\UX\Hotkey\HotkeyComponentEditor.cs
|
||
|
|
NAMESPACE UnityEditor.UI
|
||
|
|
L9 public class HotkeyComponentEditor : UnityEditor.Editor
|
||
|
|
L22 public override void OnInspectorGUI()
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Editor\UX\Image\UXImageEditor.cs
|
||
|
|
NAMESPACE UnityEngine.UI
|
||
|
|
L79 public static GUIContent text = EditorGUIUtility.TrTextContent("Fill Origin");
|
||
|
|
L81 public static GUIContent[] OriginHorizontalStyle =
|
||
|
|
L87 public static GUIContent[] OriginVerticalStyle =
|
||
|
|
L93 public static GUIContent[] Origin90Style =
|
||
|
|
L101 public static GUIContent[] Origin180Style =
|
||
|
|
L109 public static GUIContent[] Origin360Style =
|
||
|
|
L205 public override void OnInspectorGUI()
|
||
|
|
L822 public int EnumPopupLayoutEx(string label, Type type, int enumValueIndex, string[] labels)
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Editor\UX\Selectable\UXSelectableEditor.cs
|
||
|
|
NAMESPACE UnityEditor.UI
|
||
|
|
L22 public TabbedInspector _tabs;
|
||
|
|
L84 public override void OnInspectorGUI()
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Editor\UX\Toggle\UXToggleEditor.cs
|
||
|
|
NAMESPACE UnityEditor.UI
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Editor\UX\UXTextMeshPro\UXTextMeshProEditor.cs
|
||
|
|
NAMESPACE UnityEngine.UI
|
||
|
|
L17 public readonly int Id;
|
||
|
|
L18 public readonly string CombineKey; // SectionName/Key 鈫?鑿滃崟灞傜骇
|
||
|
|
L19 public readonly string CombineValue; // SectionName.Key 鈫?瀛樺偍鐢?
|
||
|
|
L21 public TableSelectionData(int id, string combineKey, string combineValue)
|
||
|
|
L42 public override VisualElement CreateInspectorGUI()
|
||
|
|
L137 public override void OnInspectorGUI()
|
||
|
|
L201 public LocalizationSearchProvider Init(List<string> options, System.Action<string> onSelect)
|
||
|
|
L208 public List<SearchTreeEntry> CreateSearchTree(SearchWindowContext context)
|
||
|
|
L251 public bool OnSelectEntry(SearchTreeEntry searchTreeEntry, SearchWindowContext context)
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Editor\UX\UXTextMeshPro\UXTextMeshProLocalization.cs
|
||
|
|
NAMESPACE UnityEngine.UI
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\InputGlyph\Core\GlyphService.cs
|
||
|
|
NAMESPACE <global>
|
||
|
|
L6 public static class GlyphService
|
||
|
|
L31 public static string GetBindingControlPath(
|
||
|
|
L41 public static string GetBindingControlPath(
|
||
|
|
L49 public static bool TryGetTMPTagForActionPath(
|
||
|
|
L61 public static bool TryGetTMPTagForActionPath(
|
||
|
|
L72 public static bool TryGetUISpriteForActionPath(
|
||
|
|
L83 public static bool TryGetUISpriteForActionPath(
|
||
|
|
L93 public static bool TryGetTMPTagForActionPath(
|
||
|
|
L112 public static bool TryGetUISpriteForActionPath(
|
||
|
|
L123 public static string GetDisplayNameFromInputAction(
|
||
|
|
L137 public static string GetDisplayNameFromControlPath(string controlPath)
|
||
|
|
L162 public static bool TryGetBindingControl(
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\InputGlyph\Core\InputActionReader.cs
|
||
|
|
NAMESPACE <global>
|
||
|
|
L10 public static class InputActionReader
|
||
|
|
L18 public readonly string ActionName;
|
||
|
|
L19 public readonly int OwnerId;
|
||
|
|
L20 public readonly string OwnerKey;
|
||
|
|
L25 public InputReadKey(string actionName, int ownerId)
|
||
|
|
L35 public InputReadKey(string actionName, string ownerKey)
|
||
|
|
L42 public bool Equals(InputReadKey other)
|
||
|
|
L49 public override bool Equals(object obj)
|
||
|
|
L54 public override int GetHashCode()
|
||
|
|
L75 public static T ReadValue<T>(string actionName) where T : struct
|
||
|
|
L83 public static object ReadValue(string actionName)
|
||
|
|
L91 public static bool TryReadValue<T>(string actionName, out T value) where T : struct
|
||
|
|
L107 public static bool TryReadValue(string actionName, out object value)
|
||
|
|
L124 public static bool TryReadValueOnce<T>(UnityEngine.Object owner, string actionName, out T value) where T : struct
|
||
|
|
L139 public static bool ReadButton(string actionName)
|
||
|
|
L153 public static bool ReadButtonOnce(UnityEngine.Object owner, string actionName)
|
||
|
|
L161 public static bool ReadButtonOnce(int instanceID, string actionName)
|
||
|
|
L169 public static bool ReadButtonOnce(string key, string actionName)
|
||
|
|
L178 public static bool ReadButtonToggle(UnityEngine.Object owner, string actionName)
|
||
|
|
L186 public static bool ReadButtonToggle(int instanceID, string actionName)
|
||
|
|
L194 public static bool ReadButtonToggle(string key, string actionName)
|
||
|
|
L202 public static void ResetToggledButton(string key, string actionName)
|
||
|
|
L210 public static void ResetToggledButton(string actionName)
|
||
|
|
L231 public static void ResetToggledButtons()
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\InputGlyph\Core\InputBindingManager.cs
|
||
|
|
NAMESPACE <global>
|
||
|
|
L9 public sealed class InputBindingManager : MonoServiceBehaviour<AppScope>
|
||
|
|
L20 public InputActionAsset actions;
|
||
|
|
L23 public bool debugMode = false;
|
||
|
|
L35 public event Action<bool, HashSet<RebindContext>> OnApply;
|
||
|
|
L36 public event Action<RebindContext> OnRebindPrepare;
|
||
|
|
L37 public event Action OnRebindStart;
|
||
|
|
L38 public event Action<bool, RebindContext> OnRebindEnd;
|
||
|
|
L39 public event Action<RebindContext, RebindContext> OnRebindConflict;
|
||
|
|
L40 public static event Action BindingsChanged;
|
||
|
|
L43 public IReadOnlyDictionary<string, ActionMap> ActionMaps => actionMap;
|
||
|
|
L44 public IReadOnlyCollection<RebindContext> PreparedRebinds => preparedRebinds;
|
||
|
|
L188 public sealed class ActionMap
|
||
|
|
L190 public string name;
|
||
|
|
L191 public Dictionary<string, Action> actions;
|
||
|
|
L193 public ActionMap(InputActionMap map)
|
||
|
|
L204 public sealed class Action
|
||
|
|
L206 public InputAction action;
|
||
|
|
L207 public Dictionary<int, Binding> bindings;
|
||
|
|
L209 public Action(InputAction action)
|
||
|
|
L245 public readonly struct Binding
|
||
|
|
L247 public readonly string name;
|
||
|
|
L248 public readonly string parentAction;
|
||
|
|
L249 public readonly string compositePart;
|
||
|
|
L250 public readonly int bindingIndex;
|
||
|
|
L251 public readonly BindingPath bindingPath;
|
||
|
|
L252 public readonly InputBinding inputBinding;
|
||
|
|
L254 public Binding(string name, string parentAction, string compositePart, int bindingIndex,
|
||
|
|
L268 public sealed class BindingPath
|
||
|
|
L270 public string bindingPath;
|
||
|
|
L271 public string overridePath;
|
||
|
|
L274 public BindingPath(string bindingPath, string overridePath)
|
||
|
|
L280 public string EffectivePath
|
||
|
|
L290 public void SubscribeToEffectivePathChanged(Action<string> callback)
|
||
|
|
L295 public void UnsubscribeFromEffectivePathChanged(Action<string> callback)
|
||
|
|
L300 public void Dispose()
|
||
|
|
L306 public sealed class RebindContext
|
||
|
|
L308 public InputAction action;
|
||
|
|
L309 public int bindingIndex;
|
||
|
|
L310 public string overridePath;
|
||
|
|
L313 public RebindContext(InputAction action, int bindingIndex, string overridePath)
|
||
|
|
L320 public override bool Equals(object obj)
|
||
|
|
L327 public override int GetHashCode()
|
||
|
|
L338 public override string ToString()
|
||
|
|
L533 public int FindBestBindingIndexForKeyboard(InputAction action, string compositePartName = null)
|
||
|
|
L576 public static InputAction Action(string actionName)
|
||
|
|
L594 public bool TryGetAction(string actionName, out InputAction action)
|
||
|
|
L617 public void StartRebind(string actionName, string compositePartName = null)
|
||
|
|
L642 public void CancelRebind() => rebindOperation?.Cancel();
|
||
|
|
L649 public async Task<bool> ConfirmApply(bool clearConflicts = true)
|
||
|
|
L704 public void DiscardPrepared()
|
||
|
|
L725 public async Task ResetToDefaultAsync()
|
||
|
|
L767 public BindingPath GetBindingPath(string actionName, int bindingIndex = 0)
|
||
|
|
L778 public BindingPath GetBindingPath(InputAction action, int bindingIndex = 0)
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\InputGlyph\Core\InputDeviceWatcher.cs
|
||
|
|
NAMESPACE <global>
|
||
|
|
L10 public static class InputDeviceWatcher
|
||
|
|
L12 public enum InputDeviceCategory
|
||
|
|
L20 public readonly struct DeviceContext : IEquatable<DeviceContext>
|
||
|
|
L22 public readonly InputDeviceCategory Category;
|
||
|
|
L23 public readonly int DeviceId;
|
||
|
|
L24 public readonly int VendorId;
|
||
|
|
L25 public readonly int ProductId;
|
||
|
|
L26 public readonly string DeviceName;
|
||
|
|
L27 public readonly string Layout;
|
||
|
|
L29 public DeviceContext(
|
||
|
|
L45 public bool Equals(DeviceContext other)
|
||
|
|
L55 public override bool Equals(object obj)
|
||
|
|
L60 public override int GetHashCode()
|
||
|
|
L78 public int vendorId;
|
||
|
|
L79 public int productId;
|
||
|
|
L87 public static InputDeviceCategory CurrentCategory { get; private set; } = InputDeviceCategory.Keyboard;
|
||
|
|
L88 public static string CurrentDeviceName { get; private set; } = DefaultKeyboardDeviceName;
|
||
|
|
L89 public static int CurrentDeviceId { get; private set; } = -1;
|
||
|
|
L90 public static int CurrentVendorId { get; private set; }
|
||
|
|
L91 public static int CurrentProductId { get; private set; }
|
||
|
|
L92 public static DeviceContext CurrentContext { get; private set; } = CreateDefaultContext();
|
||
|
|
L100 public static event Action<InputDeviceCategory> OnDeviceChanged;
|
||
|
|
L101 public static event Action<DeviceContext> OnDeviceContextChanged;
|
||
|
|
L104 public static void Initialize()
|
||
|
|
L145 public static void Dispose()
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\InputGlyph\Data\InputGlyphDatabase.cs
|
||
|
|
NAMESPACE <global>
|
||
|
|
L7 public sealed class GlyphEntry
|
||
|
|
L9 public Sprite Sprite;
|
||
|
|
L10 public InputAction action;
|
||
|
|
L14 public sealed class DeviceGlyphTable
|
||
|
|
L16 public string deviceName;
|
||
|
|
L17 public Texture2D spriteSheetTexture;
|
||
|
|
L18 public Sprite platformIcons;
|
||
|
|
L19 public List<GlyphEntry> entries = new List<GlyphEntry>();
|
||
|
|
L23 public sealed class InputGlyphDatabase : ScriptableObject
|
||
|
|
L50 public List<DeviceGlyphTable> tables = new List<DeviceGlyphTable>();
|
||
|
|
L51 public Sprite placeholderSprite;
|
||
|
|
L68 public DeviceGlyphTable GetTable(string deviceName)
|
||
|
|
L80 public DeviceGlyphTable GetTable(InputDeviceWatcher.InputDeviceCategory device)
|
||
|
|
L95 public Sprite GetPlatformIcon(InputDeviceWatcher.InputDeviceCategory device)
|
||
|
|
L101 public bool TryGetSprite(string controlPath, InputDeviceWatcher.InputDeviceCategory device, out Sprite sprite)
|
||
|
|
L125 public Sprite FindSprite(string controlPath, InputDeviceWatcher.InputDeviceCategory device)
|
||
|
|
L130 public GlyphEntry FindEntryByControlPath(string controlPath, InputDeviceWatcher.InputDeviceCategory device)
|
||
|
|
L200 public void EditorRefreshCache()
|
||
|
|
L205 public static string EditorNormalizeControlPath(string controlPath)
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\InputGlyph\Editor\InputGlyphDatabaseEditor.cs
|
||
|
|
NAMESPACE <global>
|
||
|
|
L8 public sealed class InputGlyphDatabaseEditor : Editor
|
||
|
|
L29 public Sprite PendingSprite;
|
||
|
|
L30 public bool ShowValidation = true;
|
||
|
|
L31 public string EntrySearch = string.Empty;
|
||
|
|
L32 public int CurrentPage;
|
||
|
|
L33 public int EntriesPerPage = DefaultEntriesPerPage;
|
||
|
|
L34 public readonly List<int> FilteredEntryIndices = new();
|
||
|
|
L35 public string CachedSearch = string.Empty;
|
||
|
|
L36 public int CachedEntryCount = -1;
|
||
|
|
L63 public override void OnInspectorGUI()
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\InputGlyph\Editor\InputGlyphEditor.cs
|
||
|
|
NAMESPACE <global>
|
||
|
|
L10 public sealed class InputGlyphEditor : Editor
|
||
|
|
L40 public override void OnInspectorGUI()
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\InputGlyph\InputGlyph.cs
|
||
|
|
NAMESPACE <global>
|
||
|
|
L11 public sealed class InputGlyph : InputGlyphBehaviourBase
|
||
|
|
L13 public enum ActionSourceMode
|
||
|
|
L20 public enum OutputMode
|
||
|
|
L27 public sealed class DeviceCategoryEvent
|
||
|
|
L29 public InputDeviceWatcher.InputDeviceCategory category;
|
||
|
|
L30 public UnityEvent onMatched;
|
||
|
|
L31 public UnityEvent onNotMatched;
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\InputGlyph\InputGlyphBehaviourBase.cs
|
||
|
|
NAMESPACE <global>
|
||
|
|
L3 public abstract class InputGlyphBehaviourBase : MonoBehaviour
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\InputGlyph\TestRebindScript.cs
|
||
|
|
NAMESPACE <global>
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\Adapter\Adapter.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L11 public class Adapter<T> : IAdapter, IItemRenderCacheOwner where T : ISimpleViewData
|
||
|
|
L15 public ItemRenderEntry(string viewName, IItemRender itemRender)
|
||
|
|
L21 public string ViewName { get; }
|
||
|
|
L23 public IItemRender ItemRender { get; }
|
||
|
|
L34 public int ChoiceIndex
|
||
|
|
L40 public Adapter(RecyclerView recyclerView) : this(recyclerView, new List<T>())
|
||
|
|
L44 public Adapter(RecyclerView recyclerView, List<T> list)
|
||
|
|
L50 public virtual int GetItemCount()
|
||
|
|
L55 public virtual int GetRealCount()
|
||
|
|
L60 public virtual string GetViewName(int index)
|
||
|
|
L65 public virtual void OnBindViewHolder(ViewHolder viewHolder, int index)
|
||
|
|
L93 public virtual void OnRecycleViewHolder(ViewHolder viewHolder)
|
||
|
|
L104 public virtual void NotifyDataChanged()
|
||
|
|
L111 public virtual void SetList(List<T> list)
|
||
|
|
L118 public virtual void NotifyItemChanged(int index, bool relayout = false)
|
||
|
|
L136 public virtual void NotifyItemRangeChanged(int index, int count, bool relayout = false)
|
||
|
|
L154 public virtual void NotifyItemInserted(int index)
|
||
|
|
L161 public virtual void NotifyItemRangeInserted(int index, int count)
|
||
|
|
L173 public virtual void NotifyItemRemoved(int index)
|
||
|
|
L180 public virtual void NotifyItemRangeRemoved(int index, int count)
|
||
|
|
L192 public void RegisterItemRender<TItemRender>(string viewName = "") where TItemRender : ItemRenderBase
|
||
|
|
L197 public void RegisterItemRender(Type itemRenderType, string viewName = "")
|
||
|
|
L212 public bool UnregisterItemRender(string viewName = "")
|
||
|
|
L235 public void ClearItemRenderRegistrations()
|
||
|
|
L242 public T GetData(int index)
|
||
|
|
L249 public void Add(T item)
|
||
|
|
L260 public void AddRange(IEnumerable<T> collection)
|
||
|
|
L278 public void Insert(int index, T item)
|
||
|
|
L284 public void InsertRange(int index, IEnumerable<T> collection)
|
||
|
|
L301 public void Remove(T item)
|
||
|
|
L307 public void RemoveAt(int index)
|
||
|
|
L315 public void RemoveRange(int index, int count)
|
||
|
|
L321 public void RemoveAll(Predicate<T> match)
|
||
|
|
L327 public void Clear()
|
||
|
|
L339 public void Reverse(int index, int count)
|
||
|
|
L345 public void Reverse()
|
||
|
|
L351 public void Sort(Comparison<T> comparison)
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\Adapter\GroupAdapter.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L6 public class GroupAdapter<TData> : Adapter<TData> where TData : IGroupViewData, new()
|
||
|
|
L11 public GroupAdapter(RecyclerView recyclerView, string groupViewName) : base(recyclerView)
|
||
|
|
L16 public GroupAdapter(RecyclerView recyclerView, List<TData> list) : base(recyclerView, list)
|
||
|
|
L20 public GroupAdapter(RecyclerView recyclerView) : base(recyclerView)
|
||
|
|
L24 public override int GetItemCount()
|
||
|
|
L29 public override string GetViewName(int index)
|
||
|
|
L36 public override void NotifyDataChanged()
|
||
|
|
L75 public override void SetList(List<TData> list)
|
||
|
|
L95 public void Expand(int index)
|
||
|
|
L113 public void Collapse(int index)
|
||
|
|
L150 public void Activate(int index)
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\Adapter\IAdapter.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L3 public interface IAdapter
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\Adapter\ItemRender.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L43 public abstract class ItemRenderBase : IItemRender
|
||
|
|
L101 public abstract class ItemRender<TData, THolder> : ItemRenderBase, IItemInteractionHost, ITypedItemRender<TData>
|
||
|
|
L154 public virtual ItemInteractionFlags InteractionFlags => ItemInteractionFlags.None;
|
||
|
|
L581 public ItemRenderDefinition(Type itemRenderType, Type holderType, Func<IItemRender> createInstance)
|
||
|
|
L590 public Type ItemRenderType { get; }
|
||
|
|
L594 public Type HolderType { get; }
|
||
|
|
L607 public IItemRender Create(ViewHolder viewHolder, RecyclerView recyclerView, IAdapter adapter, Action<int> selectionHandler)
|
||
|
|
L639 public static ItemRenderDefinition GetOrCreate(Type itemRenderType)
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\Adapter\LoopAdapter.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L5 public class LoopAdapter<T> : Adapter<T> where T : ISimpleViewData
|
||
|
|
L7 public LoopAdapter(RecyclerView recyclerView) : base(recyclerView)
|
||
|
|
L11 public LoopAdapter(RecyclerView recyclerView, List<T> list) : base(recyclerView, list)
|
||
|
|
L15 public override int GetItemCount()
|
||
|
|
L20 public override int GetRealCount()
|
||
|
|
L25 public override void OnBindViewHolder(ViewHolder viewHolder, int index)
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\Adapter\MixedAdapter.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L5 public class MixedAdapter<TData> : Adapter<TData> where TData : IMixedViewData
|
||
|
|
L7 public MixedAdapter(RecyclerView recyclerView) : base(recyclerView)
|
||
|
|
L11 public MixedAdapter(RecyclerView recyclerView, List<TData> list) : base(recyclerView, list)
|
||
|
|
L15 public override string GetViewName(int index)
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\Data\ISimpleViewData.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L3 public interface ISimpleViewData
|
||
|
|
L7 public interface IMixedViewData : ISimpleViewData
|
||
|
|
L12 public interface IGroupViewData : IMixedViewData
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\Interaction\IItemInteractionHost.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\Interaction\ItemInteractionFlags.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L6 public enum ItemInteractionFlags
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\Interaction\ItemInteractionProxy.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L8 public sealed class ItemInteractionProxy : MonoBehaviour,
|
||
|
|
L44 public void Clear()
|
||
|
|
L59 public Selectable GetSelectable()
|
||
|
|
L65 public void OnPointerClick(PointerEventData eventData)
|
||
|
|
L73 public void OnPointerEnter(PointerEventData eventData)
|
||
|
|
L81 public void OnPointerExit(PointerEventData eventData)
|
||
|
|
L89 public void OnSelect(BaseEventData eventData)
|
||
|
|
L97 public void OnDeselect(BaseEventData eventData)
|
||
|
|
L105 public void OnMove(AxisEventData eventData)
|
||
|
|
L113 public void OnBeginDrag(PointerEventData eventData)
|
||
|
|
L124 public void OnDrag(PointerEventData eventData)
|
||
|
|
L135 public void OnEndDrag(PointerEventData eventData)
|
||
|
|
L146 public void OnSubmit(BaseEventData eventData)
|
||
|
|
L154 public void OnCancel(BaseEventData eventData)
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\Interaction\RecyclerItemSelectable.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L5 public sealed class RecyclerItemSelectable : Selectable
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\Layout\CircleLayoutManager.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L6 public class CircleLayoutManager : LayoutManager
|
||
|
|
L16 public CircleLayoutManager()
|
||
|
|
L21 public override Vector2 CalculateContentSize()
|
||
|
|
L38 public override Vector2 CalculateContentOffset()
|
||
|
|
L43 public override Vector2 CalculateViewportOffset()
|
||
|
|
L48 public override void Layout(ViewHolder viewHolder, int index)
|
||
|
|
L53 public override Vector2 CalculatePosition(int index)
|
||
|
|
L65 public override int GetStartIndex()
|
||
|
|
L70 public override int GetEndIndex()
|
||
|
|
L75 public override bool IsFullVisibleStart(int index) => false;
|
||
|
|
L77 public override bool IsFullInvisibleStart(int index) => false;
|
||
|
|
L79 public override bool IsFullVisibleEnd(int index) => false;
|
||
|
|
L81 public override bool IsFullInvisibleEnd(int index) => false;
|
||
|
|
L83 public override bool IsVisible(int index) => true;
|
||
|
|
L85 public override float IndexToPosition(int index)
|
||
|
|
L97 public override int PositionToIndex(float position)
|
||
|
|
L108 public override void DoItemAnimation()
|
||
|
|
L126 public enum CircleDirection
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\Layout\GridLayoutManager.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L7 public class GridLayoutManager : LayoutManager
|
||
|
|
L14 public GridLayoutManager()
|
||
|
|
L19 public override Vector2 CalculateContentSize()
|
||
|
|
L44 public override Vector2 CalculatePosition(int index)
|
||
|
|
L63 public override Vector2 CalculateContentOffset()
|
||
|
|
L84 public override Vector2 CalculateViewportOffset()
|
||
|
|
L105 public override int GetStartIndex()
|
||
|
|
L122 public override int GetEndIndex()
|
||
|
|
L140 public override float IndexToPosition(int index)
|
||
|
|
L165 public override int PositionToIndex(float position)
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\Layout\ILayoutManager.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L5 public interface ILayoutManager
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\Layout\LayoutManager.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L6 public abstract class LayoutManager : ILayoutManager
|
||
|
|
L9 public Vector2 ViewportSize
|
||
|
|
L16 public Vector2 ContentSize
|
||
|
|
L23 public Vector2 ContentOffset
|
||
|
|
L30 public Vector2 ViewportOffset
|
||
|
|
L37 public IAdapter Adapter
|
||
|
|
L44 public ViewProvider ViewProvider
|
||
|
|
L51 public virtual RecyclerView RecyclerView
|
||
|
|
L58 public Direction Direction
|
||
|
|
L65 public Alignment Alignment
|
||
|
|
L72 public Vector2 Spacing
|
||
|
|
L79 public Vector2 Padding
|
||
|
|
L86 public int Unit
|
||
|
|
L93 public float ScrollPosition => recyclerView.GetScrollPosition();
|
||
|
|
L95 public LayoutManager() { }
|
||
|
|
L97 public void SetContentSize()
|
||
|
|
L105 public void UpdateLayout()
|
||
|
|
L113 public virtual void Layout(ViewHolder viewHolder, int index)
|
||
|
|
L122 public abstract Vector2 CalculateContentSize();
|
||
|
|
L124 public abstract Vector2 CalculatePosition(int index);
|
||
|
|
L126 public abstract Vector2 CalculateContentOffset();
|
||
|
|
L128 public abstract Vector2 CalculateViewportOffset();
|
||
|
|
L130 public abstract int GetStartIndex();
|
||
|
|
L132 public abstract int GetEndIndex();
|
||
|
|
L134 public abstract float IndexToPosition(int index);
|
||
|
|
L136 public abstract int PositionToIndex(float position);
|
||
|
|
L138 public virtual void DoItemAnimation() { }
|
||
|
|
L140 public virtual bool IsFullVisibleStart(int index)
|
||
|
|
L147 public virtual bool IsFullInvisibleStart(int index)
|
||
|
|
L154 public virtual bool IsFullVisibleEnd(int index)
|
||
|
|
L162 public virtual bool IsFullInvisibleEnd(int index)
|
||
|
|
L170 public virtual bool IsVisible(int index)
|
||
|
|
L212 public enum Direction
|
||
|
|
L219 public enum Alignment
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\Layout\LinearLayoutManager.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L7 public class LinearLayoutManager : LayoutManager
|
||
|
|
L11 public LinearLayoutManager() { }
|
||
|
|
L13 public override Vector2 CalculateContentSize()
|
||
|
|
L37 public override Vector2 CalculatePosition(int index)
|
||
|
|
L49 public override Vector2 CalculateContentOffset()
|
||
|
|
L64 public override Vector2 CalculateViewportOffset()
|
||
|
|
L78 public override int GetStartIndex()
|
||
|
|
L95 public override int GetEndIndex()
|
||
|
|
L113 public override float IndexToPosition(int index)
|
||
|
|
L134 public override int PositionToIndex(float position)
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\Layout\MixedLayoutManager.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L7 public class MixedLayoutManager : LayoutManager
|
||
|
|
L15 public MixedLayoutManager() { }
|
||
|
|
L17 public override Vector2 CalculateContentSize()
|
||
|
|
L32 public override Vector2 CalculatePosition(int index)
|
||
|
|
L42 public override Vector2 CalculateContentOffset()
|
||
|
|
L59 public override Vector2 CalculateViewportOffset()
|
||
|
|
L75 public override int GetStartIndex()
|
||
|
|
L87 public override int GetEndIndex()
|
||
|
|
L100 public override float IndexToPosition(int index)
|
||
|
|
L117 public override int PositionToIndex(float position)
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\Layout\PageLayoutManager.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L7 public class PageLayoutManager : LinearLayoutManager
|
||
|
|
L11 public PageLayoutManager()
|
||
|
|
L15 public override Vector2 CalculateContentSize()
|
||
|
|
L42 public override Vector2 CalculatePosition(int index)
|
||
|
|
L55 public override Vector2 CalculateContentOffset()
|
||
|
|
L60 public override Vector2 CalculateViewportOffset()
|
||
|
|
L76 public override int PositionToIndex(float position)
|
||
|
|
L95 public override void DoItemAnimation()
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\Navigation\RecyclerNavigationBridge.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L8 public sealed class RecyclerNavigationBridge : Selectable, ISelectHandler, IMoveHandler, ISubmitHandler
|
||
|
|
L24 public override void OnSelect(BaseEventData eventData)
|
||
|
|
L30 public override void OnMove(AxisEventData eventData)
|
||
|
|
L38 public void OnSubmit(BaseEventData eventData)
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\Navigation\RecyclerNavigationController.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L6 public sealed class RecyclerNavigationController
|
||
|
|
L10 public RecyclerNavigationController(RecyclerView recyclerView)
|
||
|
|
L15 public bool TryMove(ViewHolder currentHolder, MoveDirection direction, RecyclerNavigationOptions options)
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\Navigation\RecyclerNavigationOptions.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L3 public readonly struct RecyclerNavigationOptions
|
||
|
|
L5 public static readonly RecyclerNavigationOptions Clamped = new(false, false, ScrollAlignment.Center);
|
||
|
|
L6 public static readonly RecyclerNavigationOptions Circular = new(true, false, ScrollAlignment.Center);
|
||
|
|
L8 public RecyclerNavigationOptions(bool wrap, bool smoothScroll, ScrollAlignment alignment)
|
||
|
|
L15 public bool Wrap { get; }
|
||
|
|
L17 public bool SmoothScroll { get; }
|
||
|
|
L19 public ScrollAlignment Alignment { get; }
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\ObjectPool\IMixedObjectFactory.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L3 public interface IMixedObjectFactory<T> where T : class
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\ObjectPool\IMixedObjectPool.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L5 public interface IMixedObjectPool<T> : IDisposable where T : class
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\ObjectPool\IObjectFactory.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L3 public interface IObjectFactory<T> where T : class
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\ObjectPool\IObjectPool.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L5 public interface IObjectPool : IDisposable
|
||
|
|
L12 public interface IObjectPool<T> : IObjectPool, IDisposable where T : class
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\ObjectPool\MixedObjectPool.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L6 public class MixedObjectPool<T> : IMixedObjectPool<T> where T : class
|
||
|
|
L21 public MixedObjectPool(IMixedObjectFactory<T> factory) : this(factory, DEFAULT_MAX_SIZE_PER_TYPE)
|
||
|
|
L25 public MixedObjectPool(IMixedObjectFactory<T> factory, int defaultMaxSizePerType)
|
||
|
|
L41 public T Allocate(string typeName)
|
||
|
|
L57 public void Free(string typeName, T obj)
|
||
|
|
L85 public int GetMaxSize(string typeName)
|
||
|
|
L95 public void SetMaxSize(string typeName, int value)
|
||
|
|
L100 public void EnsureCapacity(string typeName, int value)
|
||
|
|
L114 public void Warm(string typeName, int count)
|
||
|
|
L134 public int GetActiveCount(string typeName)
|
||
|
|
L139 public int GetPeakActiveCount(string typeName)
|
||
|
|
L144 public int HitCount => hitCount;
|
||
|
|
L146 public int MissCount => missCount;
|
||
|
|
L148 public int DestroyCount => destroyCount;
|
||
|
|
L172 public void Dispose()
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\ObjectPool\ObjectPool.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L6 public class ObjectPool<T> : IObjectPool<T> where T : class
|
||
|
|
L19 public ObjectPool(IObjectFactory<T> factory) : this(factory, Environment.ProcessorCount * 2)
|
||
|
|
L23 public ObjectPool(IObjectFactory<T> factory, int maxSize) : this(factory, 0, maxSize)
|
||
|
|
L27 public ObjectPool(IObjectFactory<T> factory, int initialSize, int maxSize)
|
||
|
|
L42 public int MaxSize => maxSize;
|
||
|
|
L44 public int InitialSize => initialSize;
|
||
|
|
L46 public int InactiveCount => entries.Count;
|
||
|
|
L48 public int ActiveCount => activeCount;
|
||
|
|
L50 public int TotalCount => totalCount;
|
||
|
|
L52 public int PeakActive => peakActive;
|
||
|
|
L54 public int HitCount => hitCount;
|
||
|
|
L56 public int MissCount => missCount;
|
||
|
|
L58 public int DestroyCount => destroyCount;
|
||
|
|
L60 public virtual T Allocate()
|
||
|
|
L90 public virtual void Free(T obj)
|
||
|
|
L137 public void Free(object obj)
|
||
|
|
L157 public void Dispose()
|
||
|
|
L163 public void EnsureCapacity(int value)
|
||
|
|
L176 public void Warm(int count)
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\ObjectPool\UnityComponentFactory.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L5 public class UnityComponentFactory<T> : IObjectFactory<T> where T : Component
|
||
|
|
L10 public UnityComponentFactory(T template, Transform parent)
|
||
|
|
L16 public T Create()
|
||
|
|
L22 public void Destroy(T obj)
|
||
|
|
L27 public void Reset(T obj)
|
||
|
|
L32 public bool Validate(T obj)
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\ObjectPool\UnityGameObjectFactory.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L5 public class UnityGameObjectFactory : IObjectFactory<GameObject>
|
||
|
|
L10 public UnityGameObjectFactory(GameObject template, Transform parent)
|
||
|
|
L16 public virtual GameObject Create()
|
||
|
|
L21 public virtual void Reset(GameObject obj)
|
||
|
|
L26 public virtual void Destroy(GameObject obj)
|
||
|
|
L31 public virtual bool Validate(GameObject obj)
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\ObjectPool\UnityMixedComponentFactory.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L6 public class UnityMixedComponentFactory<T> : IMixedObjectFactory<T> where T : Component
|
||
|
|
L14 public UnityMixedComponentFactory(T template, Transform parent)
|
||
|
|
L20 public UnityMixedComponentFactory(List<T> list, Transform parent)
|
||
|
|
L31 public UnityMixedComponentFactory(Dictionary<string, T> dict, Transform parent)
|
||
|
|
L37 public T Create(string typeName)
|
||
|
|
L56 public void Destroy(string typeName, T obj)
|
||
|
|
L61 public void Reset(string typeName, T obj)
|
||
|
|
L66 public bool Validate(string typeName, T obj)
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\ObjectPool\UnityMixedGameObjectFactory.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L5 public class UnityMixedGameObjectFactory : IMixedObjectFactory<GameObject>
|
||
|
|
L10 public UnityMixedGameObjectFactory(GameObject template, Transform parent)
|
||
|
|
L16 public GameObject Create(string typeName)
|
||
|
|
L26 public void Destroy(string typeName, GameObject obj)
|
||
|
|
L31 public void Reset(string typeName, GameObject obj)
|
||
|
|
L36 public bool Validate(string typeName, GameObject obj)
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\Scroller\CircleScroller.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L6 public class CircleScroller : Scroller
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\Scroller\IScroller.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L5 public interface IScroller
|
||
|
|
L12 public class ScrollerEvent : UnityEvent<float> { }
|
||
|
|
L14 public class MoveStopEvent : UnityEvent { }
|
||
|
|
L16 public class DraggingEvent : UnityEvent<bool> { }
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\Scroller\ScrollbarEx.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L8 public class ScrollbarEx : MonoBehaviour, IBeginDragHandler, IEndDragHandler, IPointerEnterHandler, IPointerExitHandler
|
||
|
|
L13 public Action OnDragEnd;
|
||
|
|
L24 public void OnBeginDrag(PointerEventData eventData)
|
||
|
|
L29 public void OnEndDrag(PointerEventData eventData)
|
||
|
|
L56 public void OnPointerEnter(PointerEventData eventData)
|
||
|
|
L79 public void OnPointerExit(PointerEventData eventData)
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\Scroller\Scroller.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L7 public class Scroller : MonoBehaviour, IScroller, IBeginDragHandler, IEndDragHandler, IDragHandler, IScrollHandler
|
||
|
|
L13 public float Position { get => position; set => position = value; }
|
||
|
|
L16 public float Velocity => velocity;
|
||
|
|
L19 public Direction Direction
|
||
|
|
L26 public Vector2 ContentSize
|
||
|
|
L33 public Vector2 ViewSize
|
||
|
|
L40 public float ScrollSpeed
|
||
|
|
L47 public float WheelSpeed
|
||
|
|
L54 public bool Snap
|
||
|
|
L64 public float MaxPosition => direction == Direction.Vertical ?
|
||
|
|
L68 public float ViewLength => direction == Direction.Vertical ? viewSize.y : viewSize.x;
|
||
|
|
L70 public ScrollerEvent OnValueChanged { get => scrollerEvent; set => scrollerEvent = value; }
|
||
|
|
L72 public MoveStopEvent OnMoveStoped { get => moveStopEvent; set => moveStopEvent = value; }
|
||
|
|
L74 public DraggingEvent OnDragging { get => draggingEvent; set => draggingEvent = value; }
|
||
|
|
L76 public float dragStopTime = 0f;
|
||
|
|
L79 public virtual void ScrollTo(float position, bool smooth = false)
|
||
|
|
L96 public virtual void ScrollToDuration(float position, float duration)
|
||
|
|
L114 public virtual void ScrollToRatio(float ratio)
|
||
|
|
L119 public void OnBeginDrag(PointerEventData eventData)
|
||
|
|
L125 public void OnEndDrag(PointerEventData eventData)
|
||
|
|
L132 public void OnDrag(PointerEventData eventData)
|
||
|
|
L142 public void OnScroll(PointerEventData eventData)
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\ViewHolder\ViewHolder.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L6 public abstract class ViewHolder : MonoBehaviour
|
||
|
|
L12 public RectTransform RectTransform
|
||
|
|
L25 public string Name { get; internal set; }
|
||
|
|
L27 public int Index { get; internal set; }
|
||
|
|
L29 public int DataIndex { get; internal set; } = -1;
|
||
|
|
L31 public RecyclerView RecyclerView { get; internal set; }
|
||
|
|
L33 public uint BindingVersion { get; private set; }
|
||
|
|
L35 public Vector2 SizeDelta => RectTransform.sizeDelta;
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\ViewProvider\MixedViewProvider.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L6 public class MixedViewProvider : ViewProvider
|
||
|
|
L11 public override string PoolStats =>
|
||
|
|
L14 public MixedViewProvider(RecyclerView recyclerView, ViewHolder[] templates) : base(recyclerView, templates)
|
||
|
|
L31 public override ViewHolder GetTemplate(string viewName)
|
||
|
|
L46 public override ViewHolder[] GetTemplates()
|
||
|
|
L58 public override ViewHolder Allocate(string viewName)
|
||
|
|
L65 public override void Free(string viewName, ViewHolder viewHolder)
|
||
|
|
L70 public override void Reset()
|
||
|
|
L77 public override void PreparePool()
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\ViewProvider\SimpleViewProvider.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L5 public sealed class SimpleViewProvider : ViewProvider
|
||
|
|
L9 public override string PoolStats =>
|
||
|
|
L12 public SimpleViewProvider(RecyclerView recyclerView, ViewHolder[] templates) : base(recyclerView, templates)
|
||
|
|
L18 public override ViewHolder GetTemplate(string viewName = "")
|
||
|
|
L27 public override ViewHolder[] GetTemplates()
|
||
|
|
L36 public override ViewHolder Allocate(string viewName)
|
||
|
|
L43 public override void Free(string viewName, ViewHolder viewHolder)
|
||
|
|
L48 public override void Reset()
|
||
|
|
L55 public override void PreparePool()
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\ViewProvider\ViewProvider.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L7 public abstract class ViewProvider
|
||
|
|
L14 public IAdapter Adapter { get; set; }
|
||
|
|
L16 public LayoutManager LayoutManager { get; set; }
|
||
|
|
L18 public IReadOnlyList<ViewHolder> ViewHolders => viewHolders;
|
||
|
|
L20 public abstract string PoolStats { get; }
|
||
|
|
L25 public ViewProvider(RecyclerView recyclerView, ViewHolder[] templates)
|
||
|
|
L31 public abstract ViewHolder GetTemplate(string viewName);
|
||
|
|
L33 public abstract ViewHolder[] GetTemplates();
|
||
|
|
L35 public abstract ViewHolder Allocate(string viewName);
|
||
|
|
L37 public abstract void Free(string viewName, ViewHolder viewHolder);
|
||
|
|
L39 public abstract void Reset();
|
||
|
|
L41 public abstract void PreparePool();
|
||
|
|
L43 public void CreateViewHolder(int index)
|
||
|
|
L63 public void RemoveViewHolder(int index)
|
||
|
|
L85 public ViewHolder GetViewHolder(int index)
|
||
|
|
L92 public ViewHolder GetViewHolderByDataIndex(int dataIndex)
|
||
|
|
L100 public bool TryGetViewHoldersByDataIndex(int dataIndex, out IReadOnlyList<ViewHolder> holders)
|
||
|
|
L112 public int GetViewHolderIndex(int index)
|
||
|
|
L119 public void Clear()
|
||
|
|
L137 public Vector2 CalculateViewSize(int index)
|
||
|
|
L143 public int GetItemCount()
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\EaseUtil.cs
|
||
|
|
NAMESPACE <global>
|
||
|
|
L3 public class EaseUtil
|
||
|
|
L5 public static double EaseInSine(float x)
|
||
|
|
L10 public static double EaseOutSine(float x)
|
||
|
|
L15 public static double EaseInOutSine(float x)
|
||
|
|
L20 public static double EaseInQuad(float x)
|
||
|
|
L25 public static double EaseOutQuad(float x)
|
||
|
|
L30 public static double EaseInOutQuad(float x)
|
||
|
|
L35 public static double EaseInQuart(float x)
|
||
|
|
L40 public static double EaseOutQuart(float x)
|
||
|
|
L45 public static double EaseInOutQuart(float x)
|
||
|
|
L50 public static double EaseInCubic(float x)
|
||
|
|
L55 public static double EaseOutCubic(float x)
|
||
|
|
L60 public static double EaseInOutCubic(float x)
|
||
|
|
L65 public static double EaseInQuint(float x)
|
||
|
|
L70 public static double EaseOutQuint(float x)
|
||
|
|
L75 public static double EaseInOutQuint(float x)
|
||
|
|
L80 public static double EaseInExpo(float x)
|
||
|
|
L85 public static double EaseOutExpo(float x)
|
||
|
|
L90 public static double EaseInOutExpo(float x)
|
||
|
|
L98 public static double EaseInCirc(float x)
|
||
|
|
L103 public static double EaseOutCirc(float x)
|
||
|
|
L108 public static double EaseInOutCirc(float x)
|
||
|
|
L113 public static double EaseInBack(float x)
|
||
|
|
L121 public static double EaseOutBack(float x)
|
||
|
|
L129 public static double EaseInOutBack(float x)
|
||
|
|
L139 public static double EaseInElastic(float x)
|
||
|
|
L145 public static double EaseOutElastic(float x)
|
||
|
|
L151 public static double EaseInOutElastic(float x)
|
||
|
|
L160 public static double EaseInBounce(float x)
|
||
|
|
L165 public static double EaseOutBounce(float x)
|
||
|
|
L188 public static double EaseInOutBounce(float x)
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\RecyclerView.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L14 public class RecyclerView : MonoBehaviour
|
||
|
|
L183 public Direction Direction
|
||
|
|
L192 public Alignment Alignment
|
||
|
|
L201 public Vector2 Spacing
|
||
|
|
L210 public Vector2 Padding
|
||
|
|
L223 public bool Scroll
|
||
|
|
L250 public bool Snap
|
||
|
|
L271 public float ScrollSpeed
|
||
|
|
L289 public float WheelSpeed
|
||
|
|
L307 public bool ShowScrollBarOnlyWhenScrollable
|
||
|
|
L326 public ViewHolder[] Templates
|
||
|
|
L335 public RectTransform Content
|
||
|
|
L360 public Scrollbar Scrollbar => scrollbar;
|
||
|
|
L365 public Scroller Scroller => scroller;
|
||
|
|
L370 public ViewProvider ViewProvider
|
||
|
|
L393 public string PoolStats => viewProvider?.PoolStats ?? string.Empty;
|
||
|
|
L398 public LayoutManager LayoutManager => layoutManager;
|
||
|
|
L403 public RecyclerNavigationController NavigationController => navigationController ??= new RecyclerNavigationController(this);
|
||
|
|
L412 public IAdapter RecyclerViewAdapter { get; set; }
|
||
|
|
L417 public int CurrentIndex
|
||
|
|
L430 public Action<int> OnIndexChanged;
|
||
|
|
L435 public Action OnScrollValueChanged;
|
||
|
|
L567 public void SetAdapter(IAdapter adapter)
|
||
|
|
L616 public bool TryGetVisibleViewHolder(int index, out ViewHolder viewHolder)
|
||
|
|
L629 public bool TryFocusIndex(int index, bool smooth = false, ScrollAlignment alignment = ScrollAlignment.Center)
|
||
|
|
L680 public bool TryFocusEntry(MoveDirection entryDirection)
|
||
|
|
L829 public void Reset()
|
||
|
|
L861 public void Refresh()
|
||
|
|
L894 public void RequestLayout()
|
||
|
|
L935 public float GetScrollPosition()
|
||
|
|
L945 public void ScrollTo(int index, bool smooth = false)
|
||
|
|
L967 public void ScrollToWithAlignment(int index, ScrollAlignment alignment, float offset = 0f, bool smooth = false, float duration = 0.3f)
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\ScrollAlignment.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L3 public enum ScrollAlignment
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\UGList.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L10 public abstract class UGListBase<TData, TAdapter> where TAdapter : Adapter<TData> where TData : ISimpleViewData
|
||
|
|
L22 public RecyclerView RecyclerView => _recyclerView;
|
||
|
|
L28 public UGListBase(RecyclerView recyclerView, TAdapter adapter)
|
||
|
|
L41 public TAdapter Adapter => _adapter;
|
||
|
|
L47 public void RegisterItemRender<TItemRender>(string viewName = "") where TItemRender : ItemRenderBase
|
||
|
|
L56 public void RegisterItemRender(Type itemRenderType, string viewName = "")
|
||
|
|
L65 public bool UnregisterItemRender(string viewName = "")
|
||
|
|
L72 public void ClearItemRenderRegistrations()
|
||
|
|
L85 public List<TData> Data
|
||
|
|
L99 public class UGList<TData> : UGListBase<TData, Adapter<TData>> where TData : ISimpleViewData
|
||
|
|
L104 public UGList(RecyclerView recyclerView)
|
||
|
|
L113 public class UGGroupList<TData> : UGListBase<TData, GroupAdapter<TData>> where TData : class, IGroupViewData, new()
|
||
|
|
L119 public UGGroupList(RecyclerView recyclerView, string groupViewName)
|
||
|
|
L128 public class UGLoopList<TData> : UGListBase<TData, LoopAdapter<TData>> where TData : ISimpleViewData, new()
|
||
|
|
L133 public UGLoopList(RecyclerView recyclerView)
|
||
|
|
L142 public class UGMixedList<TData> : UGListBase<TData, MixedAdapter<TData>> where TData : IMixedViewData
|
||
|
|
L147 public UGMixedList(RecyclerView recyclerView)
|
||
|
|
L155 public static class UGListCreateHelper
|
||
|
|
L162 public static UGList<TData> Create<TData>(RecyclerView recyclerView) where TData : ISimpleViewData
|
||
|
|
L171 public static UGGroupList<TData> CreateGroup<TData>(RecyclerView recyclerView, string groupViewName) where TData : class, IGroupViewData, new()
|
||
|
|
L179 public static UGLoopList<TData> CreateLoop<TData>(RecyclerView recyclerView) where TData : ISimpleViewData, new()
|
||
|
|
L187 public static UGMixedList<TData> CreateMixed<TData>(RecyclerView recyclerView) where TData : IMixedViewData
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\RecyclerView\UGListExtensions.cs
|
||
|
|
NAMESPACE AlicizaX.UI
|
||
|
|
L9 public static class UGListExtensions
|
||
|
|
L14 public static bool DebugScrollTo { get; set; } = false;
|
||
|
|
L27 public static void ScrollTo<TData, TAdapter>(
|
||
|
|
L61 public static void ScrollToStart<TData, TAdapter>(
|
||
|
|
L83 public static void ScrollToCenter<TData, TAdapter>(
|
||
|
|
L105 public static void ScrollToEnd<TData, TAdapter>(
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\UXComponent\Button\IButton.cs
|
||
|
|
NAMESPACE AlicizaX.UI.Extension
|
||
|
|
L5 public interface IButton
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\UXComponent\Button\UXButton.cs
|
||
|
|
NAMESPACE UnityEngine.UI
|
||
|
|
L11 public class UXButton : UXSelectable, IPointerClickHandler, ISubmitHandler
|
||
|
|
L22 public override void OnPointerEnter(PointerEventData eventData)
|
||
|
|
L28 public virtual void OnPointerClick(PointerEventData eventData)
|
||
|
|
L38 public virtual void OnSubmit(BaseEventData eventData)
|
||
|
|
L73 public Button.ButtonClickedEvent onClick
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\UXComponent\Controller\UXBinding.cs
|
||
|
|
NAMESPACE UnityEngine.UI
|
||
|
|
L7 public enum UXBindingFallbackMode
|
||
|
|
L14 public enum UXBindingValueKind
|
||
|
|
L25 public enum UXBindingProperty
|
||
|
|
L42 public sealed class UXBindingValue
|
||
|
|
L52 public bool BoolValue
|
||
|
|
L58 public float FloatValue
|
||
|
|
L64 public string StringValue
|
||
|
|
L70 public Color ColorValue
|
||
|
|
L76 public Vector2 Vector2Value
|
||
|
|
L82 public Vector3 Vector3Value
|
||
|
|
L88 public UnityEngine.Object ObjectValue
|
||
|
|
L94 public void CopyFrom(UXBindingValue other)
|
||
|
|
L113 public sealed class UXBinding : MonoBehaviour
|
||
|
|
L116 public sealed class BindingEntry
|
||
|
|
L128 public string ControllerId
|
||
|
|
L134 public int ControllerIndex
|
||
|
|
L140 public UXBindingProperty Property
|
||
|
|
L146 public UXBindingValue Value => _value;
|
||
|
|
L148 public UXBindingFallbackMode FallbackMode
|
||
|
|
L154 public UXBindingValue FallbackValue => _fallbackValue;
|
||
|
|
L155 public bool HasCapturedDefault => _hasCapturedDefault;
|
||
|
|
L263 public UXController Controller => _controller;
|
||
|
|
L264 public List<BindingEntry> Entries => _entries;
|
||
|
|
L266 public void Initialize()
|
||
|
|
L280 public void SetController(UXController controller)
|
||
|
|
L296 public void CaptureDefaults()
|
||
|
|
L307 public void ResetToDefaults()
|
||
|
|
L318 public void PreviewEntry(int entryIndex)
|
||
|
|
L334 public void CaptureEntryValue(int entryIndex)
|
||
|
|
L344 public void CaptureEntryFallbackValue(int entryIndex)
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\UXComponent\Controller\UXBindingPropertyUtility.cs
|
||
|
|
NAMESPACE UnityEngine.UI
|
||
|
|
L7 public sealed class UXBindingPropertyMetadata
|
||
|
|
L9 public UXBindingPropertyMetadata(
|
||
|
|
L21 public UXBindingProperty Property { get; }
|
||
|
|
L22 public string DisplayName { get; }
|
||
|
|
L23 public UXBindingValueKind ValueKind { get; }
|
||
|
|
L24 public Type ObjectReferenceType { get; }
|
||
|
|
L27 public static class UXBindingPropertyUtility
|
||
|
|
L45 public static IReadOnlyList<UXBindingPropertyMetadata> AllMetadata => Metadata;
|
||
|
|
L47 public static UXBindingPropertyMetadata GetMetadata(UXBindingProperty property)
|
||
|
|
L60 public static bool IsSupported(GameObject target, UXBindingProperty property)
|
||
|
|
L92 public static void GetSupportedProperties(GameObject target, List<UXBindingProperty> output)
|
||
|
|
L110 public static void CaptureValue(GameObject target, UXBindingProperty property, UXBindingValue destination)
|
||
|
|
L172 public static void ApplyValue(GameObject target, UXBindingProperty property, UXBindingValue value)
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\UXComponent\Controller\UXController.cs
|
||
|
|
NAMESPACE UnityEngine.UI
|
||
|
|
L12 public sealed class UXController : MonoBehaviour
|
||
|
|
L15 public sealed class ControllerDefinition
|
||
|
|
L24 public string Id => _id;
|
||
|
|
L26 public string Name
|
||
|
|
L32 public int Length
|
||
|
|
L38 public string Description
|
||
|
|
L44 public int SelectedIndex
|
||
|
|
L84 public IReadOnlyList<ControllerDefinition> Controllers
|
||
|
|
L93 public IReadOnlyList<UXBinding> Bindings => _bindings;
|
||
|
|
L94 public int ControllerCount => _controllers.Count;
|
||
|
|
L96 public bool TryGetControllerById(string controllerId, out ControllerDefinition controller)
|
||
|
|
L114 public bool TryGetControllerByName(string controllerName, out ControllerDefinition controller)
|
||
|
|
L132 public ControllerDefinition GetControllerByName(string controllerName)
|
||
|
|
L148 public ControllerDefinition GetControllerAt(int index)
|
||
|
|
L160 public int GetControllerIndex(string controllerId)
|
||
|
|
L167 public bool SetControllerIndex(string controllerId, int selectedIndex)
|
||
|
|
L177 public bool SetControllerIndexByName(string controllerName, int selectedIndex)
|
||
|
|
L187 public void ResetAllControllers()
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\UXComponent\Drag\UXDraggable.cs
|
||
|
|
NAMESPACE UnityEngine.UI
|
||
|
|
L7 public class UXDraggable:MonoBehaviour, IDragHandler, IBeginDragHandler, IEndDragHandler
|
||
|
|
L9 public UnityEvent<PointerEventData> onDrag;
|
||
|
|
L10 public UnityEvent<PointerEventData> onBeginDrag;
|
||
|
|
L11 public UnityEvent<PointerEventData> onEndDrag;
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\UXComponent\Group\UXGroup.cs
|
||
|
|
NAMESPACE UnityEngine.UI
|
||
|
|
L11 public class UXGroup : UIBehaviour
|
||
|
|
L15 public bool allowSwitchOff
|
||
|
|
L27 public UXToggle defaultToggle
|
||
|
|
L55 public void NotifyToggleOn(UXToggle toggle, bool sendCallback = true)
|
||
|
|
L70 public void UnregisterToggle(UXToggle toggle)
|
||
|
|
L84 public void RegisterToggle(UXToggle toggle)
|
||
|
|
L122 public bool ContainsToggle(UXToggle toggle)
|
||
|
|
L127 public void EnsureValidState()
|
||
|
|
L183 public bool AnyTogglesOn()
|
||
|
|
L188 public IEnumerable<UXToggle> ActiveToggles()
|
||
|
|
L193 public UXToggle GetFirstActiveToggle()
|
||
|
|
L202 public void SetAllTogglesOff(bool sendCallback = true)
|
||
|
|
L223 public void Next()
|
||
|
|
L228 public void Preview()
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\UXComponent\Group\UXToggle.cs
|
||
|
|
NAMESPACE UnityEngine.UI
|
||
|
|
L9 public class UXToggle : UXSelectable, IPointerClickHandler, ISubmitHandler, ICanvasElement
|
||
|
|
L12 public class ToggleEvent : UnityEvent<bool>
|
||
|
|
L16 public Toggle.ToggleTransition toggleTransition = Toggle.ToggleTransition.Fade;
|
||
|
|
L17 public Graphic graphic;
|
||
|
|
L21 public UXGroup group
|
||
|
|
L31 public ToggleEvent onValueChanged = new ToggleEvent();
|
||
|
|
L50 public virtual void Rebuild(CanvasUpdate executing)
|
||
|
|
L58 public virtual void LayoutComplete()
|
||
|
|
L62 public virtual void GraphicUpdateComplete()
|
||
|
|
L133 public bool isOn
|
||
|
|
L139 public void SetIsOnWithoutNotify(bool value)
|
||
|
|
L215 public override void OnPointerEnter(PointerEventData eventData)
|
||
|
|
L221 public virtual void OnPointerClick(PointerEventData eventData)
|
||
|
|
L230 public virtual void OnSubmit(BaseEventData eventData)
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\UXComponent\Hotkey\HotkeyComponent.cs
|
||
|
|
NAMESPACE UnityEngine.UI
|
||
|
|
L8 public sealed class HotkeyComponent : MonoBehaviour, IHotkeyTrigger
|
||
|
|
L14 public InputActionReference HotkeyAction
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\UXComponent\Hotkey\IHotkeyTrigger.cs
|
||
|
|
NAMESPACE UnityEngine.UI
|
||
|
|
L6 public interface IHotkeyTrigger
|
||
|
|
L8 public InputActionReference HotkeyAction { get; }
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\UXComponent\Hotkey\UXHotkeyRegisterManager.cs
|
||
|
|
NAMESPACE UnityEngine.UI
|
||
|
|
L19 public readonly IHotkeyTrigger Trigger;
|
||
|
|
L20 public readonly EHotkeyPressType PressType;
|
||
|
|
L23 public HotkeyRegistration(IHotkeyTrigger trigger, EHotkeyPressType pressType)
|
||
|
|
L32 public HotkeyScope(UIHolderObjectBase holder)
|
||
|
|
L39 public readonly UIHolderObjectBase Holder;
|
||
|
|
L40 public readonly int HierarchyDepth;
|
||
|
|
L41 public readonly bool BlocksLowerScopes;
|
||
|
|
L42 public readonly Dictionary<string, List<HotkeyRegistration>> RegistrationsByAction = new(StringComparer.Ordinal);
|
||
|
|
L44 public bool LifecycleActive;
|
||
|
|
L45 public ulong ActivationSerial;
|
||
|
|
L47 public Action OnBeforeShow;
|
||
|
|
L48 public Action OnBeforeClosed;
|
||
|
|
L49 public Action OnDestroy;
|
||
|
|
L53 public Canvas Canvas
|
||
|
|
L104 public InputActionReference ActionReference;
|
||
|
|
L105 public Action<InputAction.CallbackContext> StartedHandler;
|
||
|
|
L106 public Action<InputAction.CallbackContext> PerformedHandler;
|
||
|
|
L107 public int StartedCount;
|
||
|
|
L108 public int PerformedCount;
|
||
|
|
L110 public int TotalCount => StartedCount + PerformedCount;
|
||
|
|
L115 public readonly string ActionId;
|
||
|
|
L116 public readonly UIHolderObjectBase Holder;
|
||
|
|
L117 public readonly EHotkeyPressType PressType;
|
||
|
|
L119 public TriggerRegistration(string actionId, UIHolderObjectBase holder, EHotkeyPressType pressType)
|
||
|
|
L587 public static string GetDebugInfo()
|
||
|
|
L597 public static class UXHotkeyHotkeyExtension
|
||
|
|
L600 public static void BindHotKey(this IHotkeyTrigger trigger)
|
||
|
|
L623 public static void UnBindHotKey(this IHotkeyTrigger trigger)
|
||
|
|
L632 public static void BindHotKeyBatch(this IHotkeyTrigger[] triggers)
|
||
|
|
L646 public static void UnBindHotKeyBatch(this IHotkeyTrigger[] triggers)
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\UXComponent\Image\UXImage.cs
|
||
|
|
NAMESPACE UnityEngine.UI
|
||
|
|
L8 public class UXImage : Image
|
||
|
|
L10 public enum ColorType
|
||
|
|
L31 public Gradient gradient
|
||
|
|
L36 public enum GradientDirection
|
||
|
|
L42 public GradientDirection Direction
|
||
|
|
L49 public enum FlipPart
|
||
|
|
L57 public enum FlipDirection
|
||
|
|
L68 public enum FlipMode
|
||
|
|
L76 public enum FlipEdge
|
||
|
|
L87 public enum FlipEdgeHorizontal
|
||
|
|
L95 public enum FlipEdgeVertical
|
||
|
|
L102 public enum FlipFillCenter
|
||
|
|
L111 public FlipMode m_OriginFlipMode = FlipMode.None;
|
||
|
|
L113 public FlipMode m_FlipMode = FlipMode.None;
|
||
|
|
L114 public FlipMode flipMode { get { return m_FlipMode; } set { SetVerticesDirty(); } }
|
||
|
|
L116 public bool m_FlipWithCopy = true;
|
||
|
|
L117 public bool flipWithCopy { get { return m_FlipWithCopy; } set { SetVerticesDirty(); } }
|
||
|
|
L119 public FlipEdge flipEdge
|
||
|
|
L137 public FlipEdgeHorizontal m_FlipEdgeHorizontal = FlipEdgeHorizontal.Right;
|
||
|
|
L138 public FlipEdgeHorizontal flipEdgeHorizontal { get { return m_FlipEdgeHorizontal; } set { SetVerticesDirty(); } }
|
||
|
|
L140 public FlipEdgeVertical m_FlipEdgeVertical = FlipEdgeVertical.Down;
|
||
|
|
L141 public FlipEdgeVertical flipEdgeVertical { get { return m_FlipEdgeVertical; } set { SetVerticesDirty(); } }
|
||
|
|
L144 public FlipFillCenter m_FlipFillCenter = FlipFillCenter.LeftBottom;
|
||
|
|
L145 public FlipFillCenter flipFillCenter { get { return m_FlipFillCenter; } set { SetVerticesDirty(); } }
|
||
|
|
L149 public FlipDirection m_FlipDirection = FlipDirection.FourCorner;
|
||
|
|
L150 public FlipDirection flipDirection { get { return m_FlipDirection; } set { SetVerticesDirty(); } }
|
||
|
|
L393 public void RemapVertex(ref UIVertex vertex, FlipMode flipMode, float Min1, float Max1, float Min2, float Max2)
|
||
|
|
L614 public class Vert2D //鎻忚堪alphakey鍜宑olorkey鐨勭被
|
||
|
|
L616 public Vector3 position = default;
|
||
|
|
L617 public Color color = Color.white;
|
||
|
|
L618 public Vector2 uv0 = default;
|
||
|
|
L619 public int type;//1=alphakey,2=colorkey, 0=涓ょ
|
||
|
|
L620 public Vert2D(int type)
|
||
|
|
L624 public Vert2D(UIVertex vertex)
|
||
|
|
L628 public int CompareToVertically(Vert2D vert)
|
||
|
|
L643 public int CompareToHorizontally(Vert2D vert)
|
||
|
|
L663 public void SetColor(Color col)
|
||
|
|
L669 public void SetAlpha(float a)
|
||
|
|
L673 public void SetUV(float u, float v)
|
||
|
|
L678 public void SetPosition(Vector3 pos)
|
||
|
|
L685 public class Comparer : IEqualityComparer<Vert2D>
|
||
|
|
L687 public bool Equals(Vert2D x, Vert2D y)
|
||
|
|
L693 public int GetHashCode(Vert2D obj)
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\UXComponent\Navigation\UXInputMode.cs
|
||
|
|
NAMESPACE UnityEngine.UI
|
||
|
|
L4 public enum UXInputMode : byte
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\UXComponent\Navigation\UXInputModeService.cs
|
||
|
|
NAMESPACE UnityEngine.UI
|
||
|
|
L15 public static UXInputMode CurrentMode { get; private set; } = UXInputMode.Pointer;
|
||
|
|
L17 public static event Action<UXInputMode> OnModeChanged;
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\UXComponent\Navigation\UXNavigationLayerWatcher.cs
|
||
|
|
NAMESPACE UnityEngine.UI
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\UXComponent\Navigation\UXNavigationRuntime.cs
|
||
|
|
NAMESPACE UnityEngine.UI
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\UXComponent\Navigation\UXNavigationScope.cs
|
||
|
|
NAMESPACE UnityEngine.UI
|
||
|
|
L9 public sealed class UXNavigationScope : MonoBehaviour
|
||
|
|
L36 public Selectable DefaultSelectable
|
||
|
|
L42 public bool RememberLastSelection => _rememberLastSelection;
|
||
|
|
L43 public bool RequireSelectionWhenGamepad => _requireSelectionWhenGamepad;
|
||
|
|
L44 public bool BlockLowerScopes => _blockLowerScopes;
|
||
|
|
L294 public void InvalidateSelectableCache()
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\UXComponent\Navigation\UXNavigationSkip.cs
|
||
|
|
NAMESPACE UnityEngine.UI
|
||
|
|
L6 public sealed class UXNavigationSkip : MonoBehaviour
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\UXComponent\Selectable\UXSelectable.cs
|
||
|
|
NAMESPACE UnityEngine.UI
|
||
|
|
L8 public class TransitionData
|
||
|
|
L10 public Graphic targetGraphic;
|
||
|
|
L11 public Selectable.Transition transition = Selectable.Transition.ColorTint;
|
||
|
|
L12 public ColorBlock colors = ColorBlock.defaultColorBlock;
|
||
|
|
L13 public SpriteState spriteState;
|
||
|
|
L16 public class UXSelectable : Selectable
|
||
|
|
L117 public override Selectable FindSelectableOnLeft()
|
||
|
|
L132 public override Selectable FindSelectableOnRight()
|
||
|
|
L147 public override Selectable FindSelectableOnUp()
|
||
|
|
L162 public override Selectable FindSelectableOnDown()
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\UXComponent\Text\LocalizationRefreshHelper.cs
|
||
|
|
NAMESPACE UnityEngine.UI
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\UXComponent\Text\UXTextMeshPro.cs
|
||
|
|
NAMESPACE UnityEngine.UI
|
||
|
|
L6 public class UXTextMeshPro : TextMeshProUGUI
|
||
|
|
L40 public void SetLocalization(string localizationID)
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\UXComponent\UXHelper.cs
|
||
|
|
NAMESPACE <global>
|
||
|
|
L3 public static class UXComponentExtensionsHelper
|
||
|
|
L8 public static void SetLocalizationHelper(IUXLocalizationHelper helper)
|
||
|
|
L13 public static void SetAudioHelper(IUXAudioHelper helper)
|
||
|
|
L19 public interface IUXLocalizationHelper
|
||
|
|
L21 public string GetString(string key);
|
||
|
|
L25 public interface IUXAudioHelper
|
||
|
|
|
||
|
|
###FILE G:\UnityProject\Aliciza\Client\Packages\com.alicizax.unity.ui.extension\Runtime\_InternalVisibleTo.cs
|
||
|
|
NAMESPACE <global>
|
||
|
|
|