SamsonGame/Assets/Sources/Lean/GUI/Documentation/Documentation.html

1662 lines
215 KiB
HTML
Raw Normal View History

2021-12-29 20:50:11 +03:00
<!DOCTYPE html>
<html style="margin: 0; padding: 0; height: 98%;" lang="en">
<head>
<title>Lean GUI - Documentation - 1.2.2</title>
<style type="text/css">
@font-face { font-family: 'gilroybold'; src: url(data:font/truetype;charset=utf-8;base64,AAEAAAARAQAABAAQRkZUTYAlmPoAAI0EAAAAHEdERUYB+QKwAABK0AAAACpHUE9TidarnAAATEwAAEC4R1NVQs2WyHQAAEr8AAABUE9TLzJrbYTuAAABmAAAAGBjbWFwYv9+yQAABYwAAAHqY3Z0IAAhAnkAAAd4AAAABGdhc3AAAAAQAABKyAAAAAhnbHlmoojnwgAACUgAADp8aGVhZA7jQ9cAAAEcAAAANmhoZWEHgQOOAAABVAAAACRobXR414UdlgAAAfgAAAOSbG9jYZCen0gAAAd8AAABzG1heHABLABzAAABeAAAACBuYW1lXH7DXgAAQ8QAAARHcG9zdCS2kLYAAEgMAAACundlYmaHclw1AACNIAAAAAYAAQAAAAEAAKEkOxRfDzz1AB8D6AAAAADTpchOAAAAANhbN/H/1/8bA9gDmAAAAAgAAgAAAAAAAAABAAADz/7lAAAD5//X/90D2AABAAAAAAAAAAAAAAAAAAAA5AABAAAA5QBCAAUAAAAAAAIAAAABAAEAAABAAC4AAAAAAAMCFgK8AAUABAKKAlgAAABLAooCWAAAAV4AMgEsAAAAAAgAAAAAAAAAAAACBwAAAAAAAAAAAAAAAFVLV04AQAAg+wQDIP84AAADzwEbIAAAlwAAAAAB9AK8AAAAIAADAWwAIQAAAAABTQAAAPoAAAEMADEBegArAmgAFwIlABkC/QAtAqEALQDQACsBMwA1ATMADwGOADUCKwA1ARYAMQH5AEEBDAAxAgsAIQJ2ACMBgwALAhMAFgIhABcCRAAVAiQAGQIpABcB6gANAjgAIQIpABcBDAAxARcAMQIQAC0CDQAtAhAALQIpACMDCwAhApwAAwJdAEEC1gAhAskAQQISAEECBwBBA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ABABIAAgAKAAIA7wDwAAEAAgAUABYAAwABABoAAQASAAAAAQAAAA0AAQACAO8A8AABAAEA5AADAAEAGgABABIAAAABAAAADQABAAIA7wDwAAIAAQDrAO4AAAADAAEAGgABABIAAAABAAAADQABAAIAJABEAAIAAQATABwAAAADAAEAGgABABIAAAABAAAADQABAAIAMgBSAAIAAQATABwAAAACABIABgD0APMA8QDyAPUA9gABAAYAQwBqAHYAxgDHAMgAAQAaAAEACAACAAYADADqAAIATwDpAAIATAABAAEASQADAAEAFgABABIAAAABAAAADQABAAAAAQAAAAMAAQAWAAEAEgAAAAEAAAANAAEAAAABAAAAAwAAAAEAEgABABYAAQAAAA0AAQAAAAEAAAADAAEAFgABABIAAAABAAAADQABAAAAAQAAAAMAAAABABQAAgAYAB4AAQAAAA0AAQAAAAEAAQADAAEAAAADAAIAGAAeAAEAFAAAAAEAAAANAAEAAAABAAEAAwABAAAAAgASAAYAbAB8AGwAfADrAO0AAQAGACQAMgBEAFIA7wDwAAAAAwJJAZAABQAEAooCWAAAAEsCigJYAAABXgAyATwAAAILBQkFAAACAARAAAKHAgA4AQAAAAAAAAAAQ1REQgBAAA37AgMg/zgAAAQaAghgAACfAAAAAAIPArEAAAAgAAMAAAADAAAAAwAAABwAAQAAAAAA7AADAAEAAAAcAAQA0AAAADAAIAAEABAADQB+AP8BMQFTAXgCxgLaAtwgCiAUIBogHiAiICYgLyA6IEQgXyCsISIl/PsC//8AAAANACAAoAExAVIBeALGAtoC3CAAIBAgGCAcICIgJiAvIDkgRCBfIKwhIiX8+wH////1/+P/wv+R/3H/Tf4A/e397ODJ4MTgweDA4L3guuCy4KngoOCG4DrfxdrsBegAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQYAAAEAAAAAAAAAAQIAAAACAAAAAAAAAAAAAAAAAAAAAQAAAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vM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EBZWSOwAFBYZVmwAyUjYUREsAFgLbALLCAgRSCwASsjsABDsAQlYCBFiiNhIGSwJFBYsAAbsEBZI7AAUFhlWbADJSNhRESwAWAtsAwsILAAI0KyCwoDRVghGyMhWSohLbANLLECAkWwZGFELbAOLLABYCAgsAxDSrAAUFggsAwjQlmwDUNKsABSWCCwDSNCWS2wDywgsBBiZrABYyC4BABjiiNhsA5DYCCKYCCwDiNCIy2wECxLVFixBGREWSSwDWUjeC2wESxLUVhLU1ixBGREWRshWSSwE2Uj
h1{ font-family: 'gilroybold'; line-height: 0%; font-size: 80px; color: #0075D0; margin: 30px; margin-left: 0px; margin-bottom: 60px; }
h2{ font-family: 'gilroybold'; font-weight: bold; line-height: 35px; vertical-align:middle; font-size: 36px; color: #0075D0; margin: 0px; }
h3{ font-family: 'gilroybold'; font-weight: bold; line-height: 22px; font-size: 22px; color: #0075D0; margin: 0px; padding-top: 40px; padding-bottom: 10px; }
h2 b { font-size:20px; vertical-align:middle; opacity:0.5; }
p{ font-family: 'open_sansregular'; font-weight: normal; line-height: normal; font-size: 15px; color: #024274; }
a{ font-family: 'open_sansregular'; font-weight: 600; line-height: normal; font-size: 15px; color: #0075D0; }
a:visited{ font-family: 'open_sansregular'; font-weight: 600; line-height: normal; font-size: 15px; color: #0075D0; }
pre{ font-family: 'fira_monoregular'; line-height: 20px; font-size: 14px; color: #000; tab-size: 4; }
.code{ background: #EDF7FF; border-radius: 5px; padding: 10px; margin: 15px; }
.tip{ background: #EDF7FF; font-family: 'open_sansregular'; line-height: 25px; border-radius: 5px; padding: 10px; color: #0075D0; font-size: 15px; border: 5px; margin: 15px; }
.warning{ background: #FFDCBC; font-family: 'open_sansregular'; line-height: 25px; border-radius: 5px; padding: 10px; color: #FD7C09; font-size: 15px; border: 5px; margin: 15px; }
.error{ background: #FFB6B6; font-family: 'open_sansregular'; line-height: 25px; border-radius: 5px; padding: 10px; color: #FF4545; font-size: 15px; border: 5px; margin: 15px; }
::-webkit-scrollbar{ width: 10px; }
::-webkit-scrollbar-track{ background: #f1f1f1; }
::-webkit-scrollbar-thumb{ background: #0075D0; }
::-webkit-scrollbar-thumb:hover{ background: #555; }
</style>
</head>
<body style="margin: 0; height: 98%;">
<div style="background-color: #0075D0; position: absolute; left: 0px; right: 0px; top: 0px; height: 20px;">
</div>
<div style="position: absolute; left: 350px; right: 0px; top: 20px; bottom: 20px; overflow-y: scroll; padding: 20px;">
<div style="padding-top: 30px; padding-bottom: 50px;">
<h2 style="font-size: 75px; color: #0075D0; text-align: center; vertical-align: middle; line-height: 50px;">Lean GUI</h2>
<br>
<h2 style="font-size: 30px; color: #0075D0; text-align: center; vertical-align: middle; line-height: 20px;">DOCUMENTATION</h2>
</div>
<div style="overflow:hidden;"><a name="WhatIs"></a><h2>What is Lean GUI?</h2><p>Lean GUI is an extension to Unity's UI system, adding many useful components.</p><p>The new components are also designed to be very flexible, so you can combine them in any way you like.</p><br><br></div><div style="overflow:hidden;"><a name="GettingStarted"></a><h2>How do I get started?</h2><p>Simply go through all the demo scenes in the Lean/GUI/Examples folder!</p><p>Most of the demo scenes introduce one new feature at a time, allowing you to clearly understand what is being done.</p><p>The description at the bottom also tells you in detail which components or settings were added/changed to achieve the effects seen.</p><p>To understand what a specific component setting does, just hover your mouse over it to see the tooltip. You can also click the documentation button at the top right of the component.</p><br><br></div>
<br><br>
<br><br>
<h1>Assets</h1>
<p>Here's a list of all my other assets, please check them out!</p><p>You can also view this list on <a href="https://CarlosWilkes.com/Get/Assets" target="_blank">my Asset Store page</a>.</p>
<div style="overflow:hidden;">
<div style="float: left; padding-right: 20px;"><a href="https://CarlosWilkes.com/Get/LeanTouch" target="_blank"><img src="https://api.assetstore.unity3d.com/affiliate/embed/package/30111/icon" alt="Lean Touch" width="128" height="128" /></a></div>
<a name="GetLeanTouch"></a><h2>Lean Touch</h2>
<p>Rapidly develop your game with consistent input across desktop & mobile using Lean Touch. This lightweight asset comes with many modular components, allowing you to customize them to your exact project needs!</p>
</div>
<br><div style="overflow:hidden;">
<div style="float: left; padding-right: 20px;"><a href="https://CarlosWilkes.com/Get/LeanTouchPlus" target="_blank"><img src="https://api.assetstore.unity3d.com/affiliate/embed/package/72356/icon" alt="Lean Touch+" width="128" height="128" /></a></div>
<a name="GetLeanTouchPlus"></a><h2>Lean Touch+</h2>
<p>Lean Touch+ is an extension to the popular Lean Touch asset, adding many more example scenes.</p>
</div>
<br><div style="overflow:hidden;">
<div style="float: left; padding-right: 20px;"><a href="https://CarlosWilkes.com/Get/LeanLocalization" target="_blank"><img src="https://api.assetstore.unity3d.com/affiliate/embed/package/28504/icon" alt="Lean Localization" width="128" height="128" /></a></div>
<a name="GetLeanLocalization"></a><h2>Lean Localization</h2>
<p>Lean Localization is a localization library that's designed to be as simple to use as possible for both designers, and programmers.</p>
</div>
<br><div style="overflow:hidden;">
<div style="float: left; padding-right: 20px;"><a href="https://CarlosWilkes.com/Get/LeanPool" target="_blank"><img src="https://api.assetstore.unity3d.com/affiliate/embed/package/35666/icon" alt="Lean Pool" width="128" height="128" /></a></div>
<a name="GetLeanPool"></a><h2>Lean Pool</h2>
<p>Quickly optimize the performance of your games using Lean Pool. Within minutes you can use this lightweight asset to preload, recycle, and limit the spawning of your prefabs.</p>
</div>
<br><div style="overflow:hidden;">
<div style="float: left; padding-right: 20px;"><a href="https://CarlosWilkes.com/Get/LeanTransition" target="_blank"><img src="https://api.assetstore.unity3d.com/affiliate/embed/package/144107/icon" alt="Lean Transition" width="128" height="128" /></a></div>
<a name="GetLeanTransition"></a><h2>Lean Transition</h2>
<p>Quickly polish your games using Lean Transition. This asset allows you to easily tween or animate almost anything in your game, making it transition smoothly.</p>
</div>
<br><div style="overflow:hidden;">
<div style="float: left; padding-right: 20px;"><a href="https://CarlosWilkes.com/Get/LeanGUI" target="_blank"><img src="https://api.assetstore.unity3d.com/affiliate/embed/package/72138/icon" alt="Lean GUI" width="128" height="128" /></a></div>
<a name="GetLeanGUI"></a><h2>Lean GUI</h2>
<p>Lean GUI is a colllection of components that extend Unity's GUI system, allowing you to rapidly enhance the user experience (UX) of your game's UI.</p>
</div>
<br><div style="overflow:hidden;">
<div style="float: left; padding-right: 20px;"><a href="https://CarlosWilkes.com/Get/LeanGUIShapes" target="_blank"><img src="https://api.assetstore.unity3d.com/affiliate/embed/package/69366/icon" alt="Lean GUI Shapes" width="128" height="128" /></a></div>
<a name="GetLeanGUIShapes"></a><h2>Lean GUI Shapes</h2>
<p>Lean GUI Shapes allows you to quickly add lines, rounded boxes, polygons, and much more to your GUI!</p>
</div>
<br><div style="overflow:hidden;">
<div style="float: left; padding-right: 20px;"><a href="https://CarlosWilkes.com/Get/LeanTexture" target="_blank"><img src="https://api.assetstore.unity3d.com/affiliate/embed/package/200591/icon" alt="Lean Texture" width="128" height="128" /></a></div>
<a name="GetLeanTexture"></a><h2>Lean Texture</h2>
<p>Lean Texture allows you quickly modify textures in your project with a range of filters, pack them together into channels, and much more!</p>
</div>
<br><div style="overflow:hidden;">
<div style="float: left; padding-right: 20px;"><a href="https://CarlosWilkes.com/Get/LeanTexturePlus" target="_blank"><img src="https://api.assetstore.unity3d.com/affiliate/embed/package/200571/icon" alt="Lean Texture+" width="128" height="128" /></a></div>
<a name="GetLeanTexturePlus"></a><h2>Lean Texture+</h2>
<p>Lean Texture+ is an extension to Lean Texture, adding many new types of texture modification tools!</p>
</div>
<br><div style="overflow:hidden;">
<div style="float: left; padding-right: 20px;"><a href="https://CarlosWilkes.com/Get/PaintIn3D" target="_blank"><img src="https://api.assetstore.unity3d.com/affiliate/embed/package/26286/icon" alt="Paint in 3D" width="128" height="128" /></a></div>
<a name="GetPaintIn3D"></a><h2>Paint in 3D</h2>
<p>Paint all your objects using <strong>Paint in 3D</strong> - both in game, and in editor. All features are optimized with GPU accelerated texture painting, so you can enjoy consistent performance, even if you paint your objects one million times!</p>
</div>
<br><div style="overflow:hidden;">
<div style="float: left; padding-right: 20px;"><a href="https://CarlosWilkes.com/Get/FLOW" target="_blank"><img src="https://api.assetstore.unity3d.com/affiliate/embed/package/197014/icon" alt="FLOW" width="128" height="128" /></a></div>
<a name="GetFlow"></a><h2>FLOW</h2>
<p><strong>FLOW</strong> allows you to add large scale interactive fluids to your scene - all highly optimized using GPU acceleration.</p>
</div>
<br><div style="overflow:hidden;">
<div style="float: left; padding-right: 20px;"><a href="https://CarlosWilkes.com/Get/Destructible2D" target="_blank"><img src="https://api.assetstore.unity3d.com/affiliate/embed/package/18125/icon" alt="Destructible 2D" width="128" height="128" /></a></div>
<a name="GetDestructible2D"></a><h2>Destructible 2D</h2>
<p>Unlock the full potential of your 2D games using Destructible 2D, this asset allows you to quickly convert all your boring solid sprites into fully destructible ones!</p>
</div>
<br><div style="overflow:hidden;">
<div style="float: left; padding-right: 20px;"><a href="https://CarlosWilkes.com/Get/SpaceGraphicsToolkit" target="_blank"><img src="https://api.assetstore.unity3d.com/affiliate/embed/package/4160/icon" alt="Space Graphics Toolkit" width="128" height="128" /></a></div>
<a name="GetSpaceGraphicsToolkit"></a><h2>Space Graphics Toolkit</h2>
<p>Quickly make the space scene of your dreams using Space Graphics Toolkit. This huge collection of space effects can be customized and combined in any way you like, allowing you to quickly make realistic or fantasy worlds. Each feature has been heavily optimized to run on almost any device and platform.</p>
</div>
<br><div style="overflow:hidden;">
<div style="float: left; padding-right: 20px;"><a href="https://CarlosWilkes.com/Get/SpaceGraphicsPlanets" target="_blank"><img src="https://api.assetstore.unity3d.com/affiliate/embed/package/124578/icon" alt="Space Graphics Planets" width="128" height="128" /></a></div>
<a name="GetPlanetPack"></a><h2>Space Graphics Planets</h2>
<p>Enhance your space scenes using this large pack of high detail volumetric planets. These planets are finished using the powerful planet features from Space Graphics Toolkit (not required).</p>
</div>
<br><div style="overflow:hidden;">
<div style="float: left; padding-right: 20px;"><a href="https://CarlosWilkes.com/Get/VolumetricAudio" target="_blank"><img src="https://api.assetstore.unity3d.com/affiliate/embed/package/17125/icon" alt="Volumetric Audio" width="128" height="128" /></a></div>
<a name="GetVolumetricAudio"></a><h2>Volumetric Audio</h2>
<p>Unity sounds only emanate from a single point source. This is great for explosions and footsteps, but quite often you need something more advanced. Volumetric Audio is an easy to use package that allows you to define boxes, spheres, capsules, paths, or meshes that sounds can emanate from.</p>
</div>
<br>
<br><br>
<br><br>
<h1>Versions</h1>
<div style="overflow:hidden;"><a name="1.2.2"></a><h2>1.2.2</h2><p>Fixed <b>LeanButton</b> on touch devices.</p><br><br></div><div style="overflow:hidden;"><a name="1.2.1"></a><h2>1.2.1</h2><p>Updated common library code.<br>Added <b>LeanButton.Required</b> setting.<br>Added <b>LeanJoystick.CenterOnRelease</b> setting.<br>Fixed <b>LeanChaseRigidbody.Linear</b> setting.<br>Fixed <b>LeanTooltip.Boundary = Pivot</b> setting when the tooltip exceeds the screen size when flipped.<br>Renamed <b>LeanTooltip.Boundary = Position</b> to <b>ShiftPosition</b>.<br>Renamed <b>LeanTooltip.Boundary = Pivot</b> to <b>FlipPivot</b>.</p><br><br></div><div style="overflow:hidden;"><a name="1.2.0"></a><h2>1.2.0</h2><p>Moved main build to Unity 2019.4.12f1.<br>Added <b>Non/Interactable</b> events and transitions to LeanButton.<br>Added <b>Non/Interactable</b> events and transitions to LeanDrag.<br>Added <b>Non/Interactable</b> events and transitions to LeanResize.<br>Added <b>Non/Interactable</b> events and transitions to LeanJoystick.</p><br><br></div><div style="overflow:hidden;"><a name="1.1.9"></a><h2>1.1.9</h2><p>Fixed <b>LeanJoystick</b> inspector error.<br>Fixed <b>LeanShake</b> inspector error.</p><br><br></div><div style="overflow:hidden;"><a name="1.1.8"></a><h2>1.1.8</h2><p>Added <b>LeanSnap.Position</b> value.<br>Added <b>LeanSnap.OnPositionChanged</b> event.<br>Added <b>LeanSnapEvent</b> component.<br>Added <b>LeanTooltip.Move</b> setting.<br>Improved <b>Tooltip</b> demo scenes.</p><br><br></div><div style="overflow:hidden;"><a name="1.1.7"></a><h2>1.1.7</h2><p>Added <b>Swipe Screens</b> demo scene.<br>Added <b>LeanSnap.HorizontalIntervalRect</b> setting.<br>Added <b>LeanSnap.VerticalIntervalRect</b> setting.<br>Added <b>LeanSnap.HorizontalIntervalParent</b> setting.<br>Added <b>LeanSnap.VerticalIntervalParent</b> setting.<br>Added <b>LeanConstrainAnchoredPosition.HorizontalRectMin/Max</b> settings.<br>Added <b>LeanConstrainAnchoredPosition.HorizontalParentMin/Max</b> settings.<br>Added all legacy transition options back to <b>LeanButton</b>.<br>Added all legacy transition options back to <b>LeanJoystick</b>.<br>Added all legacy transition options back to <b>LeanResize</b>.<br>Added all legacy transition options back to <b>LeanDrag</b>.</p><br><br></div><div style="overflow:hidden;"><a name="1.1.6"></a><h2>1.1.6</h2><p>Moved main build to Unity <b>2018.4.13f1</b>.<br>Added <b>LeanMoveToTop.Move</b> setting.<br>Added <b>LeanConstrainToParent.Horizontal</b> setting.<br>Added <b>LeanConstrainToParent.Vertical</b> setting.<br>Added <b>LeanConstrainAnchoredPosition</b> component.</p><br><br></div><div style="overflow:hidden;"><a name="1.1.5"></a><h2>1.1.5</h2><p>Moved main build to Unity 2018.4.0f1.<br>Updated documentation.<br>Added asmdef.<br>Fixed <b>LeanJoystick</b> bug with screen space camera UI.</p><br><br></div><div style="overflow:hidden;"><a name="1.1.4"></a><h2>1.1.4</h2><p>Fixed <b>LeanDrag</b> bug.</p><br><br></div><div style="overflow:hidden;"><a name="1.1.3"></a><h2>1.1.3</h2><p>Updated common library code.</p><br><br></div><div style="overflow:hidden;"><a name="1.1.2"></a><h2>1.1.2</h2><p>Added <b>LeanConstrainToParent</b> component.<br>Added <b>Constrain</b> demo scene.<br>Fixed <b>LeanDrag</b> when using rotated elements.<br>Fixed inspector expand buttons in UI Elements.</p><br><br></div><div style="overflow:hidden;"><a name="1.1.1"></a><h2>1.1.1</h2><p>Fixed bug in LeanHelper.cs that prevents making builds.</p><br><br></div><div style="overflow:hidden;"><a name="1.1.0"></a><h2>1.1.0</h2><p>Updated <b>Common</b> library code.</p><br><br></div><div style="overflow:hidden;"><a name="1.0.9"></a><h2>1.0.9</h2><p>Fixed <b>LeanSwipe.SwipeTransitions</b> not being called.<br>Fixed <b>LeanTooltip.OnHide</b> not being called.<br>Updated <b>Common</b> library code.<br>Updated demo scene design.</p><br><br></div><div style="overflow:hidden;"><a name="1.0.8"></a><h2>1.0.8</h2><p>Fixed <b>LeanJoystick.OnDown</b> event.<br>Fixed <b>LeanJoystick.OnUp</b> event.<br>Improved all component tooltips and comments.</p><br><br></div><di
<br><br>
<br><br>
<h1>Components</h1>
<div style="overflow:hidden;"><a name="LeanButton"></a><h2>LeanButton</h2><p>This component provides an alternative to Unity's UI button, allowing you to easily add custom transitions, as well as add an OnDown event.</p><div style="padding-left:75px;"><br>
<h2>
<b style="">ButtonTypes</b>
<br>
<span style="">RequiredButtons</span>
</h2>
<p>Which buttons should this component react to?</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">bool</b>
<br>
<span style="">MultiDown</span>
</h2>
<p>If you enable this then OnDown + DownTransition be invoked once for each finger that begins touching the button.</p><p>If you disable this then OnDown + DownTransition will only be invoked for the first finger that begins touching the button.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">DragThreshold</span>
</h2>
<p>If your finger presses down on the button and drags more than this many pixels, then selection will be canceled.</p><p>-1 = Unlimited drag distance.</p><p>0 = Until the finger exits the button graphic.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">LeanPlayer</b>
<br>
<span style="">NormalTransitions</span>
</h2>
<p>This allows you to perform a transition when there are no longer any fingers touching the button.</p><p>You can create a new transition GameObject by right clicking the transition name, and selecting <b>Create</b>.</p><p>For example, the <b>Graphic.color Transition (LeanGraphicColor)</b> component can be used to change the color back to normal.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">LeanPlayer</b>
<br>
<span style="">DownTransitions</span>
</h2>
<p>This allows you to perform a transition when a finger begins touching the button.</p><p>You can create a new transition GameObject by right clicking the transition name, and selecting <b>Create</b>.</p><p>For example, the <b>Graphic.color Transition (LeanGraphicColor)</b> component can be used to change the color.</p><div class="tip"><strong>NOTE</strong>&emsp; Any transitions you perform here must be reverted in the <b>Normal Transitions</b> setting using a matching transition component.</div>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">LeanPlayer</b>
<br>
<span style="">ClickTransitions</span>
</h2>
<p>This allows you to perform a transition when you click or tap on this button.</p><p>You can create a new transition GameObject by right clicking the transition name, and selecting <b>Create</b>.</p><p>For example, the <b>Play Sound Transition (LeanPlaySound)</b> component can be used to play a click sound.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">UnityEvent</b>
<br>
<span style="">OnDown</span>
</h2>
<p>This allows you to perform an action when a finger begins touching the button.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">UnityEvent</b>
<br>
<span style="">OnClick</span>
</h2>
<p>This allows you to perform an action when you click or tap on this button.</p>
</div><br><br><br></div><div style="overflow:hidden;"><a name="LeanConstrainAnchoredPosition"></a><h2>LeanConstrainAnchoredPosition</h2><p>This component will automatically constrain the current <b>RectTransform.anchoredPosition</b> to the specified range.</p><div style="padding-left:75px;"><br>
<h2>
<b style="">bool</b>
<br>
<span style="">Horizontal</span>
</h2>
<p>Constrain horizontally?</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">HorizontalPixelMin</span>
</h2>
<p>The minimum value in pixels.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">HorizontalPixelMax</span>
</h2>
<p>The maximum value in pixels.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">HorizontalRectMin</span>
</h2>
<p>The minimum value in 0..1 percent of the current RectTransform size.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">HorizontalRectMax</span>
</h2>
<p>The maximum value in 0..1 percent of the current RectTransform size.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">HorizontalParentMin</span>
</h2>
<p>The minimum value in 0..1 percent of the parent RectTransform size.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">HorizontalParentMax</span>
</h2>
<p>The maximum value in 0..1 percent of the parent RectTransform size.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">bool</b>
<br>
<span style="">Vertical</span>
</h2>
<p>Constrain vertically?</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">VerticalPixelMin</span>
</h2>
<p>The minimum value in pixels.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">VerticalPixelMax</span>
</h2>
<p>The maximum value in pixels.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">VerticalRectMin</span>
</h2>
<p>The minimum value in 0..1 percent of the current RectTransform size.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">VerticalRectMax</span>
</h2>
<p>The maximum value in 0..1 percent of the current RectTransform size.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">VerticalParentMin</span>
</h2>
<p>The minimum value in 0..1 percent of the parent RectTransform size.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">VerticalParentMax</span>
</h2>
<p>The maximum value in 0..1 percent of the parent RectTransform size.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">Vector2</b>
<br>
<span style="">HorizontalRange</span>
</h2>
<p>This tells you the minimum and maximum values of the current <b>RectTransform</b> based on this component's horizontal anchor settings.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">Vector2</b>
<br>
<span style="">VerticalRange</span>
</h2>
<p>This tells you the minimum and maximum values of the current <b>RectTransform</b> based on this component's vertical anchor settings.</p>
</div><br><br><br></div><div style="overflow:hidden;"><a name="LeanConstrainToParent"></a><h2>LeanConstrainToParent</h2><p>This component will automatically constrain the current <b>RectTransform</b> to its parent.</p><div style="padding-left:75px;"><br>
<h2>
<b style="">bool</b>
<br>
<span style="">Horizontal</span>
</h2>
<p>Constrain horizontally?</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">bool</b>
<br>
<span style="">Vertical</span>
</h2>
<p>Constrain vertically?</p>
</div><br><br><br></div><div style="overflow:hidden;"><a name="LeanDrag"></a><h2>LeanDrag</h2><p>This component allows you to drag the specified RectTransform when you drag on this UI element.</p><div style="padding-left:75px;"><br>
<h2>
<b style="">RectTransform</b>
<br>
<span style="">Target</span>
</h2>
<p>If you want a different RectTransform to be moved while dragging on this UI element, then specify it here. This allows you to turn the current UI element into a drag handle.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">bool</b>
<br>
<span style="">Horizontal</span>
</h2>
<p>Should you be able to drag horizontally?</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">bool</b>
<br>
<span style="">Vertical</span>
</h2>
<p>Should you be able to drag vertically?</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">LeanPlayer</b>
<br>
<span style="">BeginTransitions</span>
</h2>
<p>This allows you to perform a transition when this element begins being dragged.</p><p>You can create a new transition GameObject by right clicking the transition name, and selecting <b>Create</b>.</p><p>For example, the <b>Graphic.color Transition (LeanGraphicColor)</b> component can be used to change the color.</p><div class="tip"><strong>NOTE</strong>&emsp; Any transitions you perform here must be reverted in the <b>Normal Transitions</b> setting using a matching transition component.</div>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">LeanPlayer</b>
<br>
<span style="">EndTransitions</span>
</h2>
<p>This allows you to perform a transition when this element ends being dragged.</p><p>You can create a new transition GameObject by right clicking the transition name, and selecting <b>Create</b>.</p><p>For example, the <b>Graphic.color Transition (LeanGraphicColor)</b> component can be used to change the color.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">UnityEvent</b>
<br>
<span style="">OnBegin</span>
</h2>
<p>This allows you to perform an actions when this element begins being dragged.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">UnityEvent</b>
<br>
<span style="">OnEnd</span>
</h2>
<p>This allows you to perform an actions when this element ends being dragged.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">bool</b>
<br>
<span style="">Dragging</span>
</h2>
<p>This will return true if the mouse/finger is currently dragging this UI element.</p>
</div><br><br><br></div><div style="overflow:hidden;"><a name="LeanGui"></a><h2>LeanGui</h2><p>This class contains useful data specific to Lean GUI.</p><div style="padding-left:75px;"><br>
<h2>
<b style="">static List&lt;RaycastResult&gt;</b>
<br>
<span style="">RaycastGui</span>
<br>
<b>Vector2 screenPosition, LayerMask layerMask</b>
</h2>
<p>This will return all the RaycastResults under the specified screen point using the specified layerMask.</p><div class="tip"><strong>NOTE</strong>&emsp; The first result (0) will be the top UI element that was first hit.</div>
</div><br><br><br></div><div style="overflow:hidden;"><a name="LeanHitbox"></a><h2>LeanHitbox</h2><p>This component allows you to change a UI element's hitbox to use its graphic Image opacity/alpha.</p><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">Threshold</span>
</h2>
<p>The alpha threshold specifies the minimum alpha a pixel must have for the event to be considered a "hit" on the Image.</p>
</div><br><br><br></div><div style="overflow:hidden;"><a name="LeanHover"></a><h2>LeanHover</h2><p>This component allows you to perform an action as long as the mouse is hovering over the current UI element, or a finger is on top.</p><div style="padding-left:75px;"><br>
<h2>
<b style="">bool</b>
<br>
<span style="">MultiEnter</span>
</h2>
<p>Enable this if you want EnterTransitions + OnEnter to be invoked once for each mouse/finger that enters this element.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">bool</b>
<br>
<span style="">MultiExit</span>
</h2>
<p>Enable this if you want ExitTransitions + OnExit to be invoked once for each mouse/finger that exits this element.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">LeanPlayer</b>
<br>
<span style="">EnterTransitions</span>
</h2>
<p>This allows you to perform a transition when the mouse/finger enters this UI element.</p><p>You can create a new transition GameObject by right clicking the transition name, and selecting <b>Create</b>.</p><p>For example, the <b>Graphic.color Transition (LeanGraphicColor)</b> component can be used to change the color.</p><div class="tip"><strong>NOTE</strong>&emsp; Any transitions you perform here must be reverted in the <b>Exit Transitions</b> setting using a matching transition component.</div>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">LeanPlayer</b>
<br>
<span style="">ExitTransitions</span>
</h2>
<p>This allows you to perform a transition when the mouse/finger exits this UI element.</p><p>You can create a new transition GameObject by right clicking the transition name, and selecting <b>Create</b>.</p><p>For example, the <b>Graphic.color Transition (LeanGraphicColor)</b> component can be used to change the color.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">UnityEvent</b>
<br>
<span style="">OnEnter</span>
</h2>
<p>This allows you to perform an action when the mouse/finger enters this UI element.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">UnityEvent</b>
<br>
<span style="">OnExit</span>
</h2>
<p>This allows you to perform an action when the mouse/finger exits this UI element.</p>
</div><br><br><br></div><div style="overflow:hidden;"><a name="LeanJoystick"></a><h2>LeanJoystick</h2><p>This component turns the current UI element into a joystick.</p><div style="padding-left:75px;"><br>
<h2>
<b style="">ShapeType</b>
<br>
<span style="">Shape</span>
</h2>
<p>This allows you to control the shape of the joystick movement.</p><p>Box = -Size to +Size on x and y axes.</p><p>Circle = Within Radius on x and y axes.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">Vector2</b>
<br>
<span style="">Size</span>
</h2>
<p>This allows you to control the size of the joystick handle movement across the x and y axes.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">Radius</span>
</h2>
<p>The allows you to control the maximum distance the joystick handle can move across the x and y axes.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">RectTransform</b>
<br>
<span style="">Handle</span>
</h2>
<p>If you want to see where the joystick handle is, then make a child UI element, and set its RectTransform here.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">Damping</span>
</h2>
<p>This allows you to control how quickly the joystick handle position updates</p><p>-1 = instant.</p><div class="tip"><strong>NOTE</strong>&emsp; This is for visual purposes only, the actual joystick <b>ScaledValue</b> will instantly update.</div>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">bool</b>
<br>
<span style="">SnapWhileHeld</span>
</h2>
<p>If you only want the smooth <b>Dampening</b> to apply when the joystick is returning to the center, then you can enable this.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">bool</b>
<br>
<span style="">RelativeToOrigin</span>
</h2>
<p>By default, the joystick will be placed relative to the center of this UI element.</p><p>If you enable this, then the joystick will be placed relative to the place you first touch this UI element.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">bool</b>
<br>
<span style="">CenterOnRelease</span>
</h2>
<p>When the mouse/finger releases from the joystick, should the joystick value reset to the center, or stay where it is?</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">RectTransform</b>
<br>
<span style="">RelativeRect</span>
</h2>
<p>If you want to show the boundary of the joystick relative to the origin, then you can make a new child GameObject graphic, and set its RectTransform here.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">Vector2</b>
<br>
<span style="">ScaledValue</span>
</h2>
<p>The -1..1 x/y position of the joystick relative to the Size or Radius.</p><div class="tip"><strong>NOTE</strong>&emsp; When using a circle joystick, these values are normalized, and thus will never reach 1,1 on both axes. This prevents faster diagonal movement.</div>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">LeanPlayer</b>
<br>
<span style="">DownTransitions</span>
</h2>
<p>This allows you to perform a transition when a finger begins touching the joystick.</p><p>You can create a new transition GameObject by right clicking the transition name, and selecting <b>Create</b>.</p><p>For example, the <b>Graphic.color Transition (LeanGraphicColor)</b> component can be used to change the color.</p><div class="tip"><strong>NOTE</strong>&emsp; Any transitions you perform here must be reverted in the <b>Up Transitions</b> setting using a matching transition component.</div>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">LeanPlayer</b>
<br>
<span style="">UpTransitions</span>
</h2>
<p>This allows you to perform a transition when a finger stops touching the joystick.</p><p>You can create a new transition GameObject by right clicking the transition name, and selecting <b>Create</b>.</p><p>For example, the <b>Graphic.color Transition (LeanGraphicColor)</b> component can be used to change the color.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">UnityEvent</b>
<br>
<span style="">OnDown</span>
</h2>
<p>This allows you to perform an action when a finger begins touching the joystick.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">Vector2Event</b>
<br>
<span style="">OnSet</span>
</h2>
<p>This event is invoked each frame with the ScaledValue.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">UnityEvent</b>
<br>
<span style="">OnUp</span>
</h2>
<p>This allows you to perform an action when a finger stops touching the joystick.</p>
</div><br><br><br></div><div style="overflow:hidden;"><a name="LeanMoveToTop"></a><h2>LeanMoveToTop</h2><p>This component will automatically move the specified transform to be the first sibling when you press down on this UI element.</p><div style="padding-left:75px;"><br>
<h2>
<b style="">MoveType</b>
<br>
<span style="">Move</span>
</h2>
<p>This allows you to choose which component to perform the action on.</p><p>ThisTransform = transform.SetAsLastSibling().</p><p>TargetTransform = Target.SetAsLastSibling().</p><p>ParentComponents = Invoke all <b>LeanMoveToTop</b> ancestor components.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">Transform</b>
<br>
<span style="">Target</span>
</h2>
<p>If you want a different transform to be moved when pressing down on this UI element, then specify it here.</p><p>None = The current GameObject's transform.</p>
</div><br><br><br></div><div style="overflow:hidden;"><a name="LeanOrientation"></a><h2>LeanOrientation</h2><p>This component allows you make a UI element based on the current device orientation.</p><div style="padding-left:75px;"><br>
<h2>
<b style="">bool</b>
<br>
<span style="">AnchoredPosition</span>
</h2>
<p>Should the RectTransform.anchoredPosition setting change based on device orientation?</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">Vector2</b>
<br>
<span style="">AnchoredPositionL</span>
</h2>
<p>The RectTransform.anchoredPosition value when in landscape mode.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">Vector2</b>
<br>
<span style="">AnchoredPositionP</span>
</h2>
<p>The RectTransform.anchoredPosition value when in portrait mode.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">bool</b>
<br>
<span style="">SizeDelta</span>
</h2>
<p>Should the RectTransform.sizeDelta setting change based on device orientation?</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">Vector2</b>
<br>
<span style="">SizeDeltaL</span>
</h2>
<p>The RectTransform.sizeDelta value when in landscape mode.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">Vector2</b>
<br>
<span style="">SizeDeltaP</span>
</h2>
<p>The RectTransform.sizeDelta value when in portrait mode.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">bool</b>
<br>
<span style="">AnchorMin</span>
</h2>
<p>Should the RectTransform.anchorMin setting change based on device orientation?</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">Vector2</b>
<br>
<span style="">AnchorMinL</span>
</h2>
<p>The RectTransform.anchorMin value when in landscape mode.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">Vector2</b>
<br>
<span style="">AnchorMinP</span>
</h2>
<p>The RectTransform.anchorMin value when in portrait mode.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">bool</b>
<br>
<span style="">AnchorMax</span>
</h2>
<p>Should the RectTransform.anchorMax setting change based on device orientation?</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">Vector2</b>
<br>
<span style="">AnchorMaxL</span>
</h2>
<p>The RectTransform.anchorMax value when in landscape mode.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">Vector2</b>
<br>
<span style="">AnchorMaxP</span>
</h2>
<p>The RectTransform.anchorMax value when in portrait mode.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">bool</b>
<br>
<span style="">OffsetMin</span>
</h2>
<p>Should the RectTransform.offsetMin setting change based on device orientation?</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">Vector2</b>
<br>
<span style="">OffsetMinL</span>
</h2>
<p>The RectTransform.offsetMin value when in landscape mode.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">Vector2</b>
<br>
<span style="">OffsetMinP</span>
</h2>
<p>The RectTransform.offsetMin value when in portrait mode.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">bool</b>
<br>
<span style="">OffsetMax</span>
</h2>
<p>Should the RectTransform.offsetMax setting change based on device orientation?</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">Vector2</b>
<br>
<span style="">OffsetMaxL</span>
</h2>
<p>The RectTransform.offsetMax value when in landscape mode.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">Vector2</b>
<br>
<span style="">OffsetMaxP</span>
</h2>
<p>The RectTransform.offsetMax value when in portrait mode.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">bool</b>
<br>
<span style="">Pivot</span>
</h2>
<p>Should the RectTransform.pivot setting change based on device orientation?</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">Vector2</b>
<br>
<span style="">PivotL</span>
</h2>
<p>The RectTransform.pivot value when in landscape mode.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">Vector2</b>
<br>
<span style="">PivotP</span>
</h2>
<p>The RectTransform.pivot value when in portrait mode.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">bool</b>
<br>
<span style="">LocalRotation</span>
</h2>
<p>Should the RectTransform.localRotation setting change based on device orientation?</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">Quaternion</b>
<br>
<span style="">LocalRotationL</span>
</h2>
<p>The RectTransform.localRotation value when in landscape mode.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">Quaternion</b>
<br>
<span style="">LocalRotationP</span>
</h2>
<p>The RectTransform.localRotation value when in portrait mode.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">bool</b>
<br>
<span style="">LocalScale</span>
</h2>
<p>Should the RectTransform.localScale setting change based on device orientation?</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">Vector3</b>
<br>
<span style="">LocalScaleL</span>
</h2>
<p>The RectTransform.localScale value when in landscape mode.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">Vector3</b>
<br>
<span style="">LocalScaleP</span>
</h2>
<p>The RectTransform.localScale value when in portrait mode.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">LeanPlayer</b>
<br>
<span style="">LandscapeTransitions</span>
</h2>
<p>This allows you to perform a transition when the orientation changes to landscape.</p><p>You can create a new transition GameObject by right clicking the transition name, and selecting <b>Create</b>.</p><p>For example, the <b>Graphic.color Transition (LeanGraphicColor)</b> component can be used to change the color.</p><div class="tip"><strong>NOTE</strong>&emsp; Any transitions you perform here must be reverted in the <b>Portrait Transitions</b> setting using a matching transition component.</div>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">LeanPlayer</b>
<br>
<span style="">PortraitTransitions</span>
</h2>
<p>This allows you to perform a transition when the orientation changes to portrait.</p><p>You can create a new transition GameObject by right clicking the transition name, and selecting <b>Create</b>.</p><p>For example, the <b>Graphic.color Transition (LeanGraphicColor)</b> component can be used to change the color.</p><div class="tip"><strong>NOTE</strong>&emsp; Any transitions you perform here must be reverted in the <b>Landscape Transitions</b> setting using a matching transition component.</div>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">UnityEvent</b>
<br>
<span style="">OnLandscape</span>
</h2>
<p>This event will be invoked when the orientation changes to landscape.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">UnityEvent</b>
<br>
<span style="">OnPortrait</span>
</h2>
<p>This event will be invoked when the orientation changes to portrait.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">void</b>
<br>
<span style="">CopyToLandscape</span>
<br>
<b></b>
</h2>
<p>This will copy the current RectTransform settings to the <b>Landscape</b> settings.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">void</b>
<br>
<span style="">CopyToPortrait</span>
<br>
<b></b>
</h2>
<p>This will copy the current RectTransform settings to the <b>Portrait</b> settings.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">void</b>
<br>
<span style="">UpdateOrientation</span>
<br>
<b></b>
</h2>
<p>This forces the orientation to update now.</p><div class="tip"><strong>NOTE</strong>&emsp; This will call OnLandscape/OnPortrait again.</div>
</div><br><br><br></div><div style="overflow:hidden;"><a name="LeanPulse"></a><h2>LeanPulse</h2><p>This component allows you to trigger a transition and/or event at regular intervals.</p><div style="padding-left:75px;"><br>
<h2>
<b style="">static LinkedList&lt;LeanPulse&gt;</b>
<br>
<span style="">Instances</span>
</h2>
<p>This stores all active and enabled LeanPulse instances, so you can manually pulse them by name from anywhere.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">int</b>
<br>
<span style="">RemainingPulses</span>
</h2>
<p>This tells you how many pulses remain until this component stops.</p><p>-1 = unlimited</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">RemainingTime</span>
</h2>
<p>When this reaches 0, and RemainingPulses is not 0, this component will pulse.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">TimeInterval</span>
</h2>
<p>This allows you to control the amount of seconds between each pulse.</p><p>-1 = Manual Pulses Only</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">LeanTiming</b>
<br>
<span style="">Timing</span>
</h2>
<p>This allows you to choose where in the game loop this pulse will update.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">LeanPlayer</b>
<br>
<span style="">PulseTransitions</span>
</h2>
<p>This allows you to perform an animation when this UI element pulses.</p><p>You can create a new transition GameObject by right clicking the transition name, and selecting <b>Create</b>.</p><p>For example, the <b>LeanPlaySound (Play Sound Transition)</b> component can be used to play a pulse sound.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">IntEvent</b>
<br>
<span style="">OnPulse</span>
</h2>
<p>This allows you to perform an action when this UI element pulses.</p><p>int = RemainingPulses</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">void</b>
<br>
<span style="">TryPulse</span>
<br>
<b></b>
</h2>
<p>This will pulse, as long as you have remaining pulses.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">void</b>
<br>
<span style="">Pulse</span>
<br>
<b></b>
</h2>
<p>This allows you to manually force this component to pulse right now.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">static void</b>
<br>
<span style="">TryPulseAll</span>
<br>
<b>string name</b>
</h2>
<p>This method calls TryPulse on all active and enabled LeanPulse instances with the specified GameObject name.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">static void</b>
<br>
<span style="">PulseAll</span>
<br>
<b>string name</b>
</h2>
<p>This method calls Pulse on all active and enabled LeanPulse instances with the specified GameObject name.</p>
</div><br><br><br></div><div style="overflow:hidden;"><a name="LeanResize"></a><h2>LeanResize</h2><p>This component allows you to resize the specified RectTransform when you drag on this UI element.</p><div style="padding-left:75px;"><br>
<h2>
<b style="">RectTransform</b>
<br>
<span style="">Target</span>
</h2>
<p>If you want this GameObject to act as a resize handle, and for a different object to actually be resized then specify the target object here.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">bool</b>
<br>
<span style="">Horizontal</span>
</h2>
<p>Should you be able to drag horizontally?</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">HorizontalScale</span>
</h2>
<p>Horizontal resize strength.</p><p>0 = none</p><p>1 = normal</p><p>-1 = inverted</p><p>2 = centered</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">bool</b>
<br>
<span style="">HorizontalClamp</span>
</h2>
<p>Should the horizontal size value be clamped?</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">HorizontalMin</span>
</h2>
<p>The minimum size value.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">HorizontalMax</span>
</h2>
<p>The maximum size value.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">bool</b>
<br>
<span style="">Vertical</span>
</h2>
<p>Should you be able to drag vertically?</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">VerticalScale</span>
</h2>
<p>Vertical resize strength.</p><p>0 = none</p><p>1 = normal</p><p>-1 = inverted</p><p>2 = centered</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">bool</b>
<br>
<span style="">VerticalClamp</span>
</h2>
<p>Should the vertical size value be clamped?</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">VerticalMin</span>
</h2>
<p>The minimum size value.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">VerticalMax</span>
</h2>
<p>The maximum size value.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">LeanPlayer</b>
<br>
<span style="">BeginTransitions</span>
</h2>
<p>This allows you to perform a transition when this element begins being resized.</p><p>You can create a new transition GameObject by right clicking the transition name, and selecting <b>Create</b>.</p><p>For example, the <b>Graphic.color Transition (LeanGraphicColor)</b> component can be used to change the color.</p><div class="tip"><strong>NOTE</strong>&emsp; Any transitions you perform here must be reverted in the <b>Normal Transitions</b> setting using a matching transition component.</div>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">LeanPlayer</b>
<br>
<span style="">EndTransitions</span>
</h2>
<p>This allows you to perform a transition when this element ends being resized.</p><p>You can create a new transition GameObject by right clicking the transition name, and selecting <b>Create</b>.</p><p>For example, the <b>Graphic.color Transition (LeanGraphicColor)</b> component can be used to change the color.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">UnityEvent</b>
<br>
<span style="">OnBegin</span>
</h2>
<p>This allows you to perform an actions when this element begins being resized.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">UnityEvent</b>
<br>
<span style="">OnEnd</span>
</h2>
<p>This allows you to perform an actions when this element ends being resized.</p>
</div><br><br><br></div><div style="overflow:hidden;"><a name="LeanSafeArea"></a><h2>LeanSafeArea</h2><p>This component adds a safe area to your UI. This is mainly used to prevent UI elements from going through notches on mobile devices.</p><p>This component should be added to a GameObject that is a child of your Canvas root.</p><div style="padding-left:75px;"><br>
<h2>
<b style="">bool</b>
<br>
<span style="">Horizontal</span>
</h2>
<p>Should you be able to drag horizontally?</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">bool</b>
<br>
<span style="">Vertical</span>
</h2>
<p>Should you be able to drag vertically?</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">void</b>
<br>
<span style="">UpdateSafeArea</span>
<br>
<b></b>
</h2>
<p>This method will instantly update the safe area RectTransform.</p>
</div><br><br><br></div><div style="overflow:hidden;"><a name="LeanSelectable"></a><h2>LeanSelectable</h2><p>This component provides an alternative to Unity's UI button, allowing you to easily add custom transitions, as well as add an OnDown event.</p><div style="padding-left:75px;"><br>
<h2>
<b style="">LeanPlayer</b>
<br>
<span style="">InteractableTransitions</span>
</h2>
<p>This allows you to perform a transition when this element becomes interactable.</p><p>You can create a new transition GameObject by right clicking the transition name, and selecting <b>Create</b>.</p><p>For example, the <b>Graphic.color Transition (LeanGraphicColor)</b> component can be used to change the color.</p><div class="tip"><strong>NOTE</strong>&emsp; Any transitions you perform here must be reverted in the <b>Landscape Transitions</b> setting using a matching transition component.</div>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">LeanPlayer</b>
<br>
<span style="">NonInteractableTransitions</span>
</h2>
<p>This allows you to perform a transition when this element becomes non-interactable.</p><p>You can create a new transition GameObject by right clicking the transition name, and selecting <b>Create</b>.</p><p>For example, the <b>Graphic.color Transition (LeanGraphicColor)</b> component can be used to change the color.</p><div class="tip"><strong>NOTE</strong>&emsp; Any transitions you perform here must be reverted in the <b>Landscape Transitions</b> setting using a matching transition component.</div>
</div><br><br><br></div><div style="overflow:hidden;"><a name="LeanSelection"></a><h2>LeanSelection</h2><p>This component allows you to perform a transition when this UI element is selected.</p><div style="padding-left:75px;"><br>
<h2>
<b style="">LeanPlayer</b>
<br>
<span style="">SelectTransitions</span>
</h2>
<p>This allows you to perform a transition when this UI element is selected.</p><p>You can create a new transition GameObject by right clicking the transition name, and selecting <b>Create</b>.</p><p>For example, the <b>Graphic.color Transition (LeanGraphicColor)</b> component can be used to change the color.</p><div class="tip"><strong>NOTE</strong>&emsp; Any transitions you perform here must be reverted in the <b>Deselect Transitions</b> setting using a matching transition component.</div>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">LeanPlayer</b>
<br>
<span style="">DeselectTransitions</span>
</h2>
<p>This allows you to perform a transition when this UI element is deselected.</p><p>You can create a new transition GameObject by right clicking the transition name, and selecting <b>Create</b>.</p><p>For example, the <b>Graphic.color Transition (LeanGraphicColor)</b> component can be used to change the color.</p><div class="tip"><strong>NOTE</strong>&emsp; Any transitions you perform here must be reverted in the <b>Select Transitions</b> setting using a matching transition component.</div>
</div><br><br><br></div><div style="overflow:hidden;"><a name="LeanSelectionHighlight"></a><h2>LeanSelectionHighlight</h2><p>This component will place the current RectTransform above the currently selected object.</p><div style="padding-left:75px;"><br>
<h2>
<b style="">Camera</b>
<br>
<span style="">WorldCamera</span>
</h2>
<p>The camera rendering the target transform/position.</p><p>None = MainCamera.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">LeanPlayer</b>
<br>
<span style="">ShowTransitions</span>
</h2>
<p>This allows you to perform a transition when the highlight begins.</p><p>You can create a new transition GameObject by right clicking the transition name, and selecting <b>Create</b>.</p><p>For example, the <b>Graphic.color Transition (LeanGraphicColor)</b> component can be used to change the color.</p><div class="tip"><strong>NOTE</strong>&emsp; Any transitions you perform here must be reverted in the <b>Hide Transitions</b> setting using a matching transition component.</div>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">LeanPlayer</b>
<br>
<span style="">HideTransitions</span>
</h2>
<p>This allows you to perform a transition when the highlight ends.</p><p>You can create a new transition GameObject by right clicking the transition name, and selecting <b>Create</b>.</p><p>For example, the <b>Graphic.color Transition (LeanGraphicColor)</b> component can be used to change the color.</p><div class="tip"><strong>NOTE</strong>&emsp; Any transitions you perform here must be reverted in the <b>Show Transitions</b> setting using a matching transition component.</div>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">UnityEvent</b>
<br>
<span style="">OnShow</span>
</h2>
<p>This allows you to perform an action when the highlight starts.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">UnityEvent</b>
<br>
<span style="">OnHide</span>
</h2>
<p>This allows you to perform an action when the highlight ends.</p>
</div><br><br><br></div><div style="overflow:hidden;"><a name="LeanSelectionManager"></a><h2>LeanSelectionManager</h2><p>This component allows you to force selection of a selectable, or select a previously selected object.</p><div style="padding-left:75px;"><br>
<h2>
<b style="">bool</b>
<br>
<span style="">ForceSelection</span>
</h2>
<p>If the scene contains at least one selectable, and there is currently no selected object, should it be selected?</p><div class="tip"><strong>NOTE</strong>&emsp; If there are multiple selectables in the scene, then one will be chosen based on the <b>LeanSelectionPriority</b> component setting.</div>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">List&lt;Selectable&gt;</b>
<br>
<span style="">SelectionHistory</span>
</h2>
<p>This stores a list of all selectables in the order they were selected. This allows selection to revert to a previous one if the current selectable becomes unselectable.</p>
</div><br><br><br></div><div style="overflow:hidden;"><a name="LeanSelectionPriority"></a><h2>LeanSelectionPriority</h2><p>This component marks the current GameObject as being high priority for selection.</p><p>This setting is used by the <b>LeanSelectionManager</b> when decided what to select.</p><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">Priority</span>
</h2>
<p>This allows you to set the priority of this GameObject among others when being automatically selected.</p>
</div><br><br><br></div><div style="overflow:hidden;"><a name="LeanShake"></a><h2>LeanShake</h2><p>This component allows you to shake the specified Transform, with various controls for shake axes, strength, dampening, etc.</p><div class="tip"><strong>NOTE</strong>&emsp; This component works with normal Transforms as well as UI RectTranforms.</div><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">Speed</span>
</h2>
<p>This allows you to set the speed of the shake animation.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">Strength</span>
</h2>
<p>This allows you to set the current strength of the shake. This value can automatically decay based on the <b>Dampening</b> and <b>Reduction</b> settings.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">Multiplier</span>
</h2>
<p>This allows you to set the final shake strength multiplier. This remains constant.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">Damping</span>
</h2>
<p>This allows you to set the dampening of the <b>Strength</b> value. This decay slows down as it approaches 0.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">Reduction</span>
</h2>
<p>This allows you to set the reduction of the <b>Strength</b> value. This decay slows down at a constant rate per second.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">Vector3</b>
<br>
<span style="">ShakePosition</span>
</h2>
<p>This allows you to set the position axes you want to shake in local units.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">Vector3</b>
<br>
<span style="">ShakeRotation</span>
</h2>
<p>This allows you to set the rotation axes you want to shake in degrees.</p>
</div><br><br><br></div><div style="overflow:hidden;"><a name="LeanSizer"></a><h2>LeanSizer</h2><p>This component allows you to change the size of the Target RectTransform based on the size of this one.</p><p>This is very useful for text that needs to be inside a parent container, but you don't know how big that container should be.</p><div style="padding-left:75px;"><br>
<h2>
<b style="">RectTransform</b>
<br>
<span style="">Target</span>
</h2>
<p>The RectTransform whose size we want to modify.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">bool</b>
<br>
<span style="">Scale</span>
</h2>
<p>Factor in scale when reading the size of the target?</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">bool</b>
<br>
<span style="">Horizontal</span>
</h2>
<p>Match the scale horizontally?</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">bool</b>
<br>
<span style="">Vertical</span>
</h2>
<p>Match the scale vertically?</p>
</div><br><br><br></div><div style="overflow:hidden;"><a name="LeanSnap"></a><h2>LeanSnap</h2><p>This component will automatically snap <b>RectTransform.anchoredPosition</b> to the specified interval.</p><div style="padding-left:75px;"><br>
<h2>
<b style="">bool</b>
<br>
<span style="">Horizontal</span>
</h2>
<p>Snap horizontally?</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">HorizontalOffset</span>
</h2>
<p>The snap points will be offset by this many pixels.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">HorizontalIntervalPixel</span>
</h2>
<p>The spacing between each snap point in pixels.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">HorizontalIntervalRect</span>
</h2>
<p>The spacing between each snap point in 0..1 percent of the current RectTransform size.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">HorizontalIntervalParent</span>
</h2>
<p>The spacing between each snap point in 0..1 percent of the parent.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">HorizontalSpeed</span>
</h2>
<p>The snap speed.</p><p>-1 = Instant.</p><p>1 = Slow.</p><p>10 = Fast.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">bool</b>
<br>
<span style="">Vertical</span>
</h2>
<p>Snap vertically?</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">VerticalOffset</span>
</h2>
<p>The snap points will be offset by this many pixels.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">VerticalIntervalPixel</span>
</h2>
<p>The spacing between each snap point in pixels.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">VerticalIntervalRect</span>
</h2>
<p>The spacing between each snap point in 0..1 percent of the current RectTransform size.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">VerticalIntervalParent</span>
</h2>
<p>The spacing between each snap point in 0..1 percent of the parent.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">VerticalSpeed</span>
</h2>
<p>The snap speed.</p><p>-1 = Instant.</p><p>1 = Slow.</p><p>10 = Fast.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">LeanDrag</b>
<br>
<span style="">DisableWith</span>
</h2>
<p>To prevent UI element dragging from conflicting with snapping, you can specify the drag component here.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">Vector2Int</b>
<br>
<span style="">Position</span>
</h2>
<p>This tells you the snap position as integers.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">Vector2IntEvent</b>
<br>
<span style="">OnPositionChanged</span>
</h2>
<p>This event will be invoked when the snap position changes.</p>
</div><br><br><br></div><div style="overflow:hidden;"><a name="LeanSnapEvent"></a><h2>LeanSnapEvent</h2><p>This component allows you to fire an events when the <b>LeanSnap</b> component's <b>Position</b> is at specific values.</p><div style="padding-left:75px;"><br>
<h2>
<b style="">Vector2Int</b>
<br>
<span style="">Position</span>
</h2>
<p>The <b>LeanSnap.Position</b> you want to listen for.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">UnityEvent</b>
<br>
<span style="">OnAction</span>
</h2>
<p>The action that will be invoked.</p>
</div><br><br><br></div><div style="overflow:hidden;"><a name="LeanSwipe"></a><h2>LeanSwipe</h2><p>This component allows you to detect when a finger swipes over the current RectTransform.</p><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">MinimumDistance</span>
</h2>
<p>The swiping finger must move at least this many pixels.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">MaximumTime</span>
</h2>
<p>The swiping finger must move MinimumDistance within this amount of seconds.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">bool</b>
<br>
<span style="">CheckAngle</span>
</h2>
<p>If you need the swipe to be in a specific direction, then enable this.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">DesiredAngle</span>
</h2>
<p>0 = up</p><p>90 = right</p><p>180 = down</p><p>270 = left</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">MaximumRange</span>
</h2>
<p>360 = full circle</p><p>180 = half circle</p><p>90 = quarter circle</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">LeanPlayer</b>
<br>
<span style="">SwipeTransitions</span>
</h2>
<p>This allows you to perform a transition when you swipe this UI element.</p><p>You can create a new transition GameObject by right clicking the transition name, and selecting <b>Create</b>.</p><p>For example, the <b>LeanPlaySound (Play Sound Transition)</b> component can be used to play a click sound.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">UnityEvent</b>
<br>
<span style="">OnSwipe</span>
</h2>
<p>This allows you to perform an action when you swipe this UI element.</p>
</div><br><br><br></div><div style="overflow:hidden;"><a name="LeanSwitch"></a><h2>LeanSwitch</h2><p>This component allows you to make an UI element that can switch between any number of states.</p><div style="padding-left:75px;"><br>
<h2>
<b style="">static LinkedList&lt;LeanSwitch&gt;</b>
<br>
<span style="">Instances</span>
</h2>
<p>This stores all active and enabled LeanSwitch instances.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">int</b>
<br>
<span style="">State</span>
</h2>
<p>This is the currently active state of the switch.</p><p>For example, if this is 0 then the switch is currently in the first transition state.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">List&lt;LeanPlayer&gt;</b>
<br>
<span style="">States</span>
</h2>
<p>This stores a list of all switch transition states. This controls how many states can be switched between.</p><p>For example, if you want to be able to switch between 4 states, then make sure the size of this list = 4.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">LeanPlayer</b>
<br>
<span style="">ChangedStateTransitions</span>
</h2>
<p>This allows you to perform a transition when this switch changes to a different state.</p><p>You can create a new transition GameObject by right clicking the transition name, and selecting <b>Create</b>.</p><p>For example, the <b>LeanPlaySound (Play Sound Transition)</b> component can be used to play a switch sound.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">IntUnityEvent</b>
<br>
<span style="">OnChangedState</span>
</h2>
<p>This allows you to perform an action when this switch changes to a different state.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">void</b>
<br>
<span style="">Switch</span>
<br>
<b>int newState</b>
</h2>
<p>This allows you to switch to a different state, where 0 is the first state. The amount of states is defined by the size of the <b>Transitions</b> list.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">static void</b>
<br>
<span style="">SwitchAll</span>
<br>
<b>string name, int state</b>
</h2>
<p>This allows you to switch all active and enabled states with the specified name to the specified state.</p>
</div><br><br><br></div><div style="overflow:hidden;"><a name="LeanToggle"></a><h2>LeanToggle</h2><p>This component allows you to make a UI element that can switch between two states.</p><p>For example, you could create a panel that shows and hides using this component.</p><div class="tip"><strong>NOTE</strong>&emsp; If you want to create windows that toggle open and closed, then I recommend you instead use the Lean Window component. This works identically, but it also registers with the Lean Window Closer component, allowing you to close them in sequence.</div><div style="padding-left:75px;"><br>
<h2>
<b style="">static LinkedList&lt;LeanToggle&gt;</b>
<br>
<span style="">Instances</span>
</h2>
<p>This stores all active and enabled LeanToggle instances.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">bool</b>
<br>
<span style="">On</span>
</h2>
<p>This lets you change the current toggle state of this UI element.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">bool</b>
<br>
<span style="">TurnOffSiblings</span>
</h2>
<p>If you enable this, then any sibling GameObjects (i.e. same parent GameObject) will automatically be turned off.</p><p>This allows you to make radio boxes, or force only one panel to show at a time, etc.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">LeanPlayer</b>
<br>
<span style="">OnTransitions</span>
</h2>
<p>This allows you to perform a transition when this toggle turns on.</p><p>You can create a new transition GameObject by right clicking the transition name, and selecting <b>Create</b>.</p><p>For example, the <b>Graphic.color Transition (LeanGraphicColor)</b> component can be used to change the color.</p><div class="tip"><strong>NOTE</strong>&emsp; Any transitions you perform here should be reverted in the <b>Off Transitions</b> setting using a matching transition component.</div>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">LeanPlayer</b>
<br>
<span style="">OffTransitions</span>
</h2>
<p>This allows you to perform a transition when this toggle turns off.</p><p>You can create a new transition GameObject by right clicking the transition name, and selecting <b>Create</b>.</p><p>For example, the <b>Graphic.color Transition (LeanGraphicColor)</b> component can be used to change the color.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">UnityEvent</b>
<br>
<span style="">OnOn</span>
</h2>
<p>This allows you to perform an action when this toggle turns on.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">UnityEvent</b>
<br>
<span style="">OnOff</span>
</h2>
<p>This allows you to perform an action when this toggle turns off.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">void</b>
<br>
<span style="">Set</span>
<br>
<b>bool value</b>
</h2>
<p>This allows you to set the toggle on or off.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">void</b>
<br>
<span style="">Toggle</span>
<br>
<b></b>
</h2>
<p>This allows you to toggle the state of this toggle (i.e. if it's turned on, then this will turn it off).</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">void</b>
<br>
<span style="">TurnOn</span>
<br>
<b></b>
</h2>
<p>If this toggle is turned off, then this will turn it on.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">void</b>
<br>
<span style="">TurnOffSiblingsNow</span>
<br>
<b></b>
</h2>
<p>This will search for any sibling toggles (i.e. they have the same parent GameObject), and turn them off.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">void</b>
<br>
<span style="">TurnOffOthersNow</span>
<br>
<b></b>
</h2>
<p>This will go through every toggle in the scene except this one, and turn them off.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">static bool</b>
<br>
<span style="">AllOn</span>
<br>
<b>string name</b>
</h2>
<p>This will return true if all the active and enabled toggle instances with the specified GameObject name are turned on.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">static bool</b>
<br>
<span style="">AllOff</span>
<br>
<b>string name</b>
</h2>
<p>This will return true if all the active and enabled toggle instances with the specified GameObject name are turned off.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">static void</b>
<br>
<span style="">SetAll</span>
<br>
<b>string name, bool on</b>
</h2>
<p>This allows you to set the <b>On</b> state of all the active and enabled toggle instances with the specified GameObject name.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">static void</b>
<br>
<span style="">ToggleAll</span>
<br>
<b>string name</b>
</h2>
<p>This allows you to toggle the state (i.e. if it's turned on, then this will turn it off) of all active and enabled toggle instances with the specified GameObject name.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">static void</b>
<br>
<span style="">TurnOnAll</span>
<br>
<b>string name</b>
</h2>
<p>This allows you to turn on every active and enabled toggle instance with the specified GameObject name.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">static void</b>
<br>
<span style="">TurnOffAll</span>
<br>
<b>string name</b>
</h2>
<p>This allows you to turn off each active and enabled LeanToggle instance with the specified GameObject name.</p>
</div><br><br><br></div><div style="overflow:hidden;"><a name="LeanTooltip"></a><h2>LeanTooltip</h2><p>This component allows you to display a tooltip as long as the mouse is hovering over the current UI element, or a finger is on top.</p><p>Tooltips will display for any raycastable UI element that has the <b>LeanTooltipData</b> component.</p><div style="padding-left:75px;"><br>
<h2>
<b style="">ActivationType</b>
<br>
<span style="">Activation</span>
</h2>
<p>This allows you to control when the tooltip will appear.</p><p>HoverOrPress = When the mouse is hovering, or when the mouse/finger is pressing.</p><p>Hover = Only when the mouse is hovering.</p><p>Press = Only when the mouse/finger is pressing.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">float</b>
<br>
<span style="">ShowDelay</span>
</h2>
<p>This allows you to delay how quickly the tooltip will appear or switch.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">bool</b>
<br>
<span style="">Move</span>
</h2>
<p>Move the attached Transform when the tooltip is open?</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">BoundaryType</b>
<br>
<span style="">Boundary</span>
</h2>
<p>This allows you to control how the tooltip will behave when it goes outside the screen bounds.</p><p>FlipPivot = If the tooltip goes outside one of the screen boundaries, flip its pivot point on that axis so it goes the other way.</p><p>ShiftPosition = If the tooltip goes outside of the screen boundaries, shift its position until it's back inside.</p><div class="tip"><strong>NOTE</strong>&emsp; If <b>FlipPivot</b> is used and the tooltip is larger than the screen size, then it will revert to <b>ShiftPosition</b>.</div>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">LeanPlayer</b>
<br>
<span style="">ShowTransitions</span>
</h2>
<p>This allows you to perform a transition when this tooltip appears.</p><p>You can create a new transition GameObject by right clicking the transition name, and selecting <b>Create</b>.</p><p>For example, the <b>Graphic.color Transition (LeanGraphicColor)</b> component can be used to change the color.</p><div class="tip"><strong>NOTE</strong>&emsp; Any transitions you perform here should be reverted in the <b>Hide Transitions</b> setting using a matching transition component.</div>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">LeanPlayer</b>
<br>
<span style="">HideTransitions</span>
</h2>
<p>This allows you to perform a transition when this tooltip hides.</p><p>You can create a new transition GameObject by right clicking the transition name, and selecting <b>Create</b>.</p><p>For example, the <b>Graphic.color Transition (LeanGraphicColor)</b> component can be used to change the color.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">UnityEventString</b>
<br>
<span style="">OnShow</span>
</h2>
<p>This allows you to perform an action when this tooltip appears.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">UnityEvent</b>
<br>
<span style="">OnHide</span>
</h2>
<p>This allows you to perform an action when this tooltip hides.</p>
</div><br><br><br></div><div style="overflow:hidden;"><a name="LeanTooltipData"></a><h2>LeanTooltipData</h2><p>This component allows you to associate text with this GameObject, allowing it to be displayed from a tooltip.</p><div style="padding-left:75px;"><br>
<h2>
<b style="">UnityEngine.UI.Selectable</b>
<br>
<span style="">Selectable</span>
</h2>
<p>If you want this tooltip to hide when a selectable (e.g. Button) is disabled or non-interactable, then specify it here.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">string</b>
<br>
<span style="">Text</span>
</h2>
<p>This allows you to set the tooltip text string that is associated with this object.</p>
</div><br><br><br></div><div style="overflow:hidden;"><a name="LeanWindow"></a><h2>LeanWindow</h2><p>This component works just like LeanToggle, but it registers itself with the LeanWindowCloser.</p><p>This allows the window to be automatically closed if you press the LeanWindowCloser.CloseKey.</p><br><br></div><div style="overflow:hidden;"><a name="LeanWindowCloser"></a><h2>LeanWindowCloser</h2><p>This component allows you to automatically close the top-most LeanWindow when you press the specified key.</p><div style="padding-left:75px;"><br>
<h2>
<b style="">static List&lt;LeanWindowCloser&gt;</b>
<br>
<span style="">Instances</span>
</h2>
<p>This stores all active and enabled LeanWindowCloser instances.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">KeyCode</b>
<br>
<span style="">CloseKey</span>
</h2>
<p>This allows you to set the key that must be pressed to close the window on top.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">LeanWindow</b>
<br>
<span style="">EmptyWindow</span>
</h2>
<p>If every window is closed and you press the close key, this window will be opened. This can be used to open an options menu.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">List&lt;LeanWindow&gt;</b>
<br>
<span style="">WindowOrder</span>
</h2>
<p>This stores a list of all opened windows, in order of opening, so they can be closed in reverse order.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">void</b>
<br>
<span style="">CloseAll</span>
<br>
<b></b>
</h2>
<p>This allows you to close all open LeanWindows.</p>
</div><br><div style="padding-left:75px;"><br>
<h2>
<b style="">void</b>
<br>
<span style="">CloseTopMost</span>
<br>
<b></b>
</h2>
<p>This allows you to close the top most LeanWindow.</p>
</div><br><br><br></div>
</div>
<div style="position: absolute; width: 310px; left: 0px; right: 0px; top: 20px; bottom: 20px; overflow-y: scroll; padding: 20px;">
<h2 style="padding-bottom: 5px;">Index</h2>
<p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#WhatIs">What is Lean GUI?</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#GettingStarted">How do I get started?</a></p>
<br><br>
<h2 style="padding-bottom: 5px;">Assets</h2>
<p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#GetLeanTouch">Lean Touch</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#GetLeanTouchPlus">Lean Touch+</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#GetLeanLocalization">Lean Localization</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#GetLeanPool">Lean Pool</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#GetLeanTransition">Lean Transition</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#GetLeanGUI">Lean GUI</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#GetLeanGUIShapes">Lean GUI Shapes</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#GetLeanTexture">Lean Texture</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#GetLeanTexturePlus">Lean Texture+</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#GetPaintIn3D">Paint in 3D</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#GetFlow">FLOW</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#GetDestructible2D">Destructible 2D</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#GetSpaceGraphicsToolkit">Space Graphics Toolkit</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#GetPlanetPack">Space Graphics Planets</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#GetVolumetricAudio">Volumetric Audio</a></p>
<br><br>
<h2 style="padding-bottom: 5px;">Versions</h2>
<p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#1.2.2">1.2.2</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#1.2.1">1.2.1</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#1.2.0">1.2.0</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#1.1.9">1.1.9</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#1.1.8">1.1.8</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#1.1.7">1.1.7</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#1.1.6">1.1.6</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#1.1.5">1.1.5</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#1.1.4">1.1.4</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#1.1.3">1.1.3</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#1.1.2">1.1.2</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#1.1.1">1.1.1</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#1.1.0">1.1.0</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#1.0.9">1.0.9</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#1.0.8">1.0.8</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#1.0.7">1.0.7</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#1.0.6">1.0.6</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#1.0.5">1.0.5</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#1.0.4">1.0.4</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#1.0.3">1.0.3</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#1.0.2">1.0.2</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#1.0.1">1.0.1</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#1.0.0">1.0.0</a></p>
<br><br>
<h2 style="padding-bottom: 5px;">Components</h2>
<p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#LeanButton">LeanButton</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#LeanConstrainAnchoredPosition">LeanConstrainAnchoredPosition</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#LeanConstrainToParent">LeanConstrainToParent</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#LeanDrag">LeanDrag</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#LeanGui">LeanGui</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#LeanHitbox">LeanHitbox</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#LeanHover">LeanHover</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#LeanJoystick">LeanJoystick</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#LeanMoveToTop">LeanMoveToTop</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#LeanOrientation">LeanOrientation</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#LeanPulse">LeanPulse</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#LeanResize">LeanResize</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#LeanSafeArea">LeanSafeArea</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#LeanSelectable">LeanSelectable</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#LeanSelection">LeanSelection</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#LeanSelectionHighlight">LeanSelectionHighlight</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#LeanSelectionManager">LeanSelectionManager</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#LeanSelectionPriority">LeanSelectionPriority</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#LeanShake">LeanShake</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#LeanSizer">LeanSizer</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#LeanSnap">LeanSnap</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#LeanSnapEvent">LeanSnapEvent</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#LeanSwipe">LeanSwipe</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#LeanSwitch">LeanSwitch</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#LeanToggle">LeanToggle</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#LeanTooltip">LeanTooltip</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#LeanTooltipData">LeanTooltipData</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#LeanWindow">LeanWindow</a></p><p style="margin: 2px; padding-left: 10px; text-indent: -10px;"><a href="#LeanWindowCloser">LeanWindowCloser</a></p>
<br><br>
</div>
<div style="background-color: #0075D0; position: absolute; left: 0px; right: 0px; bottom: 0px; height: 20px;">
</div>
</body>
</html>