summaryrefslogtreecommitdiff
path: root/Library/Artifacts/62/6208e289d7f863f9f938afb0b3bd9a67
blob: 0883f7273653d4f995149ba0ec229817020ca8f3 (plain)
ofshex dumpascii
0000 00 00 0f 81 00 00 23 70 00 00 00 15 00 00 10 00 00 00 00 00 32 30 31 39 2e 33 2e 36 66 31 00 fe ......#p............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 10 13 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 ................................
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 0f 00 00 00 53 63 72 6f 6c 6c 62 61 72 45 64 69 74 6f 72 00 91 12 00 00 ............ScrollbarEditor.....
10a0 75 73 69 6e 67 20 53 79 73 74 65 6d 2e 43 6f 6c 6c 65 63 74 69 6f 6e 73 2e 47 65 6e 65 72 69 63 using.System.Collections.Generic
10c0 3b 0a 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 55 6e 69 74 79 ;.using.UnityEngine;.using.Unity
10e0 45 6e 67 69 6e 65 2e 55 49 3b 0a 0a 6e 61 6d 65 73 70 61 63 65 20 55 6e 69 74 79 45 64 69 74 6f Engine.UI;..namespace.UnityEdito
1100 72 2e 55 49 0a 7b 0a 20 20 20 20 5b 43 75 73 74 6f 6d 45 64 69 74 6f 72 28 74 79 70 65 6f 66 28 r.UI.{.....[CustomEditor(typeof(
1120 53 63 72 6f 6c 6c 62 61 72 29 2c 20 74 72 75 65 29 5d 0a 20 20 20 20 5b 43 61 6e 45 64 69 74 4d Scrollbar),.true)].....[CanEditM
1140 75 6c 74 69 70 6c 65 4f 62 6a 65 63 74 73 5d 0a 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 ultipleObjects].....///.<summary
1160 3e 0a 20 20 20 20 2f 2f 2f 20 43 75 73 74 6f 6d 20 45 64 69 74 6f 72 20 66 6f 72 20 74 68 65 20 >.....///.Custom.Editor.for.the.
1180 53 63 72 6f 6c 6c 62 61 72 20 43 6f 6d 70 6f 6e 65 6e 74 2e 0a 20 20 20 20 2f 2f 2f 20 45 78 74 Scrollbar.Component......///.Ext
11a0 65 6e 64 20 74 68 69 73 20 63 6c 61 73 73 20 74 6f 20 77 72 69 74 65 20 61 20 63 75 73 74 6f 6d end.this.class.to.write.a.custom
11c0 20 65 64 69 74 6f 72 20 66 6f 72 20 61 20 63 6f 6d 70 6f 6e 65 6e 74 20 64 65 72 69 76 65 64 20 .editor.for.a.component.derived.
11e0 66 72 6f 6d 20 53 63 72 6f 6c 6c 62 61 72 2e 0a 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 from.Scrollbar......///.</summar
1200 79 3e 0a 20 20 20 20 70 75 62 6c 69 63 20 63 6c 61 73 73 20 53 63 72 6f 6c 6c 62 61 72 45 64 69 y>.....public.class.ScrollbarEdi
1220 74 6f 72 20 3a 20 53 65 6c 65 63 74 61 62 6c 65 45 64 69 74 6f 72 0a 20 20 20 20 7b 0a 20 20 20 tor.:.SelectableEditor.....{....
1240 20 20 20 20 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 6d 5f 48 61 6e 64 6c 65 .....SerializedProperty.m_Handle
1260 52 65 63 74 3b 0a 20 20 20 20 20 20 20 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 Rect;.........SerializedProperty
1280 20 6d 5f 44 69 72 65 63 74 69 6f 6e 3b 0a 20 20 20 20 20 20 20 20 53 65 72 69 61 6c 69 7a 65 64 .m_Direction;.........Serialized
12a0 50 72 6f 70 65 72 74 79 20 6d 5f 56 61 6c 75 65 3b 0a 20 20 20 20 20 20 20 20 53 65 72 69 61 6c Property.m_Value;.........Serial
12c0 69 7a 65 64 50 72 6f 70 65 72 74 79 20 6d 5f 53 69 7a 65 3b 0a 20 20 20 20 20 20 20 20 53 65 72 izedProperty.m_Size;.........Ser
12e0 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 6d 5f 4e 75 6d 62 65 72 4f 66 53 74 65 70 73 3b ializedProperty.m_NumberOfSteps;
1300 0a 20 20 20 20 20 20 20 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 6d 5f 4f 6e .........SerializedProperty.m_On
1320 56 61 6c 75 65 43 68 61 6e 67 65 64 3b 0a 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 ValueChanged;..........protected
1340 20 6f 76 65 72 72 69 64 65 20 76 6f 69 64 20 4f 6e 45 6e 61 62 6c 65 28 29 0a 20 20 20 20 20 20 .override.void.OnEnable().......
1360 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 61 73 65 2e 4f 6e 45 6e 61 62 6c 65 28 29 3b ..{.............base.OnEnable();
1380 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 48 61 6e 64 6c 65 52 65 63 74 20 20 20 20 20 20 ..............m_HandleRect......
13a0 20 20 3d 20 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 72 74 ..=.serializedObject.FindPropert
13c0 79 28 22 6d 5f 48 61 6e 64 6c 65 52 65 63 74 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d y("m_HandleRect");.............m
13e0 5f 44 69 72 65 63 74 69 6f 6e 20 20 20 20 20 20 20 20 20 3d 20 73 65 72 69 61 6c 69 7a 65 64 4f _Direction.........=.serializedO
1400 62 6a 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 6d 5f 44 69 72 65 63 74 69 6f 6e 22 bject.FindProperty("m_Direction"
1420 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 56 61 6c 75 65 20 20 20 20 20 20 20 20 20 20 );.............m_Value..........
1440 20 20 20 3d 20 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 72 ...=.serializedObject.FindProper
1460 74 79 28 22 6d 5f 56 61 6c 75 65 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 53 69 7a ty("m_Value");.............m_Siz
1480 65 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3d 20 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 e..............=.serializedObjec
14a0 74 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 6d 5f 53 69 7a 65 22 29 3b 0a 20 20 20 20 20 20 t.FindProperty("m_Size");.......
14c0 20 20 20 20 20 20 6d 5f 4e 75 6d 62 65 72 4f 66 53 74 65 70 73 20 20 20 20 20 3d 20 73 65 72 69 ......m_NumberOfSteps.....=.seri
14e0 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 6d 5f 4e 75 6d alizedObject.FindProperty("m_Num
1500 62 65 72 4f 66 53 74 65 70 73 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 4f 6e 56 61 berOfSteps");.............m_OnVa
1520 6c 75 65 43 68 61 6e 67 65 64 20 20 20 20 3d 20 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 lueChanged....=.serializedObject
1540 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 6d 5f 4f 6e 56 61 6c 75 65 43 68 61 6e 67 65 64 22 .FindProperty("m_OnValueChanged"
1560 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 6f 76 65 );.........}..........public.ove
1580 72 72 69 64 65 20 76 6f 69 64 20 4f 6e 49 6e 73 70 65 63 74 6f 72 47 55 49 28 29 0a 20 20 20 20 rride.void.OnInspectorGUI().....
15a0 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 61 73 65 2e 4f 6e 49 6e 73 70 65 63 74 ....{.............base.OnInspect
15c0 6f 72 47 55 49 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 4c 61 orGUI();.............EditorGUILa
15e0 79 6f 75 74 2e 53 70 61 63 65 28 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 65 72 69 61 yout.Space();..............seria
1600 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 55 70 64 61 74 65 28 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 lizedObject.Update();...........
1620 20 20 20 2f 2f 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 50 72 6f 70 65 72 74 79 46 69 ...//.EditorGUILayout.PropertyFi
1640 65 6c 64 28 6d 5f 48 61 6e 64 6c 65 52 65 63 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 eld(m_HandleRect);.............E
1660 64 69 74 6f 72 47 55 49 2e 42 65 67 69 6e 43 68 61 6e 67 65 43 68 65 63 6b 28 29 3b 0a 20 20 20 ditorGUI.BeginChangeCheck();....
1680 20 20 20 20 20 20 20 20 20 52 65 63 74 54 72 61 6e 73 66 6f 72 6d 20 6e 65 77 52 65 63 74 54 72 .........RectTransform.newRectTr
16a0 61 6e 73 66 6f 72 6d 20 3d 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 4f 62 6a 65 63 74 ansform.=.EditorGUILayout.Object
16c0 46 69 65 6c 64 28 22 48 61 6e 64 6c 65 20 52 65 63 74 22 2c 20 6d 5f 48 61 6e 64 6c 65 52 65 63 Field("Handle.Rect",.m_HandleRec
16e0 74 2e 6f 62 6a 65 63 74 52 65 66 65 72 65 6e 63 65 56 61 6c 75 65 2c 20 74 79 70 65 6f 66 28 52 t.objectReferenceValue,.typeof(R
1700 65 63 74 54 72 61 6e 73 66 6f 72 6d 29 2c 20 74 72 75 65 29 20 61 73 20 52 65 63 74 54 72 61 6e ectTransform),.true).as.RectTran
1720 73 66 6f 72 6d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 45 64 69 74 6f 72 47 55 49 sform;.............if.(EditorGUI
1740 2e 45 6e 64 43 68 61 6e 67 65 43 68 65 63 6b 28 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b .EndChangeCheck()).............{
1760 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 48 61 6e 64 6c 65 20 52 65 63 74 20 .................//.Handle.Rect.
1780 77 69 6c 6c 20 6d 6f 64 69 66 79 20 69 74 73 20 47 61 6d 65 4f 62 6a 65 63 74 20 52 65 63 74 54 will.modify.its.GameObject.RectT
17a0 72 61 6e 73 66 6f 72 6d 20 64 72 69 76 65 6e 42 79 2c 20 73 6f 20 77 65 20 6e 65 65 64 20 74 6f ransform.drivenBy,.so.we.need.to
17c0 20 52 65 63 6f 72 64 20 74 68 65 20 6f 6c 64 20 61 6e 64 20 6e 65 77 20 52 65 63 74 54 72 61 6e .Record.the.old.and.new.RectTran
17e0 73 66 6f 72 6d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4c 69 73 74 3c 4f 62 6a 65 sform..................List<Obje
1800 63 74 3e 20 6d 6f 64 69 66 69 65 64 4f 62 6a 65 63 74 73 20 3d 20 6e 65 77 20 4c 69 73 74 3c 4f ct>.modifiedObjects.=.new.List<O
1820 62 6a 65 63 74 3e 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 6f 64 69 66 69 bject>();.................modifi
1840 65 64 4f 62 6a 65 63 74 73 2e 41 64 64 28 6e 65 77 52 65 63 74 54 72 61 6e 73 66 6f 72 6d 29 3b edObjects.Add(newRectTransform);
1860 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 65 61 63 68 20 28 76 61 72 20 74 61 .................foreach.(var.ta
1880 72 67 65 74 20 69 6e 20 6d 5f 48 61 6e 64 6c 65 52 65 63 74 2e 73 65 72 69 61 6c 69 7a 65 64 4f rget.in.m_HandleRect.serializedO
18a0 62 6a 65 63 74 2e 74 61 72 67 65 74 4f 62 6a 65 63 74 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 bject.targetObjects)............
18c0 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4d 6f 6e 6f 42 .....{.....................MonoB
18e0 65 68 61 76 69 6f 75 72 20 6d 62 20 3d 20 74 61 72 67 65 74 20 61 73 20 4d 6f 6e 6f 42 65 68 61 ehaviour.mb.=.target.as.MonoBeha
1900 76 69 6f 75 72 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d viour;.....................if.(m
1920 62 20 3d 3d 20 6e 75 6c 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 b.==.null)......................
1940 20 20 20 63 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 20 20 ...continue;....................
1960 20 20 6d 6f 64 69 66 69 65 64 4f 62 6a 65 63 74 73 2e 41 64 64 28 6d 62 29 3b 0a 20 20 20 20 20 ..modifiedObjects.Add(mb);......
1980 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 6f 64 69 66 69 65 64 4f 62 6a 65 63 74 73 2e 41 ...............modifiedObjects.A
19a0 64 64 28 6d 62 2e 47 65 74 43 6f 6d 70 6f 6e 65 6e 74 3c 52 65 63 74 54 72 61 6e 73 66 6f 72 6d dd(mb.GetComponent<RectTransform
19c0 3e 28 29 29 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 >());.................}.........
19e0 20 20 20 20 20 20 20 20 55 6e 64 6f 2e 52 65 63 6f 72 64 4f 62 6a 65 63 74 73 28 6d 6f 64 69 66 ........Undo.RecordObjects(modif
1a00 69 65 64 4f 62 6a 65 63 74 73 2e 54 6f 41 72 72 61 79 28 29 2c 20 22 43 68 61 6e 67 65 20 48 61 iedObjects.ToArray(),."Change.Ha
1a20 6e 64 6c 65 20 52 65 63 74 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 48 ndle.Rect");.................m_H
1a40 61 6e 64 6c 65 52 65 63 74 2e 6f 62 6a 65 63 74 52 65 66 65 72 65 6e 63 65 56 61 6c 75 65 20 3d andleRect.objectReferenceValue.=
1a60 20 6e 65 77 52 65 63 74 54 72 61 6e 73 66 6f 72 6d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d .newRectTransform;.............}
1a80 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d 5f 48 61 6e 64 6c 65 52 65 63 74 2e 6f ..............if.(m_HandleRect.o
1aa0 62 6a 65 63 74 52 65 66 65 72 65 6e 63 65 56 61 6c 75 65 20 21 3d 20 6e 75 6c 6c 29 0a 20 20 20 bjectReferenceValue.!=.null)....
1ac0 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 45 64 69 74 6f .........{.................Edito
1ae0 72 47 55 49 2e 42 65 67 69 6e 43 68 61 6e 67 65 43 68 65 63 6b 28 29 3b 0a 20 20 20 20 20 20 20 rGUI.BeginChangeCheck();........
1b00 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 50 72 6f 70 65 72 74 .........EditorGUILayout.Propert
1b20 79 46 69 65 6c 64 28 6d 5f 44 69 72 65 63 74 69 6f 6e 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 yField(m_Direction);............
1b40 20 20 20 20 20 69 66 20 28 45 64 69 74 6f 72 47 55 49 2e 45 6e 64 43 68 61 6e 67 65 43 68 65 63 .....if.(EditorGUI.EndChangeChec
1b60 6b 28 29 29 0a 20 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 k()).................{..........
1b80 20 20 20 20 20 20 20 20 20 20 20 53 63 72 6f 6c 6c 62 61 72 2e 44 69 72 65 63 74 69 6f 6e 20 64 ...........Scrollbar.Direction.d
1ba0 69 72 65 63 74 69 6f 6e 20 3d 20 28 53 63 72 6f 6c 6c 62 61 72 2e 44 69 72 65 63 74 69 6f 6e 29 irection.=.(Scrollbar.Direction)
1bc0 6d 5f 44 69 72 65 63 74 69 6f 6e 2e 65 6e 75 6d 56 61 6c 75 65 49 6e 64 65 78 3b 0a 20 20 20 20 m_Direction.enumValueIndex;.....
1be0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 65 61 63 68 20 28 76 61 72 20 6f 62 6a ................foreach.(var.obj
1c00 20 69 6e 20 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 74 61 72 67 65 74 4f 62 6a 65 63 .in.serializedObject.targetObjec
1c20 74 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 ts).....................{.......
1c40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 53 63 72 6f 6c 6c 62 61 72 20 73 63 72 6f ..................Scrollbar.scro
1c60 6c 6c 62 61 72 20 3d 20 6f 62 6a 20 61 73 20 53 63 72 6f 6c 6c 62 61 72 3b 0a 20 20 20 20 20 20 llbar.=.obj.as.Scrollbar;.......
1c80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 63 72 6f 6c 6c 62 61 72 2e 53 65 74 44 ..................scrollbar.SetD
1ca0 69 72 65 63 74 69 6f 6e 28 64 69 72 65 63 74 69 6f 6e 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 20 irection(direction,.true);......
1cc0 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 20 20 20 20 20 20 20 ...............}................
1ce0 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 4c 61 79 .}..................EditorGUILay
1d00 6f 75 74 2e 50 72 6f 70 65 72 74 79 46 69 65 6c 64 28 6d 5f 56 61 6c 75 65 29 3b 0a 20 20 20 20 out.PropertyField(m_Value);.....
1d20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 50 72 6f 70 ............EditorGUILayout.Prop
1d40 65 72 74 79 46 69 65 6c 64 28 6d 5f 53 69 7a 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ertyField(m_Size);..............
1d60 20 20 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 50 72 6f 70 65 72 74 79 46 69 65 6c 64 ...EditorGUILayout.PropertyField
1d80 28 6d 5f 4e 75 6d 62 65 72 4f 66 53 74 65 70 73 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 (m_NumberOfSteps);..............
1da0 20 20 20 20 62 6f 6f 6c 20 77 61 72 6e 69 6e 67 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 ....bool.warning.=.false;.......
1dc0 20 20 20 20 20 20 20 20 20 20 66 6f 72 65 61 63 68 20 28 76 61 72 20 6f 62 6a 20 69 6e 20 73 65 ..........foreach.(var.obj.in.se
1de0 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 74 61 72 67 65 74 4f 62 6a 65 63 74 73 29 0a 20 20 rializedObject.targetObjects)...
1e00 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 20 ..............{.................
1e20 20 20 20 20 53 63 72 6f 6c 6c 62 61 72 20 73 63 72 6f 6c 6c 62 61 72 20 3d 20 6f 62 6a 20 61 73 ....Scrollbar.scrollbar.=.obj.as
1e40 20 53 63 72 6f 6c 6c 62 61 72 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .Scrollbar;.....................
1e60 53 63 72 6f 6c 6c 62 61 72 2e 44 69 72 65 63 74 69 6f 6e 20 64 69 72 20 3d 20 73 63 72 6f 6c 6c Scrollbar.Direction.dir.=.scroll
1e80 62 61 72 2e 64 69 72 65 63 74 69 6f 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 bar.direction;..................
1ea0 20 20 20 69 66 20 28 64 69 72 20 3d 3d 20 53 63 72 6f 6c 6c 62 61 72 2e 44 69 72 65 63 74 69 6f ...if.(dir.==.Scrollbar.Directio
1ec0 6e 2e 4c 65 66 74 54 6f 52 69 67 68 74 20 7c 7c 20 64 69 72 20 3d 3d 20 53 63 72 6f 6c 6c 62 61 n.LeftToRight.||.dir.==.Scrollba
1ee0 72 2e 44 69 72 65 63 74 69 6f 6e 2e 52 69 67 68 74 54 6f 4c 65 66 74 29 0a 20 20 20 20 20 20 20 r.Direction.RightToLeft)........
1f00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 61 72 6e 69 6e 67 20 3d 20 28 73 63 72 6f .................warning.=.(scro
1f20 6c 6c 62 61 72 2e 6e 61 76 69 67 61 74 69 6f 6e 2e 6d 6f 64 65 20 21 3d 20 4e 61 76 69 67 61 74 llbar.navigation.mode.!=.Navigat
1f40 69 6f 6e 2e 4d 6f 64 65 2e 41 75 74 6f 6d 61 74 69 63 20 26 26 20 28 73 63 72 6f 6c 6c 62 61 72 ion.Mode.Automatic.&&.(scrollbar
1f60 2e 46 69 6e 64 53 65 6c 65 63 74 61 62 6c 65 4f 6e 4c 65 66 74 28 29 20 21 3d 20 6e 75 6c 6c 20 .FindSelectableOnLeft().!=.null.
1f80 7c 7c 20 73 63 72 6f 6c 6c 62 61 72 2e 46 69 6e 64 53 65 6c 65 63 74 61 62 6c 65 4f 6e 52 69 67 ||.scrollbar.FindSelectableOnRig
1fa0 68 74 28 29 20 21 3d 20 6e 75 6c 6c 29 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ht().!=.null));.................
1fc0 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ....else........................
1fe0 20 77 61 72 6e 69 6e 67 20 3d 20 28 73 63 72 6f 6c 6c 62 61 72 2e 6e 61 76 69 67 61 74 69 6f 6e .warning.=.(scrollbar.navigation
2000 2e 6d 6f 64 65 20 21 3d 20 4e 61 76 69 67 61 74 69 6f 6e 2e 4d 6f 64 65 2e 41 75 74 6f 6d 61 74 .mode.!=.Navigation.Mode.Automat
2020 69 63 20 26 26 20 28 73 63 72 6f 6c 6c 62 61 72 2e 46 69 6e 64 53 65 6c 65 63 74 61 62 6c 65 4f ic.&&.(scrollbar.FindSelectableO
2040 6e 44 6f 77 6e 28 29 20 21 3d 20 6e 75 6c 6c 20 7c 7c 20 73 63 72 6f 6c 6c 62 61 72 2e 46 69 6e nDown().!=.null.||.scrollbar.Fin
2060 64 53 65 6c 65 63 74 61 62 6c 65 4f 6e 55 70 28 29 20 21 3d 20 6e 75 6c 6c 29 29 3b 0a 20 20 20 dSelectableOnUp().!=.null));....
2080 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .............}..................
20a0 69 66 20 28 77 61 72 6e 69 6e 67 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 if.(warning)....................
20c0 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 48 65 6c 70 42 6f 78 28 22 54 68 65 20 73 65 .EditorGUILayout.HelpBox("The.se
20e0 6c 65 63 74 65 64 20 73 63 72 6f 6c 6c 62 61 72 20 64 69 72 65 63 74 69 6f 6e 20 63 6f 6e 66 6c lected.scrollbar.direction.confl
2100 69 63 74 73 20 77 69 74 68 20 6e 61 76 69 67 61 74 69 6f 6e 2e 20 4e 6f 74 20 61 6c 6c 20 6e 61 icts.with.navigation..Not.all.na
2120 76 69 67 61 74 69 6f 6e 20 6f 70 74 69 6f 6e 73 20 6d 61 79 20 77 6f 72 6b 2e 22 2c 20 4d 65 73 vigation.options.may.work.",.Mes
2140 73 61 67 65 54 79 70 65 2e 57 61 72 6e 69 6e 67 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 sageType.Warning);..............
2160 20 20 20 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 53 70 61 63 65 28 29 3b 0a 20 20 20 ....EditorGUILayout.Space();....
2180 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 44 72 61 77 20 74 68 65 20 65 76 65 6e 74 20 6e .............//.Draw.the.event.n
21a0 6f 74 69 66 69 63 61 74 69 6f 6e 20 6f 70 74 69 6f 6e 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 otification.options.............
21c0 20 20 20 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 50 72 6f 70 65 72 74 79 46 69 65 6c ....EditorGUILayout.PropertyFiel
21e0 64 28 6d 5f 4f 6e 56 61 6c 75 65 43 68 61 6e 67 65 64 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 d(m_OnValueChanged);............
2200 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 .}.............else.............
2220 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 {.................EditorGUILayou
2240 74 2e 48 65 6c 70 42 6f 78 28 22 53 70 65 63 69 66 79 20 61 20 52 65 63 74 54 72 61 6e 73 66 6f t.HelpBox("Specify.a.RectTransfo
2260 72 6d 20 66 6f 72 20 74 68 65 20 73 63 72 6f 6c 6c 62 61 72 20 68 61 6e 64 6c 65 2e 20 49 74 20 rm.for.the.scrollbar.handle..It.
2280 6d 75 73 74 20 68 61 76 65 20 61 20 70 61 72 65 6e 74 20 52 65 63 74 54 72 61 6e 73 66 6f 72 6d must.have.a.parent.RectTransform
22a0 20 74 68 61 74 20 74 68 65 20 68 61 6e 64 6c 65 20 63 61 6e 20 73 6c 69 64 65 20 77 69 74 68 69 .that.the.handle.can.slide.withi
22c0 6e 2e 22 2c 20 4d 65 73 73 61 67 65 54 79 70 65 2e 49 6e 66 6f 29 3b 0a 20 20 20 20 20 20 20 20 n.",.MessageType.Info);.........
22e0 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a ....}..............serializedObj
2300 65 63 74 2e 41 70 70 6c 79 4d 6f 64 69 66 69 65 64 50 72 6f 70 65 72 74 69 65 73 28 29 3b 0a 20 ect.ApplyModifiedProperties();..
2320 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 00 00 00 00 00 00 00 .......}.....}.}................
2340 00 00 00 00 00 00 00 00 0f 00 00 00 53 63 72 6f 6c 6c 62 61 72 45 64 69 74 6f 72 00 0e 00 00 00 ............ScrollbarEditor.....
2360 55 6e 69 74 79 45 64 69 74 6f 72 2e 55 49 00 00 UnityEditor.UI..