summaryrefslogtreecommitdiff
path: root/Library/Artifacts/0e/0e044323b59ede42f254977e3873e646
blob: 04382b493c3bca39d36ed56fd85d6cdb2eed812b (plain)
ofshex dumpascii
0000 00 00 0f 81 00 00 38 b4 00 00 00 15 00 00 10 00 00 00 00 00 32 30 31 39 2e 33 2e 36 66 31 00 fe ......8.............2019.3.6f1..
0020 ff ff ff 01 02 00 00 00 0b 04 00 00 00 ff ff 66 9a 86 21 eb 14 35 98 39 dd 34 1d 51 0e c1 f3 42 ...............f..!..5.9.4.Q...B
0040 00 00 00 ed 00 00 00 02 00 00 00 00 00 00 00 37 00 00 80 ff ff ff ff 00 00 00 00 00 80 00 00 00 ...............7................
0060 00 00 00 00 00 00 00 01 00 01 00 a6 03 00 80 b2 01 00 80 04 00 00 00 01 00 00 00 01 00 00 00 00 ................................
0080 00 00 00 00 00 00 00 01 00 01 00 0d 00 00 00 45 04 00 80 0c 00 00 00 02 00 00 00 01 00 00 00 00 ...............E................
00a0 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 23 00 00 00 04 00 00 00 03 00 00 00 01 00 80 00 00 ...............#................
00c0 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 2c 00 00 00 08 00 00 00 04 00 00 00 01 00 80 00 00 ...............,................
00e0 00 00 00 00 00 00 00 01 00 01 00 35 00 00 00 61 04 00 80 0c 00 00 00 05 00 00 00 01 00 00 00 00 ...........5...a................
0100 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 23 00 00 00 04 00 00 00 06 00 00 00 01 00 80 00 00 ...............#................
0120 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 2c 00 00 00 08 00 00 00 07 00 00 00 01 00 80 00 00 ...............,................
0140 00 00 00 00 00 00 00 01 00 01 00 86 02 00 80 72 04 00 80 0c 00 00 00 08 00 00 00 01 00 00 00 00 ...............r................
0160 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 23 00 00 00 04 00 00 00 09 00 00 00 01 00 80 00 00 ...............#................
0180 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 2c 00 00 00 08 00 00 00 0a 00 00 00 01 00 80 00 00 ...............,................
01a0 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 ab 01 00 80 ff ff ff ff 0b 00 00 00 01 80 08 00 00 ...........H....................
01c0 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 0c 00 00 00 01 40 08 00 00 ...........1...1............@...
01e0 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 0d 00 00 00 01 00 08 00 00 ................................
0200 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a 00 00 80 01 00 00 00 0e 00 00 00 01 00 08 00 00 ...........Q...j................
0220 00 00 00 00 00 00 00 01 00 01 00 f1 00 00 80 4a 00 00 00 ff ff ff ff 0f 00 00 00 00 c0 00 00 00 ...............J................
0240 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 10 00 00 00 00 80 00 00 00 ...........1...1................
0260 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 11 00 00 00 00 00 00 00 00 ................................
0280 00 00 00 00 00 00 00 01 00 03 00 1f 02 00 80 6a 00 00 80 ff ff ff ff 12 00 00 00 00 80 00 00 00 ...............j................
02a0 00 00 00 00 00 00 00 01 00 04 00 5c 00 00 00 9b 00 00 80 ff ff ff ff 13 00 00 00 00 80 00 00 00 ...........\....................
02c0 00 00 00 00 00 00 00 01 00 05 00 48 03 00 80 72 00 00 00 ff ff ff ff 14 00 00 00 00 80 00 00 00 ...........H...r................
02e0 00 00 00 00 00 00 00 01 00 06 01 31 00 00 80 31 00 00 80 ff ff ff ff 15 00 00 00 01 40 00 00 00 ...........1...1............@...
0300 00 00 00 00 00 00 00 01 00 07 00 de 00 00 80 1b 03 00 80 04 00 00 00 16 00 00 00 01 00 00 00 00 ................................
0320 00 00 00 00 00 00 00 01 00 07 00 51 00 00 80 6a 00 00 80 01 00 00 00 17 00 00 00 01 00 00 00 00 ...........Q...j................
0340 00 00 00 00 00 00 00 01 00 05 00 48 03 00 80 77 00 00 00 ff ff ff ff 18 00 00 00 00 80 00 00 00 ...........H...w................
0360 00 00 00 00 00 00 00 01 00 06 01 31 00 00 80 31 00 00 80 ff ff ff ff 19 00 00 00 01 40 00 00 00 ...........1...1............@...
0380 00 00 00 00 00 00 00 01 00 07 00 de 00 00 80 1b 03 00 80 04 00 00 00 1a 00 00 00 01 00 00 00 00 ................................
03a0 00 00 00 00 00 00 00 01 00 07 00 51 00 00 80 6a 00 00 80 01 00 00 00 1b 00 00 00 01 00 00 00 00 ...........Q...j................
03c0 00 00 00 00 00 00 00 01 00 05 00 48 03 00 80 80 00 00 00 ff ff ff ff 1c 00 00 00 00 80 00 00 00 ...........H....................
03e0 00 00 00 00 00 00 00 01 00 06 01 31 00 00 80 31 00 00 80 ff ff ff ff 1d 00 00 00 01 40 00 00 00 ...........1...1............@...
0400 00 00 00 00 00 00 00 01 00 07 00 de 00 00 80 1b 03 00 80 04 00 00 00 1e 00 00 00 01 00 00 00 00 ................................
0420 00 00 00 00 00 00 00 01 00 07 00 51 00 00 80 6a 00 00 80 01 00 00 00 1f 00 00 00 01 00 00 00 00 ...........Q...j................
0440 00 00 00 00 00 00 00 01 00 04 00 79 02 00 80 0a 03 00 80 0c 00 00 00 20 00 00 00 00 00 00 00 00 ...........y....................
0460 00 00 00 00 00 00 00 01 00 05 00 de 00 00 80 23 00 00 00 04 00 00 00 21 00 00 00 01 00 80 00 00 ...............#.......!........
0480 00 00 00 00 00 00 00 01 00 05 00 2e 03 00 80 2c 00 00 00 08 00 00 00 22 00 00 00 01 00 80 00 00 ...............,......."........
04a0 00 00 00 00 00 00 00 01 00 01 00 11 03 00 80 85 00 00 00 ff ff ff ff 23 00 00 00 01 40 08 00 00 .......................#....@...
04c0 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 24 00 00 00 01 00 08 00 00 ...........1...1.......$........
04e0 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 25 00 00 00 01 00 08 00 00 .......................%........
0500 00 00 00 00 00 00 00 01 00 03 00 2e 03 00 80 6a 00 00 80 08 00 00 00 26 00 00 00 01 00 08 00 00 ...............j.......&........
0520 00 00 00 00 00 00 00 01 00 01 00 d5 03 00 80 93 00 00 00 ff ff ff ff 27 00 00 00 00 80 00 00 00 .......................'........
0540 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 28 00 00 00 00 c0 00 00 00 ...........1...1.......(........
0560 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 29 00 00 00 00 00 00 00 00 .......................)........
0580 00 00 00 00 00 00 00 01 00 03 00 1f 02 00 80 6a 00 00 80 ff ff ff ff 2a 00 00 00 00 80 00 00 00 ...............j.......*........
05a0 00 00 00 00 00 00 00 01 00 04 00 48 03 00 80 9b 00 00 80 ff ff ff ff 2b 00 00 00 00 80 00 00 00 ...........H...........+........
05c0 00 00 00 00 00 00 00 01 00 05 01 31 00 00 80 31 00 00 80 ff ff ff ff 2c 00 00 00 01 40 00 00 00 ...........1...1.......,....@...
05e0 00 00 00 00 00 00 00 01 00 06 00 de 00 00 80 1b 03 00 80 04 00 00 00 2d 00 00 00 01 00 00 00 00 .......................-........
0600 00 00 00 00 00 00 00 01 00 06 00 51 00 00 80 6a 00 00 80 01 00 00 00 2e 00 00 00 01 00 00 00 00 ...........Q...j................
0620 00 00 00 00 00 00 00 01 00 04 00 79 02 00 80 0a 03 00 80 0c 00 00 00 2f 00 00 00 00 00 00 00 00 ...........y.........../........
0640 00 00 00 00 00 00 00 01 00 05 00 de 00 00 80 23 00 00 00 04 00 00 00 30 00 00 00 01 00 80 00 00 ...............#.......0........
0660 00 00 00 00 00 00 00 01 00 05 00 2e 03 00 80 2c 00 00 00 08 00 00 00 31 00 00 00 01 00 80 00 00 ...............,.......1........
0680 00 00 00 00 00 00 00 01 00 01 00 20 03 00 80 a7 00 00 00 02 00 00 00 32 00 00 00 00 40 00 00 00 .......................2....@...
06a0 00 00 00 00 00 00 00 01 00 01 00 be 02 00 80 b6 00 00 00 0c 00 00 00 33 00 00 00 00 40 00 00 00 .......................3....@...
06c0 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 23 00 00 00 04 00 00 00 34 00 00 00 01 00 80 00 00 ...............#.......4........
06e0 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 2c 00 00 00 08 00 00 00 35 00 00 00 01 00 80 00 00 ...............,.......5........
0700 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 bb 00 00 00 ff ff ff ff 36 00 00 00 01 80 00 00 00 ...........H...........6........
0720 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 37 00 00 00 01 40 00 00 00 ...........1...1.......7....@...
0740 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 38 00 00 00 01 00 00 00 00 .......................8........
0760 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a 00 00 80 01 00 00 00 39 00 00 00 01 00 00 00 00 ...........Q...j.......9........
0780 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 c6 00 00 00 ff ff ff ff 3a 00 00 00 01 80 00 00 00 ...........H...........:........
07a0 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 3b 00 00 00 01 40 00 00 00 ...........1...1.......;....@...
07c0 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 3c 00 00 00 01 00 00 00 00 .......................<........
07e0 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a 00 00 80 01 00 00 00 3d 00 00 00 01 00 00 00 00 ...........Q...j.......=........
0800 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 d8 00 00 00 ff ff ff ff 3e 00 00 00 01 80 00 00 00 ...........H...........>........
0820 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 3f 00 00 00 01 40 00 00 00 ...........1...1.......?....@...
0840 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 40 00 00 00 01 00 00 00 00 .......................@........
0860 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a 00 00 80 01 00 00 00 41 00 00 00 01 00 00 00 00 ...........Q...j.......A........
0880 00 00 00 00 00 00 00 4d 6f 6e 6f 49 6d 70 6f 72 74 65 72 00 50 50 74 72 3c 45 64 69 74 6f 72 45 .......MonoImporter.PPtr<EditorE
08a0 78 74 65 6e 73 69 6f 6e 3e 00 6d 5f 46 69 6c 65 49 44 00 6d 5f 50 61 74 68 49 44 00 50 50 74 72 xtension>.m_FileID.m_PathID.PPtr
08c0 3c 50 72 65 66 61 62 49 6e 73 74 61 6e 63 65 3e 00 6d 5f 45 78 74 65 72 6e 61 6c 4f 62 6a 65 63 <PrefabInstance>.m_ExternalObjec
08e0 74 73 00 53 6f 75 72 63 65 41 73 73 65 74 49 64 65 6e 74 69 66 69 65 72 00 74 79 70 65 00 61 73 ts.SourceAssetIdentifier.type.as
0900 73 65 6d 62 6c 79 00 6e 61 6d 65 00 6d 5f 55 73 65 64 46 69 6c 65 49 44 73 00 6d 5f 44 65 66 61 sembly.name.m_UsedFileIDs.m_Defa
0920 75 6c 74 52 65 66 65 72 65 6e 63 65 73 00 65 78 65 63 75 74 69 6f 6e 4f 72 64 65 72 00 69 63 6f ultReferences.executionOrder.ico
0940 6e 00 6d 5f 55 73 65 72 44 61 74 61 00 6d 5f 41 73 73 65 74 42 75 6e 64 6c 65 4e 61 6d 65 00 6d n.m_UserData.m_AssetBundleName.m
0960 5f 41 73 73 65 74 42 75 6e 64 6c 65 56 61 72 69 61 6e 74 00 00 00 00 00 73 00 00 00 00 ff ff a3 _AssetBundleVariant.....s.......
0980 47 f1 d7 dc 8f 5a 35 36 a0 3a 21 40 69 c1 4a 2a 00 00 00 81 00 00 00 05 00 00 00 15 01 00 80 37 G....Z56.:!@i.J*...............7
09a0 00 00 80 ff ff ff ff 00 00 00 00 00 80 00 00 00 00 00 00 00 00 00 00 01 00 01 00 a6 03 00 80 b2 ................................
09c0 01 00 80 04 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 00 00 00 00 45 ...............................E
09e0 04 00 80 0c 00 00 00 02 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 16 ................................
0a00 00 00 00 04 00 00 00 03 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 1f ................................
0a20 00 00 00 08 00 00 00 04 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 28 00 00 00 61 ...........................(...a
0a40 04 00 80 0c 00 00 00 05 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 16 ................................
0a60 00 00 00 04 00 00 00 06 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 1f ................................
0a80 00 00 00 08 00 00 00 07 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 86 02 00 80 72 ...............................r
0aa0 04 00 80 0c 00 00 00 08 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 16 ................................
0ac0 00 00 00 04 00 00 00 09 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 1f ................................
0ae0 00 00 00 08 00 00 00 0a 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 ab ...........................H....
0b00 01 00 80 ff ff ff ff 0b 00 00 00 01 80 08 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 ...........................1...1
0b20 00 00 80 ff ff ff ff 0c 00 00 00 01 40 08 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b ............@...................
0b40 03 00 80 04 00 00 00 0d 00 00 00 01 00 08 00 00 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a ...........................Q...j
0b60 00 00 80 01 00 00 00 0e 00 00 00 01 00 08 00 00 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 ea ...........................H....
0b80 01 00 80 ff ff ff ff 0f 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 ...........................1...1
0ba0 00 00 80 ff ff ff ff 10 00 00 00 01 40 00 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b ............@...................
0bc0 03 00 80 04 00 00 00 11 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a ...........................Q...j
0be0 00 00 80 01 00 00 00 12 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 f1 00 00 80 3d ...............................=
0c00 00 00 00 ff ff ff ff 13 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 ...........................1...1
0c20 00 00 80 ff ff ff ff 14 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b ................................
0c40 03 00 80 04 00 00 00 15 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 03 00 1f 02 00 80 6a ...............................j
0c60 00 00 80 ff ff ff ff 16 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 04 00 48 03 00 80 9b ...........................H....
0c80 00 00 80 ff ff ff ff 17 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 05 01 31 00 00 80 31 ...........................1...1
0ca0 00 00 80 ff ff ff ff 18 00 00 00 01 40 00 00 00 00 00 00 00 00 00 00 01 00 06 00 de 00 00 80 1b ............@...................
0cc0 03 00 80 04 00 00 00 19 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 06 00 51 00 00 80 6a ...........................Q...j
0ce0 00 00 80 01 00 00 00 1a 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 04 00 79 02 00 80 0a ...........................y....
0d00 03 00 80 0c 00 00 00 1b 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 05 00 de 00 00 80 16 ................................
0d20 00 00 00 04 00 00 00 1c 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 05 00 2e 03 00 80 1f ................................
0d40 00 00 00 08 00 00 00 1d 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 79 02 00 80 51 ...........................y...Q
0d60 00 00 00 0c 00 00 00 1e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 16 ................................
0d80 00 00 00 04 00 00 00 1f 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 1f ................................
0da0 00 00 00 08 00 00 00 20 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 de 00 00 80 58 ...............................X
0dc0 00 00 00 04 00 00 00 21 00 00 00 10 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 69 .......!...................H...i
0de0 00 00 00 ff ff ff ff 22 00 00 00 10 80 00 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 ......."...................1...1
0e00 00 00 80 ff ff ff ff 23 00 00 00 11 40 00 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b .......#....@...................
0e20 03 00 80 04 00 00 00 24 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a .......$...................Q...j
0e40 00 00 80 01 00 00 00 25 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 75 .......%...................H...u
0e60 00 00 00 ff ff ff ff 26 00 00 00 10 80 00 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 .......&...................1...1
0e80 00 00 80 ff ff ff ff 27 00 00 00 11 40 00 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b .......'....@...................
0ea0 03 00 80 04 00 00 00 28 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a .......(...................Q...j
0ec0 00 00 80 01 00 00 00 29 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 50 50 74 72 3c 45 64 69 74 .......)...............PPtr<Edit
0ee0 6f 72 45 78 74 65 6e 73 69 6f 6e 3e 00 6d 5f 46 69 6c 65 49 44 00 6d 5f 50 61 74 68 49 44 00 50 orExtension>.m_FileID.m_PathID.P
0f00 50 74 72 3c 50 72 65 66 61 62 49 6e 73 74 61 6e 63 65 3e 00 6d 5f 44 65 66 61 75 6c 74 52 65 66 Ptr<PrefabInstance>.m_DefaultRef
0f20 65 72 65 6e 63 65 73 00 6d 5f 49 63 6f 6e 00 6d 5f 45 78 65 63 75 74 69 6f 6e 4f 72 64 65 72 00 erences.m_Icon.m_ExecutionOrder.
0f40 6d 5f 43 6c 61 73 73 4e 61 6d 65 00 6d 5f 4e 61 6d 65 73 70 61 63 65 00 00 00 00 00 02 00 00 00 m_ClassName.m_Namespace.........
0f60 03 00 00 00 00 00 00 00 00 00 00 00 5c 00 00 00 00 00 00 00 e0 79 af 00 00 00 00 00 60 00 00 00 ............\........y......`...
0f80 54 28 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 T(..............................
0fa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0fc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0fe0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 e0 79 af 00 00 00 00 00 00 00 00 00 .....................y..........
1040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1080 00 00 00 00 00 00 00 00 0d 00 00 00 4c 61 79 6f 75 74 55 74 69 6c 69 74 79 00 00 00 d8 27 00 00 ............LayoutUtility....'..
10a0 75 73 69 6e 67 20 55 6e 69 74 79 45 6e 67 69 6e 65 3b 0a 75 73 69 6e 67 20 53 79 73 74 65 6d 2e using.UnityEngine;.using.System.
10c0 43 6f 6c 6c 65 63 74 69 6f 6e 73 2e 47 65 6e 65 72 69 63 3b 0a 75 73 69 6e 67 20 55 6e 69 74 79 Collections.Generic;.using.Unity
10e0 45 6e 67 69 6e 65 2e 45 76 65 6e 74 73 3b 0a 0a 6e 61 6d 65 73 70 61 63 65 20 55 6e 69 74 79 45 Engine.Events;..namespace.UnityE
1100 6e 67 69 6e 65 2e 55 49 0a 7b 0a 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0a 20 20 20 ngine.UI.{.....///.<summary>....
1120 20 2f 2f 2f 20 55 74 69 6c 69 74 79 20 66 75 6e 63 74 69 6f 6e 73 20 66 6f 72 20 71 75 65 72 79 .///.Utility.functions.for.query
1140 69 6e 67 20 6c 61 79 6f 75 74 20 65 6c 65 6d 65 6e 74 73 20 66 6f 72 20 74 68 65 69 72 20 6d 69 ing.layout.elements.for.their.mi
1160 6e 69 6d 75 6d 2c 20 70 72 65 66 65 72 72 65 64 2c 20 61 6e 64 20 66 6c 65 78 69 62 6c 65 20 73 nimum,.preferred,.and.flexible.s
1180 69 7a 65 73 2e 0a 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0a 20 20 20 20 70 75 62 izes......///.</summary>.....pub
11a0 6c 69 63 20 73 74 61 74 69 63 20 63 6c 61 73 73 20 4c 61 79 6f 75 74 55 74 69 6c 69 74 79 0a 20 lic.static.class.LayoutUtility..
11c0 20 20 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0a 20 20 20 20 20 ...{.........///.<summary>......
11e0 20 20 20 2f 2f 2f 20 52 65 74 75 72 6e 73 20 74 68 65 20 6d 69 6e 69 6d 75 6d 20 73 69 7a 65 20 ...///.Returns.the.minimum.size.
1200 6f 66 20 74 68 65 20 6c 61 79 6f 75 74 20 65 6c 65 6d 65 6e 74 2e 0a 20 20 20 20 20 20 20 20 2f of.the.layout.element........../
1220 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 70 61 72 61 6d //.</summary>.........///.<param
1240 20 6e 61 6d 65 3d 22 72 65 63 74 22 3e 54 68 65 20 52 65 63 74 54 72 61 6e 73 66 6f 72 6d 20 6f .name="rect">The.RectTransform.o
1260 66 20 74 68 65 20 6c 61 79 6f 75 74 20 65 6c 65 6d 65 6e 74 20 74 6f 20 71 75 65 72 79 2e 3c 2f f.the.layout.element.to.query.</
1280 70 61 72 61 6d 3e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 70 61 72 61 6d 20 6e 61 6d 65 3d 22 param>.........///.<param.name="
12a0 61 78 69 73 22 3e 54 68 65 20 61 78 69 73 20 74 6f 20 71 75 65 72 79 2e 20 54 68 69 73 20 63 61 axis">The.axis.to.query..This.ca
12c0 6e 20 62 65 20 30 20 6f 72 20 31 2e 3c 2f 70 61 72 61 6d 3e 0a 20 20 20 20 20 20 20 20 2f 2f 2f n.be.0.or.1.</param>.........///
12e0 20 3c 72 65 6d 61 72 6b 73 3e 41 6c 6c 20 63 6f 6d 70 6f 6e 65 6e 74 73 20 6f 6e 20 74 68 65 20 .<remarks>All.components.on.the.
1300 47 61 6d 65 4f 62 6a 65 63 74 20 74 68 61 74 20 69 6d 70 6c 65 6d 65 6e 74 20 74 68 65 20 49 4c GameObject.that.implement.the.IL
1320 61 79 6f 75 74 45 6c 65 6d 65 6e 74 20 61 72 65 20 71 75 65 72 69 65 64 2e 20 54 68 65 20 6f 6e ayoutElement.are.queried..The.on
1340 65 20 77 69 74 68 20 74 68 65 20 68 69 67 68 65 73 74 20 70 72 69 6f 72 69 74 79 20 77 68 69 63 e.with.the.highest.priority.whic
1360 68 20 68 61 73 20 61 20 76 61 6c 75 65 20 66 6f 72 20 74 68 69 73 20 73 65 74 74 69 6e 67 20 69 h.has.a.value.for.this.setting.i
1380 73 20 75 73 65 64 2e 20 49 66 20 6d 75 6c 74 69 70 6c 65 20 63 6f 6d 70 6f 6e 65 74 73 20 68 61 s.used..If.multiple.componets.ha
13a0 76 65 20 74 68 69 73 20 73 65 74 74 69 6e 67 20 61 6e 64 20 68 61 76 65 20 74 68 65 20 73 61 6d ve.this.setting.and.have.the.sam
13c0 65 20 70 72 69 6f 72 69 74 79 2c 20 74 68 65 20 6d 61 78 69 6d 75 6d 20 76 61 6c 75 65 20 6f 75 e.priority,.the.maximum.value.ou
13e0 74 20 6f 66 20 74 68 6f 73 65 20 69 73 20 75 73 65 64 2e 3c 2f 72 65 6d 61 72 6b 73 3e 0a 20 20 t.of.those.is.used.</remarks>...
1400 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 66 6c 6f 61 74 20 47 65 74 4d 69 6e ......public.static.float.GetMin
1420 53 69 7a 65 28 52 65 63 74 54 72 61 6e 73 66 6f 72 6d 20 72 65 63 74 2c 20 69 6e 74 20 61 78 69 Size(RectTransform.rect,.int.axi
1440 73 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 78 69 s).........{.............if.(axi
1460 73 20 3d 3d 20 30 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 47 s.==.0).................return.G
1480 65 74 4d 69 6e 57 69 64 74 68 28 72 65 63 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 etMinWidth(rect);.............re
14a0 74 75 72 6e 20 47 65 74 4d 69 6e 48 65 69 67 68 74 28 72 65 63 74 29 3b 0a 20 20 20 20 20 20 20 turn.GetMinHeight(rect);........
14c0 20 7d 0a 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0a 20 20 20 20 20 20 .}..........///.<summary>.......
14e0 20 20 2f 2f 2f 20 52 65 74 75 72 6e 73 20 74 68 65 20 70 72 65 66 65 72 72 65 64 20 73 69 7a 65 ..///.Returns.the.preferred.size
1500 20 6f 66 20 74 68 65 20 6c 61 79 6f 75 74 20 65 6c 65 6d 65 6e 74 2e 0a 20 20 20 20 20 20 20 20 .of.the.layout.element..........
1520 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 70 61 72 61 ///.</summary>.........///.<para
1540 6d 20 6e 61 6d 65 3d 22 72 65 63 74 22 3e 54 68 65 20 52 65 63 74 54 72 61 6e 73 66 6f 72 6d 20 m.name="rect">The.RectTransform.
1560 6f 66 20 74 68 65 20 6c 61 79 6f 75 74 20 65 6c 65 6d 65 6e 74 20 74 6f 20 71 75 65 72 79 2e 3c of.the.layout.element.to.query.<
1580 2f 70 61 72 61 6d 3e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 70 61 72 61 6d 20 6e 61 6d 65 3d /param>.........///.<param.name=
15a0 22 61 78 69 73 22 3e 54 68 65 20 61 78 69 73 20 74 6f 20 71 75 65 72 79 2e 20 54 68 69 73 20 63 "axis">The.axis.to.query..This.c
15c0 61 6e 20 62 65 20 30 20 6f 72 20 31 2e 3c 2f 70 61 72 61 6d 3e 0a 20 20 20 20 20 20 20 20 2f 2f an.be.0.or.1.</param>.........//
15e0 2f 20 3c 72 65 6d 61 72 6b 73 3e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 41 6c 6c 20 63 6f 6d 70 /.<remarks>.........///.All.comp
1600 6f 6e 65 6e 74 73 20 6f 6e 20 74 68 65 20 47 61 6d 65 4f 62 6a 65 63 74 20 74 68 61 74 20 69 6d onents.on.the.GameObject.that.im
1620 70 6c 65 6d 65 6e 74 20 74 68 65 20 49 4c 61 79 6f 75 74 45 6c 65 6d 65 6e 74 20 61 72 65 20 71 plement.the.ILayoutElement.are.q
1640 75 65 72 69 65 64 2e 20 54 68 65 20 6f 6e 65 20 77 69 74 68 20 74 68 65 20 68 69 67 68 65 73 74 ueried..The.one.with.the.highest
1660 20 70 72 69 6f 72 69 74 79 20 77 68 69 63 68 20 68 61 73 20 61 20 76 61 6c 75 65 20 66 6f 72 20 .priority.which.has.a.value.for.
1680 74 68 69 73 20 73 65 74 74 69 6e 67 20 69 73 20 75 73 65 64 2e 20 49 66 20 6d 75 6c 74 69 70 6c this.setting.is.used..If.multipl
16a0 65 20 63 6f 6d 70 6f 6e 65 74 73 20 68 61 76 65 20 74 68 69 73 20 73 65 74 74 69 6e 67 20 61 6e e.componets.have.this.setting.an
16c0 64 20 68 61 76 65 20 74 68 65 20 73 61 6d 65 20 70 72 69 6f 72 69 74 79 2c 20 74 68 65 20 6d 61 d.have.the.same.priority,.the.ma
16e0 78 69 6d 75 6d 20 76 61 6c 75 65 20 6f 75 74 20 6f 66 20 74 68 6f 73 65 20 69 73 20 75 73 65 64 ximum.value.out.of.those.is.used
1700 2e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 72 65 6d 61 72 6b 73 3e 0a 20 20 20 20 20 20 20 ..........///.</remarks>........
1720 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 66 6c 6f 61 74 20 47 65 74 50 72 65 66 65 72 72 65 .public.static.float.GetPreferre
1740 64 53 69 7a 65 28 52 65 63 74 54 72 61 6e 73 66 6f 72 6d 20 72 65 63 74 2c 20 69 6e 74 20 61 78 dSize(RectTransform.rect,.int.ax
1760 69 73 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 78 is).........{.............if.(ax
1780 69 73 20 3d 3d 20 30 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 is.==.0).................return.
17a0 47 65 74 50 72 65 66 65 72 72 65 64 57 69 64 74 68 28 72 65 63 74 29 3b 0a 20 20 20 20 20 20 20 GetPreferredWidth(rect);........
17c0 20 20 20 20 20 72 65 74 75 72 6e 20 47 65 74 50 72 65 66 65 72 72 65 64 48 65 69 67 68 74 28 72 .....return.GetPreferredHeight(r
17e0 65 63 74 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 ect);.........}..........///.<su
1800 6d 6d 61 72 79 3e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 52 65 74 75 72 6e 73 20 74 68 65 20 66 mmary>.........///.Returns.the.f
1820 6c 65 78 69 62 6c 65 20 73 69 7a 65 20 6f 66 20 74 68 65 20 6c 61 79 6f 75 74 20 65 6c 65 6d 65 lexible.size.of.the.layout.eleme
1840 6e 74 2e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0a 20 20 20 20 20 nt..........///.</summary>......
1860 20 20 20 2f 2f 2f 20 3c 72 65 6d 61 72 6b 73 3e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 41 6c 6c ...///.<remarks>.........///.All
1880 20 63 6f 6d 70 6f 6e 65 6e 74 73 20 6f 6e 20 74 68 65 20 47 61 6d 65 4f 62 6a 65 63 74 20 74 68 .components.on.the.GameObject.th
18a0 61 74 20 69 6d 70 6c 65 6d 65 6e 74 20 74 68 65 20 49 4c 61 79 6f 75 74 45 6c 65 6d 65 6e 74 20 at.implement.the.ILayoutElement.
18c0 61 72 65 20 71 75 65 72 69 65 64 2e 20 54 68 65 20 6f 6e 65 20 77 69 74 68 20 74 68 65 20 68 69 are.queried..The.one.with.the.hi
18e0 67 68 65 73 74 20 70 72 69 6f 72 69 74 79 20 77 68 69 63 68 20 68 61 73 20 61 20 76 61 6c 75 65 ghest.priority.which.has.a.value
1900 20 66 6f 72 20 74 68 69 73 20 73 65 74 74 69 6e 67 20 69 73 20 75 73 65 64 2e 20 49 66 20 6d 75 .for.this.setting.is.used..If.mu
1920 6c 74 69 70 6c 65 20 63 6f 6d 70 6f 6e 65 74 73 20 68 61 76 65 20 74 68 69 73 20 73 65 74 74 69 ltiple.componets.have.this.setti
1940 6e 67 20 61 6e 64 20 68 61 76 65 20 74 68 65 20 73 61 6d 65 20 70 72 69 6f 72 69 74 79 2c 20 74 ng.and.have.the.same.priority,.t
1960 68 65 20 6d 61 78 69 6d 75 6d 20 76 61 6c 75 65 20 6f 75 74 20 6f 66 20 74 68 6f 73 65 20 69 73 he.maximum.value.out.of.those.is
1980 20 75 73 65 64 2e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 72 65 6d 61 72 6b 73 3e 0a 20 20 .used..........///.</remarks>...
19a0 20 20 20 20 20 20 2f 2f 2f 20 3c 70 61 72 61 6d 20 6e 61 6d 65 3d 22 72 65 63 74 22 3e 54 68 65 ......///.<param.name="rect">The
19c0 20 52 65 63 74 54 72 61 6e 73 66 6f 72 6d 20 6f 66 20 74 68 65 20 6c 61 79 6f 75 74 20 65 6c 65 .RectTransform.of.the.layout.ele
19e0 6d 65 6e 74 20 74 6f 20 71 75 65 72 79 2e 3c 2f 70 61 72 61 6d 3e 0a 20 20 20 20 20 20 20 20 2f ment.to.query.</param>........./
1a00 2f 2f 20 3c 70 61 72 61 6d 20 6e 61 6d 65 3d 22 61 78 69 73 22 3e 54 68 65 20 61 78 69 73 20 74 //.<param.name="axis">The.axis.t
1a20 6f 20 71 75 65 72 79 2e 20 54 68 69 73 20 63 61 6e 20 62 65 20 30 20 6f 72 20 31 2e 3c 2f 70 61 o.query..This.can.be.0.or.1.</pa
1a40 72 61 6d 3e 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 66 6c 6f 61 74 ram>.........public.static.float
1a60 20 47 65 74 46 6c 65 78 69 62 6c 65 53 69 7a 65 28 52 65 63 74 54 72 61 6e 73 66 6f 72 6d 20 72 .GetFlexibleSize(RectTransform.r
1a80 65 63 74 2c 20 69 6e 74 20 61 78 69 73 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 ect,.int.axis).........{........
1aa0 20 20 20 20 20 69 66 20 28 61 78 69 73 20 3d 3d 20 30 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 .....if.(axis.==.0).............
1ac0 20 20 20 20 72 65 74 75 72 6e 20 47 65 74 46 6c 65 78 69 62 6c 65 57 69 64 74 68 28 72 65 63 74 ....return.GetFlexibleWidth(rect
1ae0 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 47 65 74 46 6c 65 78 69 62 6c );.............return.GetFlexibl
1b00 65 48 65 69 67 68 74 28 72 65 63 74 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 eHeight(rect);.........}........
1b20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 52 65 74 75 ..///.<summary>.........///.Retu
1b40 72 6e 73 20 74 68 65 20 6d 69 6e 69 6d 75 6d 20 77 69 64 74 68 20 6f 66 20 74 68 65 20 6c 61 79 rns.the.minimum.width.of.the.lay
1b60 6f 75 74 20 65 6c 65 6d 65 6e 74 2e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 out.element..........///.</summa
1b80 72 79 3e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 70 61 72 61 6d 20 6e 61 6d 65 3d 22 72 65 63 ry>.........///.<param.name="rec
1ba0 74 22 3e 54 68 65 20 52 65 63 74 54 72 61 6e 73 66 6f 72 6d 20 6f 66 20 74 68 65 20 6c 61 79 6f t">The.RectTransform.of.the.layo
1bc0 75 74 20 65 6c 65 6d 65 6e 74 20 74 6f 20 71 75 65 72 79 2e 3c 2f 70 61 72 61 6d 3e 0a 20 20 20 ut.element.to.query.</param>....
1be0 20 20 20 20 20 2f 2f 2f 20 3c 72 65 6d 61 72 6b 73 3e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 41 .....///.<remarks>.........///.A
1c00 6c 6c 20 63 6f 6d 70 6f 6e 65 6e 74 73 20 6f 6e 20 74 68 65 20 47 61 6d 65 4f 62 6a 65 63 74 20 ll.components.on.the.GameObject.
1c20 74 68 61 74 20 69 6d 70 6c 65 6d 65 6e 74 20 74 68 65 20 49 4c 61 79 6f 75 74 45 6c 65 6d 65 6e that.implement.the.ILayoutElemen
1c40 74 20 61 72 65 20 71 75 65 72 69 65 64 2e 20 54 68 65 20 6f 6e 65 20 77 69 74 68 20 74 68 65 20 t.are.queried..The.one.with.the.
1c60 68 69 67 68 65 73 74 20 70 72 69 6f 72 69 74 79 20 77 68 69 63 68 20 68 61 73 20 61 20 76 61 6c highest.priority.which.has.a.val
1c80 75 65 20 66 6f 72 20 74 68 69 73 20 73 65 74 74 69 6e 67 20 69 73 20 75 73 65 64 2e 20 49 66 20 ue.for.this.setting.is.used..If.
1ca0 6d 75 6c 74 69 70 6c 65 20 63 6f 6d 70 6f 6e 65 74 73 20 68 61 76 65 20 74 68 69 73 20 73 65 74 multiple.componets.have.this.set
1cc0 74 69 6e 67 20 61 6e 64 20 68 61 76 65 20 74 68 65 20 73 61 6d 65 20 70 72 69 6f 72 69 74 79 2c ting.and.have.the.same.priority,
1ce0 20 74 68 65 20 6d 61 78 69 6d 75 6d 20 76 61 6c 75 65 20 6f 75 74 20 6f 66 20 74 68 6f 73 65 20 .the.maximum.value.out.of.those.
1d00 69 73 20 75 73 65 64 2e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 72 65 6d 61 72 6b 73 3e 0a is.used..........///.</remarks>.
1d20 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 66 6c 6f 61 74 20 47 65 74 4d ........public.static.float.GetM
1d40 69 6e 57 69 64 74 68 28 52 65 63 74 54 72 61 6e 73 66 6f 72 6d 20 72 65 63 74 29 0a 20 20 20 20 inWidth(RectTransform.rect).....
1d60 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 47 65 74 4c 61 79 6f ....{.............return.GetLayo
1d80 75 74 50 72 6f 70 65 72 74 79 28 72 65 63 74 2c 20 65 20 3d 3e 20 65 2e 6d 69 6e 57 69 64 74 68 utProperty(rect,.e.=>.e.minWidth
1da0 2c 20 30 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 ,.0);.........}..........///.<su
1dc0 6d 6d 61 72 79 3e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 52 65 74 75 72 6e 73 20 74 68 65 20 70 mmary>.........///.Returns.the.p
1de0 72 65 66 65 72 72 65 64 20 77 69 64 74 68 20 6f 66 20 74 68 65 20 6c 61 79 6f 75 74 20 65 6c 65 referred.width.of.the.layout.ele
1e00 6d 65 6e 74 2e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0a 20 20 20 ment..........///.</summary>....
1e20 20 20 20 20 20 2f 2f 2f 20 3c 70 61 72 61 6d 20 6e 61 6d 65 3d 22 72 65 63 74 22 3e 54 68 65 20 .....///.<param.name="rect">The.
1e40 52 65 63 74 54 72 61 6e 73 66 6f 72 6d 20 6f 66 20 74 68 65 20 6c 61 79 6f 75 74 20 65 6c 65 6d RectTransform.of.the.layout.elem
1e60 65 6e 74 20 74 6f 20 71 75 65 72 79 2e 3c 2f 70 61 72 61 6d 3e 0a 20 20 20 20 20 20 20 20 2f 2f ent.to.query.</param>.........//
1e80 2f 20 3c 72 65 74 75 72 6e 73 3e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 41 6c 6c 20 63 6f 6d 70 /.<returns>.........///.All.comp
1ea0 6f 6e 65 6e 74 73 20 6f 6e 20 74 68 65 20 47 61 6d 65 4f 62 6a 65 63 74 20 74 68 61 74 20 69 6d onents.on.the.GameObject.that.im
1ec0 70 6c 65 6d 65 6e 74 20 74 68 65 20 49 4c 61 79 6f 75 74 45 6c 65 6d 65 6e 74 20 61 72 65 20 71 plement.the.ILayoutElement.are.q
1ee0 75 65 72 69 65 64 2e 20 54 68 65 20 6f 6e 65 20 77 69 74 68 20 74 68 65 20 68 69 67 68 65 73 74 ueried..The.one.with.the.highest
1f00 20 70 72 69 6f 72 69 74 79 20 77 68 69 63 68 20 68 61 73 20 61 20 76 61 6c 75 65 20 66 6f 72 20 .priority.which.has.a.value.for.
1f20 74 68 69 73 20 73 65 74 74 69 6e 67 20 69 73 20 75 73 65 64 2e 20 49 66 20 6d 75 6c 74 69 70 6c this.setting.is.used..If.multipl
1f40 65 20 63 6f 6d 70 6f 6e 65 74 73 20 68 61 76 65 20 74 68 69 73 20 73 65 74 74 69 6e 67 20 61 6e e.componets.have.this.setting.an
1f60 64 20 68 61 76 65 20 74 68 65 20 73 61 6d 65 20 70 72 69 6f 72 69 74 79 2c 20 74 68 65 20 6d 61 d.have.the.same.priority,.the.ma
1f80 78 69 6d 75 6d 20 76 61 6c 75 65 20 6f 75 74 20 6f 66 20 74 68 6f 73 65 20 69 73 20 75 73 65 64 ximum.value.out.of.those.is.used
1fa0 2e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 72 65 74 75 72 6e 73 3e 0a 20 20 20 20 20 20 20 ..........///.</returns>........
1fc0 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 66 6c 6f 61 74 20 47 65 74 50 72 65 66 65 72 72 65 .public.static.float.GetPreferre
1fe0 64 57 69 64 74 68 28 52 65 63 74 54 72 61 6e 73 66 6f 72 6d 20 72 65 63 74 29 0a 20 20 20 20 20 dWidth(RectTransform.rect)......
2000 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 4d 61 74 68 66 2e 4d 61 ...{.............return.Mathf.Ma
2020 78 28 47 65 74 4c 61 79 6f 75 74 50 72 6f 70 65 72 74 79 28 72 65 63 74 2c 20 65 20 3d 3e 20 65 x(GetLayoutProperty(rect,.e.=>.e
2040 2e 6d 69 6e 57 69 64 74 68 2c 20 30 29 2c 20 47 65 74 4c 61 79 6f 75 74 50 72 6f 70 65 72 74 79 .minWidth,.0),.GetLayoutProperty
2060 28 72 65 63 74 2c 20 65 20 3d 3e 20 65 2e 70 72 65 66 65 72 72 65 64 57 69 64 74 68 2c 20 30 29 (rect,.e.=>.e.preferredWidth,.0)
2080 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 );.........}..........///.<summa
20a0 72 79 3e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 52 65 74 75 72 6e 73 20 74 68 65 20 66 6c 65 78 ry>.........///.Returns.the.flex
20c0 69 62 6c 65 20 77 69 64 74 68 20 6f 66 20 74 68 65 20 6c 61 79 6f 75 74 20 65 6c 65 6d 65 6e 74 ible.width.of.the.layout.element
20e0 2e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0a 20 20 20 20 20 20 20 ..........///.</summary>........
2100 20 2f 2f 2f 20 3c 72 65 6d 61 72 6b 73 3e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 41 6c 6c 20 63 .///.<remarks>.........///.All.c
2120 6f 6d 70 6f 6e 65 6e 74 73 20 6f 6e 20 74 68 65 20 47 61 6d 65 4f 62 6a 65 63 74 20 74 68 61 74 omponents.on.the.GameObject.that
2140 20 69 6d 70 6c 65 6d 65 6e 74 20 74 68 65 20 49 4c 61 79 6f 75 74 45 6c 65 6d 65 6e 74 20 61 72 .implement.the.ILayoutElement.ar
2160 65 20 71 75 65 72 69 65 64 2e 20 54 68 65 20 6f 6e 65 20 77 69 74 68 20 74 68 65 20 68 69 67 68 e.queried..The.one.with.the.high
2180 65 73 74 20 70 72 69 6f 72 69 74 79 20 77 68 69 63 68 20 68 61 73 20 61 20 76 61 6c 75 65 20 66 est.priority.which.has.a.value.f
21a0 6f 72 20 74 68 69 73 20 73 65 74 74 69 6e 67 20 69 73 20 75 73 65 64 2e 20 49 66 20 6d 75 6c 74 or.this.setting.is.used..If.mult
21c0 69 70 6c 65 20 63 6f 6d 70 6f 6e 65 74 73 20 68 61 76 65 20 74 68 69 73 20 73 65 74 74 69 6e 67 iple.componets.have.this.setting
21e0 20 61 6e 64 20 68 61 76 65 20 74 68 65 20 73 61 6d 65 20 70 72 69 6f 72 69 74 79 2c 20 74 68 65 .and.have.the.same.priority,.the
2200 20 6d 61 78 69 6d 75 6d 20 76 61 6c 75 65 20 6f 75 74 20 6f 66 20 74 68 6f 73 65 20 69 73 20 75 .maximum.value.out.of.those.is.u
2220 73 65 64 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 72 65 6d 61 72 6b 73 3e 0a 20 20 20 20 20 sed.........///.</remarks>......
2240 20 20 20 2f 2f 2f 20 3c 70 61 72 61 6d 20 6e 61 6d 65 3d 22 72 65 63 74 22 3e 54 68 65 20 52 65 ...///.<param.name="rect">The.Re
2260 63 74 54 72 61 6e 73 66 6f 72 6d 20 6f 66 20 74 68 65 20 6c 61 79 6f 75 74 20 65 6c 65 6d 65 6e ctTransform.of.the.layout.elemen
2280 74 20 74 6f 20 71 75 65 72 79 2e 3c 2f 70 61 72 61 6d 3e 0a 20 20 20 20 20 20 20 20 70 75 62 6c t.to.query.</param>.........publ
22a0 69 63 20 73 74 61 74 69 63 20 66 6c 6f 61 74 20 47 65 74 46 6c 65 78 69 62 6c 65 57 69 64 74 68 ic.static.float.GetFlexibleWidth
22c0 28 52 65 63 74 54 72 61 6e 73 66 6f 72 6d 20 72 65 63 74 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 (RectTransform.rect).........{..
22e0 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 47 65 74 4c 61 79 6f 75 74 50 72 6f 70 65 ...........return.GetLayoutPrope
2300 72 74 79 28 72 65 63 74 2c 20 65 20 3d 3e 20 65 2e 66 6c 65 78 69 62 6c 65 57 69 64 74 68 2c 20 rty(rect,.e.=>.e.flexibleWidth,.
2320 30 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 0);.........}..........///.<summ
2340 61 72 79 3e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 52 65 74 75 72 6e 73 20 74 68 65 20 6d 69 6e ary>.........///.Returns.the.min
2360 69 6d 75 6d 20 68 65 69 67 68 74 20 6f 66 20 74 68 65 20 6c 61 79 6f 75 74 20 65 6c 65 6d 65 6e imum.height.of.the.layout.elemen
2380 74 2e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0a 20 20 20 20 20 20 t..........///.</summary>.......
23a0 20 20 2f 2f 2f 20 3c 70 61 72 61 6d 20 6e 61 6d 65 3d 22 72 65 63 74 22 3e 54 68 65 20 52 65 63 ..///.<param.name="rect">The.Rec
23c0 74 54 72 61 6e 73 66 6f 72 6d 20 6f 66 20 74 68 65 20 6c 61 79 6f 75 74 20 65 6c 65 6d 65 6e 74 tTransform.of.the.layout.element
23e0 20 74 6f 20 71 75 65 72 79 2e 3c 2f 70 61 72 61 6d 3e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c .to.query.</param>.........///.<
2400 72 65 6d 61 72 6b 73 3e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 41 6c 6c 20 63 6f 6d 70 6f 6e 65 remarks>.........///.All.compone
2420 6e 74 73 20 6f 6e 20 74 68 65 20 47 61 6d 65 4f 62 6a 65 63 74 20 74 68 61 74 20 69 6d 70 6c 65 nts.on.the.GameObject.that.imple
2440 6d 65 6e 74 20 74 68 65 20 49 4c 61 79 6f 75 74 45 6c 65 6d 65 6e 74 20 61 72 65 20 71 75 65 72 ment.the.ILayoutElement.are.quer
2460 69 65 64 2e 20 54 68 65 20 6f 6e 65 20 77 69 74 68 20 74 68 65 20 68 69 67 68 65 73 74 20 70 72 ied..The.one.with.the.highest.pr
2480 69 6f 72 69 74 79 20 77 68 69 63 68 20 68 61 73 20 61 20 76 61 6c 75 65 20 66 6f 72 20 74 68 69 iority.which.has.a.value.for.thi
24a0 73 20 73 65 74 74 69 6e 67 20 69 73 20 75 73 65 64 2e 20 49 66 20 6d 75 6c 74 69 70 6c 65 20 63 s.setting.is.used..If.multiple.c
24c0 6f 6d 70 6f 6e 65 74 73 20 68 61 76 65 20 74 68 69 73 20 73 65 74 74 69 6e 67 20 61 6e 64 20 68 omponets.have.this.setting.and.h
24e0 61 76 65 20 74 68 65 20 73 61 6d 65 20 70 72 69 6f 72 69 74 79 2c 20 74 68 65 20 6d 61 78 69 6d ave.the.same.priority,.the.maxim
2500 75 6d 20 76 61 6c 75 65 20 6f 75 74 20 6f 66 20 74 68 6f 73 65 20 69 73 20 75 73 65 64 2e 0a 20 um.value.out.of.those.is.used...
2520 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 72 65 6d 61 72 6b 73 3e 0a 20 20 20 20 20 20 20 20 70 75 .......///.</remarks>.........pu
2540 62 6c 69 63 20 73 74 61 74 69 63 20 66 6c 6f 61 74 20 47 65 74 4d 69 6e 48 65 69 67 68 74 28 52 blic.static.float.GetMinHeight(R
2560 65 63 74 54 72 61 6e 73 66 6f 72 6d 20 72 65 63 74 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 ectTransform.rect).........{....
2580 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 47 65 74 4c 61 79 6f 75 74 50 72 6f 70 65 72 74 .........return.GetLayoutPropert
25a0 79 28 72 65 63 74 2c 20 65 20 3d 3e 20 65 2e 6d 69 6e 48 65 69 67 68 74 2c 20 30 29 3b 0a 20 20 y(rect,.e.=>.e.minHeight,.0);...
25c0 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0a 20 ......}..........///.<summary>..
25e0 20 20 20 20 20 20 20 2f 2f 2f 20 52 65 74 75 72 6e 73 20 74 68 65 20 70 72 65 66 65 72 72 65 64 .......///.Returns.the.preferred
2600 20 68 65 69 67 68 74 20 6f 66 20 74 68 65 20 6c 61 79 6f 75 74 20 65 6c 65 6d 65 6e 74 2e 0a 20 .height.of.the.layout.element...
2620 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0a 20 20 20 20 20 20 20 20 2f 2f .......///.</summary>.........//
2640 2f 20 3c 70 61 72 61 6d 20 6e 61 6d 65 3d 22 72 65 63 74 22 3e 54 68 65 20 52 65 63 74 54 72 61 /.<param.name="rect">The.RectTra
2660 6e 73 66 6f 72 6d 20 6f 66 20 74 68 65 20 6c 61 79 6f 75 74 20 65 6c 65 6d 65 6e 74 20 74 6f 20 nsform.of.the.layout.element.to.
2680 71 75 65 72 79 2e 3c 2f 70 61 72 61 6d 3e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 72 65 6d 61 query.</param>.........///.<rema
26a0 72 6b 73 3e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 41 6c 6c 20 63 6f 6d 70 6f 6e 65 6e 74 73 20 rks>.........///.All.components.
26c0 6f 6e 20 74 68 65 20 47 61 6d 65 4f 62 6a 65 63 74 20 74 68 61 74 20 69 6d 70 6c 65 6d 65 6e 74 on.the.GameObject.that.implement
26e0 20 74 68 65 20 49 4c 61 79 6f 75 74 45 6c 65 6d 65 6e 74 20 61 72 65 20 71 75 65 72 69 65 64 2e .the.ILayoutElement.are.queried.
2700 20 54 68 65 20 6f 6e 65 20 77 69 74 68 20 74 68 65 20 68 69 67 68 65 73 74 20 70 72 69 6f 72 69 .The.one.with.the.highest.priori
2720 74 79 20 77 68 69 63 68 20 68 61 73 20 61 20 76 61 6c 75 65 20 66 6f 72 20 74 68 69 73 20 73 65 ty.which.has.a.value.for.this.se
2740 74 74 69 6e 67 20 69 73 20 75 73 65 64 2e 20 49 66 20 6d 75 6c 74 69 70 6c 65 20 63 6f 6d 70 6f tting.is.used..If.multiple.compo
2760 6e 65 74 73 20 68 61 76 65 20 74 68 69 73 20 73 65 74 74 69 6e 67 20 61 6e 64 20 68 61 76 65 20 nets.have.this.setting.and.have.
2780 74 68 65 20 73 61 6d 65 20 70 72 69 6f 72 69 74 79 2c 20 74 68 65 20 6d 61 78 69 6d 75 6d 20 76 the.same.priority,.the.maximum.v
27a0 61 6c 75 65 20 6f 75 74 20 6f 66 20 74 68 6f 73 65 20 69 73 20 75 73 65 64 2e 0a 20 20 20 20 20 alue.out.of.those.is.used.......
27c0 20 20 20 2f 2f 2f 20 3c 2f 72 65 6d 61 72 6b 73 3e 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 ...///.</remarks>.........public
27e0 20 73 74 61 74 69 63 20 66 6c 6f 61 74 20 47 65 74 50 72 65 66 65 72 72 65 64 48 65 69 67 68 74 .static.float.GetPreferredHeight
2800 28 52 65 63 74 54 72 61 6e 73 66 6f 72 6d 20 72 65 63 74 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 (RectTransform.rect).........{..
2820 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 4d 61 74 68 66 2e 4d 61 78 28 47 65 74 4c ...........return.Mathf.Max(GetL
2840 61 79 6f 75 74 50 72 6f 70 65 72 74 79 28 72 65 63 74 2c 20 65 20 3d 3e 20 65 2e 6d 69 6e 48 65 ayoutProperty(rect,.e.=>.e.minHe
2860 69 67 68 74 2c 20 30 29 2c 20 47 65 74 4c 61 79 6f 75 74 50 72 6f 70 65 72 74 79 28 72 65 63 74 ight,.0),.GetLayoutProperty(rect
2880 2c 20 65 20 3d 3e 20 65 2e 70 72 65 66 65 72 72 65 64 48 65 69 67 68 74 2c 20 30 29 29 3b 0a 20 ,.e.=>.e.preferredHeight,.0));..
28a0 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0a .......}..........///.<summary>.
28c0 20 20 20 20 20 20 20 20 2f 2f 2f 20 52 65 74 75 72 6e 73 20 74 68 65 20 66 6c 65 78 69 62 6c 65 ........///.Returns.the.flexible
28e0 20 68 65 69 67 68 74 20 6f 66 20 74 68 65 20 6c 61 79 6f 75 74 20 65 6c 65 6d 65 6e 74 2e 0a 20 .height.of.the.layout.element...
2900 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0a 20 20 20 20 20 20 20 20 2f 2f .......///.</summary>.........//
2920 2f 20 3c 72 65 6d 61 72 6b 73 3e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 41 6c 6c 20 63 6f 6d 70 /.<remarks>.........///.All.comp
2940 6f 6e 65 6e 74 73 20 6f 6e 20 74 68 65 20 47 61 6d 65 4f 62 6a 65 63 74 20 74 68 61 74 20 69 6d onents.on.the.GameObject.that.im
2960 70 6c 65 6d 65 6e 74 20 74 68 65 20 49 4c 61 79 6f 75 74 45 6c 65 6d 65 6e 74 20 61 72 65 20 71 plement.the.ILayoutElement.are.q
2980 75 65 72 69 65 64 2e 20 54 68 65 20 6f 6e 65 20 77 69 74 68 20 74 68 65 20 68 69 67 68 65 73 74 ueried..The.one.with.the.highest
29a0 20 70 72 69 6f 72 69 74 79 20 77 68 69 63 68 20 68 61 73 20 61 20 76 61 6c 75 65 20 66 6f 72 20 .priority.which.has.a.value.for.
29c0 74 68 69 73 20 73 65 74 74 69 6e 67 20 69 73 20 75 73 65 64 2e 20 49 66 20 6d 75 6c 74 69 70 6c this.setting.is.used..If.multipl
29e0 65 20 63 6f 6d 70 6f 6e 65 74 73 20 68 61 76 65 20 74 68 69 73 20 73 65 74 74 69 6e 67 20 61 6e e.componets.have.this.setting.an
2a00 64 20 68 61 76 65 20 74 68 65 20 73 61 6d 65 20 70 72 69 6f 72 69 74 79 2c 20 74 68 65 20 6d 61 d.have.the.same.priority,.the.ma
2a20 78 69 6d 75 6d 20 76 61 6c 75 65 20 6f 75 74 20 6f 66 20 74 68 6f 73 65 20 69 73 20 75 73 65 64 ximum.value.out.of.those.is.used
2a40 2e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 72 65 6d 61 72 6b 73 3e 0a 20 20 20 20 20 20 20 ..........///.</remarks>........
2a60 20 2f 2f 2f 20 3c 70 61 72 61 6d 20 6e 61 6d 65 3d 22 72 65 63 74 22 3e 54 68 65 20 52 65 63 74 .///.<param.name="rect">The.Rect
2a80 54 72 61 6e 73 66 6f 72 6d 20 6f 66 20 74 68 65 20 6c 61 79 6f 75 74 20 65 6c 65 6d 65 6e 74 20 Transform.of.the.layout.element.
2aa0 74 6f 20 71 75 65 72 79 2e 3c 2f 70 61 72 61 6d 3e 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 to.query.</param>.........public
2ac0 20 73 74 61 74 69 63 20 66 6c 6f 61 74 20 47 65 74 46 6c 65 78 69 62 6c 65 48 65 69 67 68 74 28 .static.float.GetFlexibleHeight(
2ae0 52 65 63 74 54 72 61 6e 73 66 6f 72 6d 20 72 65 63 74 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 RectTransform.rect).........{...
2b00 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 47 65 74 4c 61 79 6f 75 74 50 72 6f 70 65 72 ..........return.GetLayoutProper
2b20 74 79 28 72 65 63 74 2c 20 65 20 3d 3e 20 65 2e 66 6c 65 78 69 62 6c 65 48 65 69 67 68 74 2c 20 ty(rect,.e.=>.e.flexibleHeight,.
2b40 30 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 0);.........}..........///.<summ
2b60 61 72 79 3e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 47 65 74 73 20 61 20 63 61 6c 63 75 6c 61 74 ary>.........///.Gets.a.calculat
2b80 65 64 20 6c 61 79 6f 75 74 20 70 72 6f 70 65 72 74 79 20 66 6f 72 20 74 68 65 20 6c 61 79 6f 75 ed.layout.property.for.the.layou
2ba0 74 20 65 6c 65 6d 65 6e 74 20 77 69 74 68 20 74 68 65 20 67 69 76 65 6e 20 52 65 63 74 54 72 61 t.element.with.the.given.RectTra
2bc0 6e 73 66 6f 72 6d 2e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0a 20 nsform..........///.</summary>..
2be0 20 20 20 20 20 20 20 2f 2f 2f 20 3c 70 61 72 61 6d 20 6e 61 6d 65 3d 22 72 65 63 74 22 3e 54 68 .......///.<param.name="rect">Th
2c00 65 20 52 65 63 74 54 72 61 6e 73 66 6f 72 6d 20 6f 66 20 74 68 65 20 6c 61 79 6f 75 74 20 65 6c e.RectTransform.of.the.layout.el
2c20 65 6d 65 6e 74 20 74 6f 20 67 65 74 20 61 20 70 72 6f 70 65 72 74 79 20 66 6f 72 2e 3c 2f 70 61 ement.to.get.a.property.for.</pa
2c40 72 61 6d 3e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 70 61 72 61 6d 20 6e 61 6d 65 3d 22 70 72 ram>.........///.<param.name="pr
2c60 6f 70 65 72 74 79 22 3e 54 68 65 20 70 72 6f 70 65 72 74 79 20 74 6f 20 63 61 6c 63 75 6c 61 74 operty">The.property.to.calculat
2c80 65 2e 3c 2f 70 61 72 61 6d 3e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 70 61 72 61 6d 20 6e 61 e.</param>.........///.<param.na
2ca0 6d 65 3d 22 64 65 66 61 75 6c 74 56 61 6c 75 65 22 3e 54 68 65 20 64 65 66 61 75 6c 74 20 76 61 me="defaultValue">The.default.va
2cc0 6c 75 65 20 74 6f 20 75 73 65 20 69 66 20 6e 6f 20 63 6f 6d 70 6f 6e 65 6e 74 20 6f 6e 20 74 68 lue.to.use.if.no.component.on.th
2ce0 65 20 6c 61 79 6f 75 74 20 65 6c 65 6d 65 6e 74 20 73 75 70 70 6c 69 65 73 20 74 68 65 20 67 69 e.layout.element.supplies.the.gi
2d00 76 65 6e 20 70 72 6f 70 65 72 74 79 3c 2f 70 61 72 61 6d 3e 0a 20 20 20 20 20 20 20 20 2f 2f 2f ven.property</param>.........///
2d20 20 3c 72 65 74 75 72 6e 73 3e 54 68 65 20 63 61 6c 63 75 6c 61 74 65 64 20 76 61 6c 75 65 20 6f .<returns>The.calculated.value.o
2d40 66 20 74 68 65 20 6c 61 79 6f 75 74 20 70 72 6f 70 65 72 74 79 2e 3c 2f 72 65 74 75 72 6e 73 3e f.the.layout.property.</returns>
2d60 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 66 6c 6f 61 74 20 47 65 74 .........public.static.float.Get
2d80 4c 61 79 6f 75 74 50 72 6f 70 65 72 74 79 28 52 65 63 74 54 72 61 6e 73 66 6f 72 6d 20 72 65 63 LayoutProperty(RectTransform.rec
2da0 74 2c 20 53 79 73 74 65 6d 2e 46 75 6e 63 3c 49 4c 61 79 6f 75 74 45 6c 65 6d 65 6e 74 2c 20 66 t,.System.Func<ILayoutElement,.f
2dc0 6c 6f 61 74 3e 20 70 72 6f 70 65 72 74 79 2c 20 66 6c 6f 61 74 20 64 65 66 61 75 6c 74 56 61 6c loat>.property,.float.defaultVal
2de0 75 65 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 49 4c 61 79 6f 75 ue).........{.............ILayou
2e00 74 45 6c 65 6d 65 6e 74 20 64 75 6d 6d 79 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 tElement.dummy;.............retu
2e20 72 6e 20 47 65 74 4c 61 79 6f 75 74 50 72 6f 70 65 72 74 79 28 72 65 63 74 2c 20 70 72 6f 70 65 rn.GetLayoutProperty(rect,.prope
2e40 72 74 79 2c 20 64 65 66 61 75 6c 74 56 61 6c 75 65 2c 20 6f 75 74 20 64 75 6d 6d 79 29 3b 0a 20 rty,.defaultValue,.out.dummy);..
2e60 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0a .......}..........///.<summary>.
2e80 20 20 20 20 20 20 20 20 2f 2f 2f 20 47 65 74 73 20 61 20 63 61 6c 63 75 6c 61 74 65 64 20 6c 61 ........///.Gets.a.calculated.la
2ea0 79 6f 75 74 20 70 72 6f 70 65 72 74 79 20 66 6f 72 20 74 68 65 20 6c 61 79 6f 75 74 20 65 6c 65 yout.property.for.the.layout.ele
2ec0 6d 65 6e 74 20 77 69 74 68 20 74 68 65 20 67 69 76 65 6e 20 52 65 63 74 54 72 61 6e 73 66 6f 72 ment.with.the.given.RectTransfor
2ee0 6d 2e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0a 20 20 20 20 20 20 m..........///.</summary>.......
2f00 20 20 2f 2f 2f 20 3c 70 61 72 61 6d 20 6e 61 6d 65 3d 22 72 65 63 74 22 3e 54 68 65 20 52 65 63 ..///.<param.name="rect">The.Rec
2f20 74 54 72 61 6e 73 66 6f 72 6d 20 6f 66 20 74 68 65 20 6c 61 79 6f 75 74 20 65 6c 65 6d 65 6e 74 tTransform.of.the.layout.element
2f40 20 74 6f 20 67 65 74 20 61 20 70 72 6f 70 65 72 74 79 20 66 6f 72 2e 3c 2f 70 61 72 61 6d 3e 0a .to.get.a.property.for.</param>.
2f60 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 70 61 72 61 6d 20 6e 61 6d 65 3d 22 70 72 6f 70 65 72 74 ........///.<param.name="propert
2f80 79 22 3e 54 68 65 20 70 72 6f 70 65 72 74 79 20 74 6f 20 63 61 6c 63 75 6c 61 74 65 2e 3c 2f 70 y">The.property.to.calculate.</p
2fa0 61 72 61 6d 3e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 70 61 72 61 6d 20 6e 61 6d 65 3d 22 64 aram>.........///.<param.name="d
2fc0 65 66 61 75 6c 74 56 61 6c 75 65 22 3e 54 68 65 20 64 65 66 61 75 6c 74 20 76 61 6c 75 65 20 74 efaultValue">The.default.value.t
2fe0 6f 20 75 73 65 20 69 66 20 6e 6f 20 63 6f 6d 70 6f 6e 65 6e 74 20 6f 6e 20 74 68 65 20 6c 61 79 o.use.if.no.component.on.the.lay
3000 6f 75 74 20 65 6c 65 6d 65 6e 74 20 73 75 70 70 6c 69 65 73 20 74 68 65 20 67 69 76 65 6e 20 70 out.element.supplies.the.given.p
3020 72 6f 70 65 72 74 79 3c 2f 70 61 72 61 6d 3e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 70 61 72 roperty</param>.........///.<par
3040 61 6d 20 6e 61 6d 65 3d 22 73 6f 75 72 63 65 22 3e 4f 70 74 69 6f 6e 61 6c 20 6f 75 74 20 70 61 am.name="source">Optional.out.pa
3060 72 61 6d 65 74 65 72 20 74 6f 20 67 65 74 20 74 68 65 20 63 6f 6d 70 6f 6e 65 6e 74 20 74 68 61 rameter.to.get.the.component.tha
3080 74 20 73 75 70 70 6c 69 65 64 20 74 68 65 20 63 61 6c 63 75 6c 61 74 65 64 20 76 61 6c 75 65 2e t.supplied.the.calculated.value.
30a0 3c 2f 70 61 72 61 6d 3e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 72 65 74 75 72 6e 73 3e 54 68 </param>.........///.<returns>Th
30c0 65 20 63 61 6c 63 75 6c 61 74 65 64 20 76 61 6c 75 65 20 6f 66 20 74 68 65 20 6c 61 79 6f 75 74 e.calculated.value.of.the.layout
30e0 20 70 72 6f 70 65 72 74 79 2e 3c 2f 72 65 74 75 72 6e 73 3e 0a 20 20 20 20 20 20 20 20 70 75 62 .property.</returns>.........pub
3100 6c 69 63 20 73 74 61 74 69 63 20 66 6c 6f 61 74 20 47 65 74 4c 61 79 6f 75 74 50 72 6f 70 65 72 lic.static.float.GetLayoutProper
3120 74 79 28 52 65 63 74 54 72 61 6e 73 66 6f 72 6d 20 72 65 63 74 2c 20 53 79 73 74 65 6d 2e 46 75 ty(RectTransform.rect,.System.Fu
3140 6e 63 3c 49 4c 61 79 6f 75 74 45 6c 65 6d 65 6e 74 2c 20 66 6c 6f 61 74 3e 20 70 72 6f 70 65 72 nc<ILayoutElement,.float>.proper
3160 74 79 2c 20 66 6c 6f 61 74 20 64 65 66 61 75 6c 74 56 61 6c 75 65 2c 20 6f 75 74 20 49 4c 61 79 ty,.float.defaultValue,.out.ILay
3180 6f 75 74 45 6c 65 6d 65 6e 74 20 73 6f 75 72 63 65 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 outElement.source).........{....
31a0 20 20 20 20 20 20 20 20 20 73 6f 75 72 63 65 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 .........source.=.null;.........
31c0 20 20 20 20 69 66 20 28 72 65 63 74 20 3d 3d 20 6e 75 6c 6c 29 0a 20 20 20 20 20 20 20 20 20 20 ....if.(rect.==.null)...........
31e0 20 20 20 20 20 20 72 65 74 75 72 6e 20 30 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6c 6f 61 ......return.0;.............floa
3200 74 20 6d 69 6e 20 3d 20 64 65 66 61 75 6c 74 56 61 6c 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 t.min.=.defaultValue;...........
3220 20 20 69 6e 74 20 6d 61 78 50 72 69 6f 72 69 74 79 20 3d 20 53 79 73 74 65 6d 2e 49 6e 74 33 32 ..int.maxPriority.=.System.Int32
3240 2e 4d 69 6e 56 61 6c 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 6f 6d 70 6f .MinValue;.............var.compo
3260 6e 65 6e 74 73 20 3d 20 4c 69 73 74 50 6f 6f 6c 3c 43 6f 6d 70 6f 6e 65 6e 74 3e 2e 47 65 74 28 nents.=.ListPool<Component>.Get(
3280 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 2e 47 65 74 43 6f 6d 70 6f 6e 65 6e 74 );.............rect.GetComponent
32a0 73 28 74 79 70 65 6f 66 28 49 4c 61 79 6f 75 74 45 6c 65 6d 65 6e 74 29 2c 20 63 6f 6d 70 6f 6e s(typeof(ILayoutElement),.compon
32c0 65 6e 74 73 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 69 6e 74 20 69 20 3d ents);..............for.(int.i.=
32e0 20 30 3b 20 69 20 3c 20 63 6f 6d 70 6f 6e 65 6e 74 73 2e 43 6f 75 6e 74 3b 20 69 2b 2b 29 0a 20 .0;.i.<.components.Count;.i++)..
3300 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 ...........{.................var
3320 20 6c 61 79 6f 75 74 43 6f 6d 70 20 3d 20 63 6f 6d 70 6f 6e 65 6e 74 73 5b 69 5d 20 61 73 20 49 .layoutComp.=.components[i].as.I
3340 4c 61 79 6f 75 74 45 6c 65 6d 65 6e 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 LayoutElement;.................i
3360 66 20 28 6c 61 79 6f 75 74 43 6f 6d 70 20 69 73 20 42 65 68 61 76 69 6f 75 72 20 26 26 20 21 28 f.(layoutComp.is.Behaviour.&&.!(
3380 28 42 65 68 61 76 69 6f 75 72 29 6c 61 79 6f 75 74 43 6f 6d 70 29 2e 69 73 41 63 74 69 76 65 41 (Behaviour)layoutComp).isActiveA
33a0 6e 64 45 6e 61 62 6c 65 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 ndEnabled).....................c
33c0 6f 6e 74 69 6e 75 65 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 20 70 72 ontinue;..................int.pr
33e0 69 6f 72 69 74 79 20 3d 20 6c 61 79 6f 75 74 43 6f 6d 70 2e 6c 61 79 6f 75 74 50 72 69 6f 72 69 iority.=.layoutComp.layoutPriori
3400 74 79 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 49 66 20 74 68 69 73 20 6c ty;.................//.If.this.l
3420 61 79 6f 75 74 20 63 6f 6d 70 6f 6e 65 6e 74 73 20 68 61 73 20 6c 6f 77 65 72 20 70 72 69 6f 72 ayout.components.has.lower.prior
3440 69 74 79 20 74 68 61 6e 20 61 20 70 72 65 76 69 6f 75 73 6c 79 20 75 73 65 64 2c 20 69 67 6e 6f ity.than.a.previously.used,.igno
3460 72 65 20 69 74 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 70 72 69 6f 72 re.it..................if.(prior
3480 69 74 79 20 3c 20 6d 61 78 50 72 69 6f 72 69 74 79 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ity.<.maxPriority)..............
34a0 20 20 20 20 20 20 20 63 6f 6e 74 69 6e 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .......continue;................
34c0 20 66 6c 6f 61 74 20 70 72 6f 70 20 3d 20 70 72 6f 70 65 72 74 79 28 6c 61 79 6f 75 74 43 6f 6d .float.prop.=.property(layoutCom
34e0 70 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 49 66 20 74 68 69 73 20 6c p);.................//.If.this.l
3500 61 79 6f 75 74 20 70 72 6f 70 65 72 74 79 20 69 73 20 73 65 74 20 74 6f 20 61 20 6e 65 67 61 74 ayout.property.is.set.to.a.negat
3520 69 76 65 20 76 61 6c 75 65 2c 20 69 74 20 6d 65 61 6e 73 20 69 74 20 73 68 6f 75 6c 64 20 62 65 ive.value,.it.means.it.should.be
3540 20 69 67 6e 6f 72 65 64 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 70 72 .ignored..................if.(pr
3560 6f 70 20 3c 20 30 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 op.<.0).....................cont
3580 69 6e 75 65 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 49 66 20 74 68 69 inue;..................//.If.thi
35a0 73 20 6c 61 79 6f 75 74 20 63 6f 6d 70 6f 6e 65 6e 74 20 68 61 73 20 68 69 67 68 65 72 20 70 72 s.layout.component.has.higher.pr
35c0 69 6f 72 69 74 79 20 74 68 61 6e 20 61 6c 6c 20 70 72 65 76 69 6f 75 73 20 6f 6e 65 73 2c 0a 20 iority.than.all.previous.ones,..
35e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 6f 76 65 72 77 72 69 74 65 20 77 69 74 68 ...............//.overwrite.with
3600 20 74 68 69 73 20 6f 6e 65 27 73 20 76 61 6c 75 65 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 .this.one's.value...............
3620 20 20 20 69 66 20 28 70 72 69 6f 72 69 74 79 20 3e 20 6d 61 78 50 72 69 6f 72 69 74 79 29 0a 20 ...if.(priority.>.maxPriority)..
3640 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ...............{................
3660 20 20 20 20 20 6d 69 6e 20 3d 20 70 72 6f 70 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .....min.=.prop;................
3680 20 20 20 20 20 6d 61 78 50 72 69 6f 72 69 74 79 20 3d 20 70 72 69 6f 72 69 74 79 3b 0a 20 20 20 .....maxPriority.=.priority;....
36a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 6f 75 72 63 65 20 3d 20 6c 61 79 6f 75 74 .................source.=.layout
36c0 43 6f 6d 70 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 Comp;.................}.........
36e0 20 20 20 20 20 20 20 20 2f 2f 20 49 66 20 74 68 65 20 6c 61 79 6f 75 74 20 63 6f 6d 70 6f 6e 65 ........//.If.the.layout.compone
3700 6e 74 20 68 61 73 20 74 68 65 20 73 61 6d 65 20 70 72 69 6f 72 69 74 79 20 61 73 20 61 20 70 72 nt.has.the.same.priority.as.a.pr
3720 65 76 69 6f 75 73 6c 79 20 75 73 65 64 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f eviously.used,................./
3740 2f 20 75 73 65 20 74 68 65 20 6c 61 72 67 65 73 74 20 6f 66 20 74 68 65 20 76 61 6c 75 65 73 20 /.use.the.largest.of.the.values.
3760 77 69 74 68 20 74 68 65 20 73 61 6d 65 20 70 72 69 6f 72 69 74 79 2e 0a 20 20 20 20 20 20 20 20 with.the.same.priority..........
3780 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 70 72 6f 70 20 3e 20 6d 69 6e 29 0a 20 20 20 ........else.if.(prop.>.min)....
37a0 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .............{..................
37c0 20 20 20 6d 69 6e 20 3d 20 70 72 6f 70 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ...min.=.prop;..................
37e0 20 20 20 73 6f 75 72 63 65 20 3d 20 6c 61 79 6f 75 74 43 6f 6d 70 3b 0a 20 20 20 20 20 20 20 20 ...source.=.layoutComp;.........
3800 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 ........}.............}.........
3820 20 20 20 20 20 4c 69 73 74 50 6f 6f 6c 3c 43 6f 6d 70 6f 6e 65 6e 74 3e 2e 52 65 6c 65 61 73 65 .....ListPool<Component>.Release
3840 28 63 6f 6d 70 6f 6e 65 6e 74 73 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e (components);.............return
3860 20 6d 69 6e 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 7d 0a 00 00 00 00 00 00 00 00 .min;.........}.....}.}.........
3880 00 00 00 00 00 00 00 00 00 00 00 00 0d 00 00 00 4c 61 79 6f 75 74 55 74 69 6c 69 74 79 00 00 00 ................LayoutUtility...
38a0 0e 00 00 00 55 6e 69 74 79 45 6e 67 69 6e 65 2e 55 49 00 00 ....UnityEngine.UI..