// Copyright (c) Supernova Technologies LLC using Nova.Compat; using Nova.InternalNamespace_16; using Nova.InternalNamespace_0; using Nova.InternalNamespace_0.InternalNamespace_2; using Nova.InternalNamespace_0.InternalNamespace_9; using Nova.InternalNamespace_0.InternalNamespace_12; using Nova.InternalNamespace_0.InternalNamespace_10; using Nova.InternalNamespace_0.InternalNamespace_5; using System; using System.Reflection; using System.Runtime.CompilerServices; using Unity.Collections.LowLevel.Unsafe; using UnityEngine; using InputModule = Nova.InternalNamespace_0.InternalType_759; namespace Nova { /// /// Applies a set of properties and properties across a connected transform hierarchy of UIBlocks /// [ExecuteAlways, AddComponentMenu("Nova/UIBlock")] [HelpURL("https://novaui.io/manual/UIBlock.html")] public class UIBlock : CoreBlock, InternalType_5 { #region Public /// /// The UIBlock on transform.parent. If transform.parent is null or there is no UIBlock on transform.parent, this value will be null. /// /// If gameObject.activeInHierarchy is , this value will be null. public UIBlock Parent => InternalProperty_27.InternalProperty_210 as UIBlock; /// /// The root of this UIBlock's connected UIBlock hierarchy. /// /// If gameObject.activeInHierarchy is , this value will be null. public UIBlock Root => InternalProperty_27.InternalProperty_211 as UIBlock; /// /// Retrieves the child UIBlock at the provided . /// /// The index of the child to retrieve /// The child UIBlock at the provided . /// Throws when < 0 or >= /// public UIBlock GetChild(int index) { return InternalMethod_109(index) as UIBlock; } /// /// The number of enabled child 's with a UIBlock component. /// /// If gameObject.activeInHierarchy is , this value will be 0. /// public int ChildCount => InternalProperty_32.InternalProperty_433; #region /// /// The primary body content color. /// [field: NonSerialized] public virtual Color Color { get; set; } /// /// The configuration for this UIBlock, adjusts the mesh surface's appearance under scene lighting. /// public ref Surface Surface { [MethodImpl(MethodImplOptions.AggressiveInlining)] get => ref UnsafeUtility.As(ref InternalType_274.InternalProperty_190.InternalMethod_1266(this)); } /// /// Specifies whether any visual properties should render. /// /// /// This is a global toggle for this and, when set to , will hide all visual properties. Layout behavior remains unchanged. /// public bool Visible { [MethodImpl(MethodImplOptions.AggressiveInlining)] get => visibility.Visible; [MethodImpl(MethodImplOptions.AggressiveInlining)] set { visibility.Visible = value; InternalType_274.InternalProperty_190.InternalMethod_3031(this); } } /// /// Sets the GameObject's layer. Should be used instead of gameobject.layer to ensure that /// Nova is tracking the new layer. /// public int GameObjectLayer { get => gameObject.layer; set { gameObject.layer = value; if (gameObject.layer == visibility.InternalField_130) { return; } visibility.InternalField_130 = value; InternalType_274.InternalProperty_190.InternalMethod_3031(this); } } #endregion #region /// /// The entire set of uncalculated UIBlock layout properties. /// public ref Layout Layout { get { if (!InternalProperty_27.InternalProperty_197) { return ref layout; } unsafe { return ref UnsafeUtility.AsRef(InternalType_457.InternalProperty_190.InternalMethod_14(this).InternalField_1836); } } } /// /// The configuration used to calculate Calculated Size. /// /// Size.Percent is a percentage of the Parent's Padded Size. /// /// public ref Length3 Size { get { return ref Layout.Size; } } /// /// The used to clamp Size and Auto Size when calculating CalculatedSize.. /// public ref MinMax3 SizeMinMax { get { return ref Layout.SizeMinMax; } } /// /// The size of the UIBlock. Calculated by the Nova Engine once per dirty frame and whenenever is called explicitly. /// /// The final value here accounts for a combination of inputs from Size, Size Min Max, /// Auto Size, Aspect Ratio Axis, and the Padded Size of its Parent. /// /// /// /// /// public ref readonly Length3.Calculated CalculatedSize { get { return ref UnsafeUtility.As(ref InternalType_457.InternalProperty_190.InternalMethod_1857(this).InternalField_1832); } } /// /// An value for each axis. Provides a way to have this UIBlock's Calculated Size adapt to the size of its Parent or size of its children automatically. /// /// When set to a value other than for a given axis, this will override any Size configuration along that same axis. public ref ThreeD AutoSize { get { return ref Layout.AutoSize; } } /// /// When set to a value other than , the aspect ratio of this UIBlock's Calculated Size will remain constant, even as Size is modified. /// /// Can be used in conjuction with Auto Size, but only Auto Size along the AspectRatioAxis will be honored. public ref Axis AspectRatioAxis { get { return ref Layout.AspectRatioAxis; } } /// /// The configuration used to calculate CalculatedMargin. Describes a spatial buffer applied outward from Calculated Size. /// /// /// Margin.Percent is a percentage of the Parent's Padded Size. /// /// /// /// public ref LengthBounds Margin { get { return ref Layout.Margin; } } /// /// The used to clamp Margin when calculating Calculated Margin. /// /// /// /// public ref MinMaxBounds MarginMinMax { get { return ref Layout.MarginMinMax; } } /// /// The amount of space applied outward from the bounds defined by Rotated Size. Calculated by the Nova Engine once per dirty frame and whenenever is called explicitly. /// /// /// The final value here accounts for a combination of inputs from Margin, Margin Min Max, and the Padded Size of its Parent. /// /// /// /// public ref readonly LengthBounds.Calculated CalculatedMargin { get { return ref UnsafeUtility.As(ref InternalType_457.InternalProperty_190.InternalMethod_1857(this).InternalField_1835); } } /// /// A per-axis alignment for this UIBlock relative to its Parent's bounds (). CalculatedPosition is an offset in the coordinate space. /// /// /// /// /// Axis Alignment /// Shift Direction /// /// /// /// A positive Calculated Position.X shifts right
/// /// /// A positive Calculated Position.X shifts right
/// /// /// A positive Calculated Position.X shifts left
///
/// /// /// A positive Calculated Position.Y shifts up
/// /// /// A positive Calculated Position.Y shifts up
/// /// /// A positive Calculated Position.Y shifts down
///
/// /// /// A positive Calculated Position.Z shifts forward
/// /// /// A positive Calculated Position.Z shifts forward
/// /// /// A positive Calculated Position.Z shifts backward
///
///
///
public ref Alignment Alignment { get { return ref Layout.Alignment; } } /// /// If , the Layout Size will account for the bounds of Calculated Size rotated by transform.localRotation.
/// If , the UIBlock will still render rotated, but the Layout Size will not account for transform.localRotation. ///
public ref bool RotateSize { get { return ref Layout.RotateSize; } } /// /// If Rotate Size is , returns Calculated Size rotated by transform.localRotation.
/// If Rotate Size is , returns Calculated Size. ///
public Vector3 RotatedSize { get { if (RotateSize) { return InternalType_182.InternalMethod_859(CalculatedSize.Value, transform.localRotation); } return CalculatedSize.Value; } } /// /// The total of this UIBlock's immediate children in local space. /// /// /// May require a call to for up-to-date values if child content has changed within a frame. /// public Bounds ChildBounds => new Bounds(InternalProperty_19, InternalProperty_18); /// /// The total of this UIBlock's hierarchy, inclusive of all decendent HierarchyBounds, in local space. /// /// /// May require a call to for up-to-date values if hierarchy content has changed within a frame. /// public Bounds HierarchyBounds => new Bounds(InternalProperty_21, InternalProperty_20); /// /// The configuration used to calculate Calculated Position. Describes a per-axis offset from its Alignment. /// /// /// /// Position.Percent is a percentage of /// the Parent's Padded Size. /// /// /// This value will be converted and written to transform.localPosition /// as part of the Nova Engine update at the end of the current frame. /// /// /// If the Parent's AutoLayout.Enabled == , /// the will override this Position along the .Axis. /// /// /// /// /// /// public ref Length3 Position { get { return ref Layout.Position; } } /// /// The used to clamp Position when calculating Calculated Position. /// public ref MinMax3 PositionMinMax { get { return ref Layout.PositionMinMax; } } /// /// The local position of the UIBlock, offset from its configured Alignment. Calculated by the Nova Engine once per dirty frame and whenenever is called explicitly. /// /// /// The final value here accounts for a combination of inputs from Position, Position Min Max, transform.localPosition, /// the Padded Size of its Parent, and the AutoLayout of its Parent. /// /// /// /// /// public ref readonly Length3.Calculated CalculatedPosition { get { return ref UnsafeUtility.As(ref InternalType_457.InternalProperty_190.InternalMethod_1857(this).InternalField_1833); } } /// /// The configuration used to calculate Calculated Padding. Describes a spatial buffer applied inward from Calculated Size. /// /// Padding.Percent is a percentage of this UIBlock's Calculated Size. /// /// /// public ref LengthBounds Padding { get { return ref Layout.Padding; } } /// /// The used to clamp Padding when calculating Calculated Padding. /// /// /// /// public ref MinMaxBounds PaddingMinMax { get { return ref Layout.PaddingMinMax; } } /// /// The amount of space applied inward from the bounds defined by Calculated Size. Calculated by the Nova Engine once per dirty frame and whenenever is called explicitly. /// /// /// The final value here accounts for a combination of inputs from Padding, Padding Min Max, and Calculated Size. /// /// /// /// public ref readonly LengthBounds.Calculated CalculatedPadding { get { return ref UnsafeUtility.As(ref InternalType_457.InternalProperty_190.InternalMethod_1857(this).InternalField_1834); } } /// /// Equivalent to CalculatedSize - CalculatedPadding.Size. /// /// A UIBlock is laid-out (positioned, sized, autosized, etc.) relative to its Parent's Padded Size. public Vector3 PaddedSize { get { return InternalType_457.InternalProperty_190.InternalMethod_1857(this).InternalProperty_403; } } /// /// The final, unscaled size of this UIBlock in its Parent's local space, used for positioning.
/// Equivalent to RotatedSize + CalculatedMargin.Size. ///
/// public Vector3 LayoutSize { get { return RotatedSize + CalculatedMargin.Size; } } /// /// Position all direct child UIBlocks sequentially along the X, Y, or Z axis. /// public ref AutoLayout AutoLayout { get { if (!InternalProperty_27.InternalProperty_197) { return ref autoLayout; } unsafe { return ref UnsafeUtility.AsRef(InternalType_457.InternalProperty_190.InternalMethod_14(this).InternalField_1227); } } } /// /// The calculated output of . Calculated by the Nova Engine once per dirty frame and whenenever is called explicitly. /// /// /// The final value here accounts for a combination of inputs from , , and the Padded Size of this UIBlock. public ref readonly Length.Calculated CalculatedSpacing { get { return ref UnsafeUtility.As(ref InternalType_457.InternalProperty_190.InternalMethod_3753(this).InternalField_3739); } } /// /// The calculated output of .Spacing. Calculated by the Nova Engine once per dirty frame and whenenever is called explicitly. /// /// /// The final value here accounts for a combination of inputs from .Spacing, .SpacingMinMax, and the Padded Size of this UIBlock. public ref readonly Length.Calculated CalculatedCrossSpacing { get { return ref UnsafeUtility.As(ref InternalType_457.InternalProperty_190.InternalMethod_3753(this).InternalField_3740); } } /// /// The Nova Engine will automatically process all modified layout properties at the end of each frame. However, some UI scenarios may require knowing the Calculated Size /// or another calculated layout value intra-frame, before the Nova Engine has had a chance to run. Calling this method will force an inline recalculation of all modified layout properties on this UIBlock. /// /// /// This method only guarantees up-to-date calculated values for this UIBlock alone, meaning other UIBlocks in this UIBlock's hierarchy may not be updated in their entirety until the Nova Engine runs without /// their own explicit call to CalculateLayout().
/// This call will always overwrite transform.localPosition with the calculated layout position. /// gameObject.activeInHierarchy must be , otherwise nothing will be recalculated. ///
public void CalculateLayout() { if (!InternalProperty_25) { return; } InternalType_64.InternalProperty_200.InternalMethod_427(InternalProperty_29); transform.localPosition = InternalType_457.InternalProperty_190.InternalMethod_1851(this); } /// /// Move this to the given Transform /// and update accordingly such that when the Nova Engine /// recalculates the modified layout properties, the resulting /// transform.position will equal . /// /// /// Preserves and the current 's s. /// /// The transform.position to convert to a layout position. /// /// if gameObject.activeInHierarchy == false, since layout properties /// cannot be calculated in that state, otherwise returns . /// /// public bool TrySetWorldPosition(Vector3 worldPosition) { if (!InternalProperty_25) { return false; } Vector3 InternalVar_1 = worldPosition; if (transform.parent != null) { InternalVar_1 = transform.parent.InverseTransformPoint(worldPosition); } return TrySetLocalPosition(InternalVar_1); } /// /// Move this to the given Transform /// and update accordingly such that when the Nova Engine /// recalculates the modified layout properties, the resulting /// transform.localPosition will equal . /// /// /// Preserves and the current 's s. /// /// The transform.localPosition to convert to a layout position. /// /// if gameObject.activeInHierarchy == false, since layout properties /// cannot be calculated in that state, otherwise returns . /// /// public bool TrySetLocalPosition(Vector3 localPosition) { if (!InternalProperty_25) { return false; } CalculateLayout(); InternalType_21.InternalMethod_2736(this, localPosition); transform.localPosition = localPosition; return true; } #endregion #region /// /// Subscribe to a gesture event on this and optionally on its descendent hierarchy, depending on the value of . /// /// /// If is , will be invoked whenever the given gesture type is triggered on this or one of its decendents.
/// If is , will be invoked only when the given gesture type occurs on this directy. ///
/// The type of gesture event to handle. /// The callback invoked when the gesture event fires. /// Capture gestures from the descendent hierarchy or scope to this this directy. /// If is null. /// /// /// /// /// /// /// /// /// /// public void AddGestureHandler(UIEventHandler gestureHandler, bool includeHierarchy = true) where TGesture : struct, IGestureEvent { if (gestureHandler == null) { throw new ArgumentNullException(nameof(gestureHandler)); } InternalMethod_3272(gestureHandler, includeHierarchy); } /// /// Unsubscribe from a gesture event previously subscribed to via . /// /// The type of gesture event to handle. /// The callback to remove from the subscription list. /// If is null. /// /// /// /// /// /// /// /// /// /// public void RemoveGestureHandler(UIEventHandler gestureHandler) where TGesture : struct, IGestureEvent { if (gestureHandler == null) { throw new ArgumentNullException(nameof(gestureHandler)); } InternalMethod_3271(gestureHandler); } /// /// Fire a gesture event on this . /// /// /// The event will traverse up the hierarchy until it reaches a ancestor (inclusive of this ) with a registered event handler for the given gesture type, . /// /// The type of gesture event to fire. /// /// /// /// /// /// /// /// /// /// /// public void FireGestureEvent(TGesture gestureEvent) where TGesture : struct, IGestureEvent { gestureEvent.Receiver = this; gestureEvent.Target = this; InternalMethod_91(gestureEvent); } #endregion #endregion #region Internal [SerializeField] [System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)] private Layout layout = Layout.TwoD; [SerializeField] [System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)] private AutoLayout autoLayout = AutoLayout.Disabled; [System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)] ref InternalNamespace_0.InternalType_69 InternalType_67.InternalProperty_142 => ref UnsafeUtility.As(ref layout); [System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)] ref InternalNamespace_0.InternalType_70 InternalType_67.InternalProperty_143 => ref UnsafeUtility.As(ref autoLayout); [System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)] Vector3 InternalType_67.InternalProperty_87 { get => PreviewSize; set { PreviewSize = value; } } [System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)] ref readonly InternalNamespace_0.InternalType_53.InternalType_55 InternalType_67.InternalProperty_144 => ref InternalType_457.InternalProperty_190.InternalMethod_1857(this).InternalField_1832; [System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)] ref readonly InternalNamespace_0.InternalType_53.InternalType_55 InternalType_67.InternalProperty_145 => ref InternalType_457.InternalProperty_190.InternalMethod_1857(this).InternalField_1833; [System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)] ref readonly InternalNamespace_0.InternalType_56.InternalType_58 InternalType_67.InternalProperty_146 => ref InternalType_457.InternalProperty_190.InternalMethod_1857(this).InternalField_1834; [System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)] ref readonly InternalNamespace_0.InternalType_56.InternalType_58 InternalType_67.InternalProperty_147 => ref InternalType_457.InternalProperty_190.InternalMethod_1857(this).InternalField_1835; [SerializeField] [System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)] private protected InternalType_36 visibility = InternalType_36.InternalMethod_307(InternalType_11.InternalField_63); [System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)] ref InternalNamespace_0.InternalType_71 InternalType_255.InternalProperty_267 => ref UnsafeUtility.As(ref visibility); [SerializeField] [System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)] private protected Surface surface = Surface.InternalField_49; [System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)] ref InternalNamespace_0.InternalType_73 InternalType_255.InternalProperty_268 { [MethodImpl(MethodImplOptions.AggressiveInlining)] get => ref UnsafeUtility.As(ref surface); } [SerializeField, HideInInspector] [InternalType_22] [System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)] internal Vector3 PreviewSize = Vector2.one; [System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)] private protected override bool InternalProperty_28 => InternalType_274.InternalProperty_190.InternalMethod_1258(InternalProperty_29); private protected override void InternalMethod_115() { InternalType_274.InternalProperty_190.InternalMethod_1260(InternalProperty_29, InternalProperty_27.InternalProperty_207); } private protected override void InternalMethod_102() => InternalType_457.InternalProperty_190.InternalProperty_206.InternalMethod_685(this); private void Reset() { InternalType_67 InternalVar_1 = this; if (!InternalType_457.InternalProperty_190.InternalMethod_1852(InternalVar_1)) { InternalNamespace_0.InternalType_53 InternalVar_2 = InternalVar_1.InternalProperty_142.InternalField_214; InternalVar_2.InternalProperty_115 = transform.localPosition; InternalVar_2.InternalProperty_118 = false; InternalVar_1.InternalProperty_142.InternalField_214 = InternalVar_2; } if (InternalProperty_27.InternalProperty_197) { InternalMethod_73(); } } internal void InternalMethod_73() { visibility.InternalField_130 = gameObject.layer; InternalType_253.InternalProperty_190.InternalMethod_622(this); InternalType_457.InternalProperty_190.InternalMethod_622(this); InternalType_274.InternalProperty_190.InternalMethod_622(this); } internal override void InternalMethod_114(InternalType_131 InternalParameter_77) { InternalType_253.InternalProperty_190.InternalMethod_624(InternalParameter_77, this); InternalType_457.InternalProperty_190.InternalMethod_624(InternalParameter_77, this); InternalType_274.InternalProperty_190.InternalMethod_624(InternalParameter_77, this); } internal override void InternalMethod_113() { InternalType_253.InternalProperty_190.InternalMethod_623(this); InternalType_457.InternalProperty_190.InternalMethod_623(this); InternalType_274.InternalProperty_190.InternalMethod_623(this); } private protected override void InternalMethod_111() { visibility.InternalField_130 = gameObject.layer; InternalType_253.InternalProperty_190.InternalMethod_626(this); InternalType_457.InternalProperty_190.InternalMethod_626(this); InternalType_274.InternalProperty_190.InternalMethod_626(this); } private protected override void InternalMethod_112() { InternalType_274.InternalProperty_190.InternalMethod_627(this); InternalType_457.InternalProperty_190.InternalMethod_627(this); InternalType_253.InternalProperty_190.InternalMethod_627(this); } internal virtual void InternalMethod_1856() { InternalMethod_73(); } private protected override void InternalMethod_117() { } private protected override void InternalMethod_118() { if (Application.isPlaying) { InternalMethod_83(); } } [Obfuscation] private protected virtual void OnDidApplyAnimationProperties() { InternalMethod_73(); } [System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)] bool InternalType_255.InternalProperty_269 { get => Visible; set => Visible = value; } [System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)] internal CalculatedLayout InternalProperty_17 => InternalType_457.InternalProperty_190.InternalMethod_1857(this).InternalMethod_953(); [System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)] internal Vector3 InternalProperty_18 => InternalProperty_27.InternalProperty_196.InternalProperty_194 ? (Vector3)InternalType_457.InternalProperty_190.InternalMethod_1847(this) : Vector3.zero; [System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)] internal Vector3 InternalProperty_19 => InternalProperty_27.InternalProperty_196.InternalProperty_194 ? (Vector3)InternalType_457.InternalProperty_190.InternalMethod_1848(this) : Vector3.zero; [System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)] internal Vector3 InternalProperty_20 => InternalProperty_27.InternalProperty_196.InternalProperty_194 ? (Vector3)InternalType_457.InternalProperty_190.InternalMethod_1849(this) : Vector3.zero; [System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)] internal Vector3 InternalProperty_21 => InternalProperty_27.InternalProperty_196.InternalProperty_194 ? (Vector3)InternalType_457.InternalProperty_190.InternalMethod_1850(this) : Vector3.zero; internal Vector3 InternalMethod_3351(bool InternalParameter_678) { if (!InternalParameter_678) { return Vector3.Scale(RotatedSize, transform.lossyScale); } Vector3 InternalVar_1 = transform.parent == null ? Vector3.one : transform.parent.lossyScale; return Vector3.Scale(RotatedSize, transform.lossyScale) + Vector3.Scale(CalculatedMargin.Size, InternalVar_1); } [System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)] Vector3 InternalType_67.InternalProperty_148 => PaddedSize; [System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)] Vector3 InternalType_67.InternalProperty_149 => RotatedSize; [System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)] Vector3 InternalType_67.InternalProperty_150 => LayoutSize; internal ref readonly AutoLayout InternalMethod_79() { if (!InternalProperty_27.InternalProperty_197) { return ref autoLayout; } unsafe { return ref UnsafeUtility.As(ref InternalType_457.InternalProperty_190.InternalMethod_1859(this)); } } [System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)] internal bool InternalProperty_22 { get { return InternalType_457.InternalProperty_190.InternalMethod_1855(this); } } void InternalType_67.InternalMethod_442() => CalculateLayout(); [System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)] InternalType_74 InternalType_5.InternalProperty_34 => InternalProperty_23; [HideInInspector, NonSerialized] [System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)] private InputModule InternalField_36 = null; [System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)] internal InternalType_74 InternalProperty_23 { get { if (InternalField_36 == null) { InternalField_36 = new InputModule(this); } return InternalField_36; } } internal bool InternalMethod_82() where T : unmanaged, IEquatable { if (InternalField_36 == null) { return false; } return InternalProperty_23.InternalMethod_463(); } private protected void InternalMethod_83() { if (InternalField_36 == null) { return; } InternalProperty_23.InternalMethod_468(); } [HideInInspector, NonSerialized] [System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)] private InternalType_522 InternalField_37 = null; [System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)] internal InternalType_522 InternalProperty_24 { get { if (InternalField_37 == null) { InternalField_37 = new InternalType_522(this); } return InternalField_37; } } /// /// Prevent users from inheriting /// internal UIBlock() { } internal void InternalMethod_3272(UIEventHandler InternalParameter_3094, bool InternalParameter_3056) where TEvent : struct, IEvent => InternalProperty_24.InternalMethod_1634(InternalParameter_3094, !InternalParameter_3056); internal void InternalMethod_3271(UIEventHandler InternalParameter_3055) where TEvent : struct, IEvent => InternalProperty_24.InternalMethod_1633(InternalParameter_3055); internal void InternalMethod_3270(UIEventHandler InternalParameter_3054) where TEvent : struct, IEvent where TTarget : class, InternalType_273 => InternalProperty_24.InternalMethod_1632(InternalParameter_3054); internal void InternalMethod_3269(UIEventHandler InternalParameter_3053) where TEvent : struct, IEvent where TTarget : class, InternalType_273 => InternalProperty_24.InternalMethod_1623(InternalParameter_3053); internal void InternalMethod_89(InternalType_523 InternalParameter_72) => InternalProperty_24.InternalMethod_2075(InternalParameter_72); internal void InternalMethod_90(InternalType_523 InternalParameter_73) => InternalProperty_24.InternalMethod_2076(InternalParameter_73); internal void InternalMethod_91(TEvent InternalParameter_74, Type InternalParameter_75 = null) where TEvent : struct, IEvent => InternalType_522.InternalMethod_2077(this, InternalParameter_74, InternalParameter_75); #endregion } }