| ofs | hex dump | ascii |
|---|
| 0000 | 00 00 0f 81 00 00 25 1c 00 00 00 15 00 00 10 00 00 00 00 00 32 30 31 39 2e 33 2e 36 66 31 00 fe | ......%.............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 | bc 14 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 0e 00 00 00 53 63 72 6f 6c 6c 42 61 72 43 6c 61 6d 70 00 00 4d 14 00 00 | ............ScrollBarClamp..M... |
| 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 3b 0a 75 73 69 6e 67 20 | using.System.Collections;.using. |
| 10c0 | 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 3b 0a 75 73 69 6e | System.Collections.Generic;.usin |
| 10e0 | 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 45 6e 67 69 6e 65 | g.UnityEngine;.using.UnityEngine |
| 1100 | 2e 55 49 3b 0a 75 73 69 6e 67 20 55 6e 69 74 79 45 6e 67 69 6e 65 2e 54 65 73 74 54 6f 6f 6c 73 | .UI;.using.UnityEngine.TestTools |
| 1120 | 3b 0a 75 73 69 6e 67 20 53 79 73 74 65 6d 2e 49 4f 3b 0a 75 73 69 6e 67 20 53 79 73 74 65 6d 2e | ;.using.System.IO;.using.System. |
| 1140 | 52 65 66 6c 65 63 74 69 6f 6e 3b 0a 75 73 69 6e 67 20 4e 55 6e 69 74 2e 46 72 61 6d 65 77 6f 72 | Reflection;.using.NUnit.Framewor |
| 1160 | 6b 3b 0a 75 73 69 6e 67 20 55 6e 69 74 79 45 6e 67 69 6e 65 2e 45 76 65 6e 74 53 79 73 74 65 6d | k;.using.UnityEngine.EventSystem |
| 1180 | 73 3b 0a 75 73 69 6e 67 20 55 6e 69 74 79 45 64 69 74 6f 72 3b 0a 0a 70 75 62 6c 69 63 20 63 6c | s;.using.UnityEditor;..public.cl |
| 11a0 | 61 73 73 20 53 63 72 6f 6c 6c 42 61 72 43 6c 61 6d 70 20 3a 20 49 50 72 65 62 75 69 6c 64 53 65 | ass.ScrollBarClamp.:.IPrebuildSe |
| 11c0 | 74 75 70 0a 7b 0a 20 20 20 20 2f 2f 20 54 68 69 73 20 74 65 73 74 20 74 65 73 74 73 20 74 68 61 | tup.{.....//.This.test.tests.tha |
| 11e0 | 74 20 73 65 74 74 69 6e 67 20 73 63 72 6f 6c 6c 42 61 72 2e 76 61 6c 75 65 20 77 69 6c 6c 20 6e | t.setting.scrollBar.value.will.n |
| 1200 | 6f 74 20 62 65 20 63 6c 61 6d 70 65 64 20 28 63 61 73 65 20 38 30 32 33 33 30 20 2d 20 53 63 72 | ot.be.clamped.(case.802330.-.Scr |
| 1220 | 6f 6c 6c 62 61 72 20 73 74 6f 70 73 20 76 65 6c 6f 63 69 74 79 20 6f 66 20 27 53 63 72 6f 6c 6c | ollbar.stops.velocity.of.'Scroll |
| 1240 | 20 52 65 63 74 27 20 75 6e 65 78 70 65 63 74 65 64 6c 79 29 0a 20 20 20 20 47 61 6d 65 4f 62 6a | .Rect'.unexpectedly).....GameObj |
| 1260 | 65 63 74 20 6d 5f 50 72 65 66 61 62 52 6f 6f 74 3b 0a 0a 20 20 20 20 63 6f 6e 73 74 20 73 74 72 | ect.m_PrefabRoot;......const.str |
| 1280 | 69 6e 67 20 6b 50 72 65 66 61 62 50 61 74 68 20 3d 20 22 41 73 73 65 74 73 2f 52 65 73 6f 75 72 | ing.kPrefabPath.=."Assets/Resour |
| 12a0 | 63 65 73 2f 53 63 72 6f 6c 6c 42 61 72 43 6c 61 6d 70 50 72 65 66 61 62 2e 70 72 65 66 61 62 22 | ces/ScrollBarClampPrefab.prefab" |
| 12c0 | 3b 0a 0a 20 20 20 20 70 75 62 6c 69 63 20 76 6f 69 64 20 53 65 74 75 70 28 29 0a 20 20 20 20 7b | ;......public.void.Setup().....{ |
| 12e0 | 0a 23 69 66 20 55 4e 49 54 59 5f 45 44 49 54 4f 52 0a 20 20 20 20 20 20 20 20 76 61 72 20 72 6f | .#if.UNITY_EDITOR.........var.ro |
| 1300 | 6f 74 47 4f 20 3d 20 6e 65 77 20 47 61 6d 65 4f 62 6a 65 63 74 28 22 52 6f 6f 74 47 4f 22 29 3b | otGO.=.new.GameObject("RootGO"); |
| 1320 | 0a 20 20 20 20 20 20 20 20 76 61 72 20 72 6f 6f 74 43 61 6e 76 61 73 47 4f 20 3d 20 6e 65 77 20 | .........var.rootCanvasGO.=.new. |
| 1340 | 47 61 6d 65 4f 62 6a 65 63 74 28 22 43 61 6e 76 61 73 22 2c 20 74 79 70 65 6f 66 28 43 61 6e 76 | GameObject("Canvas",.typeof(Canv |
| 1360 | 61 73 29 29 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 63 61 6e 76 61 73 20 3d 20 72 6f 6f 74 43 | as));.........var.canvas.=.rootC |
| 1380 | 61 6e 76 61 73 47 4f 2e 47 65 74 43 6f 6d 70 6f 6e 65 6e 74 3c 43 61 6e 76 61 73 3e 28 29 3b 0a | anvasGO.GetComponent<Canvas>();. |
| 13a0 | 20 20 20 20 20 20 20 20 63 61 6e 76 61 73 2e 72 65 6e 64 65 72 4d 6f 64 65 20 3d 20 52 65 6e 64 | ........canvas.renderMode.=.Rend |
| 13c0 | 65 72 4d 6f 64 65 2e 53 63 72 65 65 6e 53 70 61 63 65 4f 76 65 72 6c 61 79 3b 0a 20 20 20 20 20 | erMode.ScreenSpaceOverlay;...... |
| 13e0 | 20 20 20 72 6f 6f 74 43 61 6e 76 61 73 47 4f 2e 74 72 61 6e 73 66 6f 72 6d 2e 53 65 74 50 61 72 | ...rootCanvasGO.transform.SetPar |
| 1400 | 65 6e 74 28 72 6f 6f 74 47 4f 2e 74 72 61 6e 73 66 6f 72 6d 29 3b 0a 0a 20 20 20 20 20 20 20 20 | ent(rootGO.transform);.......... |
| 1420 | 76 61 72 20 73 63 72 6f 6c 6c 52 65 63 74 47 6f 20 3d 20 6e 65 77 20 47 61 6d 65 4f 62 6a 65 63 | var.scrollRectGo.=.new.GameObjec |
| 1440 | 74 28 22 53 63 72 6f 6c 6c 20 56 69 65 77 22 2c 20 74 79 70 65 6f 66 28 53 63 72 6f 6c 6c 52 65 | t("Scroll.View",.typeof(ScrollRe |
| 1460 | 63 74 29 2c 20 74 79 70 65 6f 66 28 52 65 63 74 4d 61 73 6b 32 44 29 2c 20 74 79 70 65 6f 66 28 | ct),.typeof(RectMask2D),.typeof( |
| 1480 | 52 65 63 74 54 72 61 6e 73 66 6f 72 6d 29 29 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 73 63 72 | RectTransform));.........var.scr |
| 14a0 | 6f 6c 6c 52 65 63 74 54 72 61 6e 73 66 6f 72 6d 20 3d 20 73 63 72 6f 6c 6c 52 65 63 74 47 6f 2e | ollRectTransform.=.scrollRectGo. |
| 14c0 | 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 3e 28 29 3b 0a 20 | GetComponent<RectTransform>();.. |
| 14e0 | 20 20 20 20 20 20 20 73 63 72 6f 6c 6c 52 65 63 74 54 72 61 6e 73 66 6f 72 6d 2e 53 65 74 50 61 | .......scrollRectTransform.SetPa |
| 1500 | 72 65 6e 74 28 72 6f 6f 74 43 61 6e 76 61 73 47 4f 2e 74 72 61 6e 73 66 6f 72 6d 29 3b 0a 20 20 | rent(rootCanvasGO.transform);... |
| 1520 | 20 20 20 20 20 20 73 63 72 6f 6c 6c 52 65 63 74 54 72 61 6e 73 66 6f 72 6d 2e 61 6e 63 68 6f 72 | ......scrollRectTransform.anchor |
| 1540 | 4d 69 6e 20 3d 20 56 65 63 74 6f 72 32 2e 7a 65 72 6f 3b 0a 20 20 20 20 20 20 20 20 73 63 72 6f | Min.=.Vector2.zero;.........scro |
| 1560 | 6c 6c 52 65 63 74 54 72 61 6e 73 66 6f 72 6d 2e 61 6e 63 68 6f 72 4d 61 78 20 3d 20 56 65 63 74 | llRectTransform.anchorMax.=.Vect |
| 1580 | 6f 72 32 2e 6f 6e 65 3b 0a 20 20 20 20 20 20 20 20 73 63 72 6f 6c 6c 52 65 63 74 54 72 61 6e 73 | or2.one;.........scrollRectTrans |
| 15a0 | 66 6f 72 6d 2e 73 69 7a 65 44 65 6c 74 61 20 3d 20 56 65 63 74 6f 72 32 2e 7a 65 72 6f 3b 0a 20 | form.sizeDelta.=.Vector2.zero;.. |
| 15c0 | 20 20 20 20 20 20 20 73 63 72 6f 6c 6c 52 65 63 74 54 72 61 6e 73 66 6f 72 6d 2e 61 6e 63 68 6f | .......scrollRectTransform.ancho |
| 15e0 | 72 65 64 50 6f 73 69 74 69 6f 6e 20 3d 20 56 65 63 74 6f 72 32 2e 7a 65 72 6f 3b 0a 20 20 20 20 | redPosition.=.Vector2.zero;..... |
| 1600 | 20 20 20 20 76 61 72 20 73 63 72 6f 6c 6c 52 65 63 74 20 3d 20 73 63 72 6f 6c 6c 52 65 63 74 47 | ....var.scrollRect.=.scrollRectG |
| 1620 | 6f 2e 47 65 74 43 6f 6d 70 6f 6e 65 6e 74 3c 53 63 72 6f 6c 6c 52 65 63 74 3e 28 29 3b 0a 20 20 | o.GetComponent<ScrollRect>();... |
| 1640 | 20 20 20 20 20 20 73 63 72 6f 6c 6c 52 65 63 74 2e 6d 6f 76 65 6d 65 6e 74 54 79 70 65 20 3d 20 | ......scrollRect.movementType.=. |
| 1660 | 53 63 72 6f 6c 6c 52 65 63 74 2e 4d 6f 76 65 6d 65 6e 74 54 79 70 65 2e 45 6c 61 73 74 69 63 3b | ScrollRect.MovementType.Elastic; |
| 1680 | 0a 0a 20 20 20 20 20 20 20 20 76 61 72 20 73 63 72 6f 6c 6c 62 61 72 47 6f 20 3d 20 6e 65 77 20 | ..........var.scrollbarGo.=.new. |
| 16a0 | 47 61 6d 65 4f 62 6a 65 63 74 28 22 53 63 72 6f 6c 6c 62 61 72 22 2c 20 74 79 70 65 6f 66 28 53 | GameObject("Scrollbar",.typeof(S |
| 16c0 | 63 72 6f 6c 6c 62 61 72 29 2c 20 74 79 70 65 6f 66 28 52 65 63 74 54 72 61 6e 73 66 6f 72 6d 29 | crollbar),.typeof(RectTransform) |
| 16e0 | 29 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 73 63 72 6f 6c 6c 62 61 72 54 72 61 6e 73 66 6f 72 | );.........var.scrollbarTransfor |
| 1700 | 6d 20 3d 20 73 63 72 6f 6c 6c 62 61 72 47 6f 2e 47 65 74 43 6f 6d 70 6f 6e 65 6e 74 3c 52 65 63 | m.=.scrollbarGo.GetComponent<Rec |
| 1720 | 74 54 72 61 6e 73 66 6f 72 6d 3e 28 29 3b 0a 20 20 20 20 20 20 20 20 73 63 72 6f 6c 6c 62 61 72 | tTransform>();.........scrollbar |
| 1740 | 54 72 61 6e 73 66 6f 72 6d 2e 53 65 74 50 61 72 65 6e 74 28 73 63 72 6f 6c 6c 52 65 63 74 54 72 | Transform.SetParent(scrollRectTr |
| 1760 | 61 6e 73 66 6f 72 6d 29 3b 0a 20 20 20 20 20 20 20 20 73 63 72 6f 6c 6c 62 61 72 54 72 61 6e 73 | ansform);.........scrollbarTrans |
| 1780 | 66 6f 72 6d 2e 61 6e 63 68 6f 72 4d 69 6e 20 3d 20 6e 65 77 20 56 65 63 74 6f 72 32 28 31 2c 20 | form.anchorMin.=.new.Vector2(1,. |
| 17a0 | 30 29 3b 0a 20 20 20 20 20 20 20 20 73 63 72 6f 6c 6c 62 61 72 54 72 61 6e 73 66 6f 72 6d 2e 61 | 0);.........scrollbarTransform.a |
| 17c0 | 6e 63 68 6f 72 4d 61 78 20 3d 20 6e 65 77 20 56 65 63 74 6f 72 32 28 31 2c 20 31 29 3b 0a 20 20 | nchorMax.=.new.Vector2(1,.1);... |
| 17e0 | 20 20 20 20 20 20 73 63 72 6f 6c 6c 62 61 72 54 72 61 6e 73 66 6f 72 6d 2e 61 6e 63 68 6f 72 65 | ......scrollbarTransform.anchore |
| 1800 | 64 50 6f 73 69 74 69 6f 6e 20 3d 20 56 65 63 74 6f 72 32 2e 7a 65 72 6f 3b 0a 20 20 20 20 20 20 | dPosition.=.Vector2.zero;....... |
| 1820 | 20 20 73 63 72 6f 6c 6c 62 61 72 54 72 61 6e 73 66 6f 72 6d 2e 70 69 76 6f 74 20 3d 20 6e 65 77 | ..scrollbarTransform.pivot.=.new |
| 1840 | 20 56 65 63 74 6f 72 32 28 31 2c 20 30 2e 35 66 29 3b 0a 20 20 20 20 20 20 20 20 73 63 72 6f 6c | .Vector2(1,.0.5f);.........scrol |
| 1860 | 6c 62 61 72 54 72 61 6e 73 66 6f 72 6d 2e 73 69 7a 65 44 65 6c 74 61 20 3d 20 6e 65 77 20 56 65 | lbarTransform.sizeDelta.=.new.Ve |
| 1880 | 63 74 6f 72 32 28 32 30 2c 20 30 29 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 73 63 72 6f 6c 6c | ctor2(20,.0);.........var.scroll |
| 18a0 | 62 61 72 20 3d 20 73 63 72 6f 6c 6c 62 61 72 47 6f 2e 47 65 74 43 6f 6d 70 6f 6e 65 6e 74 3c 53 | bar.=.scrollbarGo.GetComponent<S |
| 18c0 | 63 72 6f 6c 6c 62 61 72 3e 28 29 3b 0a 0a 20 20 20 20 20 20 20 20 73 63 72 6f 6c 6c 52 65 63 74 | crollbar>();..........scrollRect |
| 18e0 | 2e 76 65 72 74 69 63 61 6c 53 63 72 6f 6c 6c 62 61 72 20 3d 20 73 63 72 6f 6c 6c 62 61 72 3b 0a | .verticalScrollbar.=.scrollbar;. |
| 1900 | 0a 20 20 20 20 20 20 20 20 76 61 72 20 63 6f 6e 74 65 6e 74 47 6f 20 3d 20 6e 65 77 20 47 61 6d | .........var.contentGo.=.new.Gam |
| 1920 | 65 4f 62 6a 65 63 74 28 22 43 6f 6e 74 65 6e 74 22 2c 20 74 79 70 65 6f 66 28 56 65 72 74 69 63 | eObject("Content",.typeof(Vertic |
| 1940 | 61 6c 4c 61 79 6f 75 74 47 72 6f 75 70 29 2c 20 74 79 70 65 6f 66 28 52 65 63 74 54 72 61 6e 73 | alLayoutGroup),.typeof(RectTrans |
| 1960 | 66 6f 72 6d 29 29 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 63 6f 6e 74 65 6e 74 54 72 61 6e 73 | form));.........var.contentTrans |
| 1980 | 66 6f 72 6d 20 3d 20 63 6f 6e 74 65 6e 74 47 6f 2e 47 65 74 43 6f 6d 70 6f 6e 65 6e 74 3c 52 65 | form.=.contentGo.GetComponent<Re |
| 19a0 | 63 74 54 72 61 6e 73 66 6f 72 6d 3e 28 29 3b 0a 20 20 20 20 20 20 20 20 63 6f 6e 74 65 6e 74 54 | ctTransform>();.........contentT |
| 19c0 | 72 61 6e 73 66 6f 72 6d 2e 53 65 74 50 61 72 65 6e 74 28 73 63 72 6f 6c 6c 52 65 63 74 54 72 61 | ransform.SetParent(scrollRectTra |
| 19e0 | 6e 73 66 6f 72 6d 29 3b 0a 20 20 20 20 20 20 20 20 63 6f 6e 74 65 6e 74 54 72 61 6e 73 66 6f 72 | nsform);.........contentTransfor |
| 1a00 | 6d 2e 61 6e 63 68 6f 72 4d 69 6e 20 3d 20 6e 65 77 20 56 65 63 74 6f 72 32 28 30 2c 20 31 29 3b | m.anchorMin.=.new.Vector2(0,.1); |
| 1a20 | 0a 20 20 20 20 20 20 20 20 63 6f 6e 74 65 6e 74 54 72 61 6e 73 66 6f 72 6d 2e 61 6e 63 68 6f 72 | .........contentTransform.anchor |
| 1a40 | 4d 61 78 20 3d 20 6e 65 77 20 56 65 63 74 6f 72 32 28 31 2c 20 31 29 3b 0a 20 20 20 20 20 20 20 | Max.=.new.Vector2(1,.1);........ |
| 1a60 | 20 63 6f 6e 74 65 6e 74 54 72 61 6e 73 66 6f 72 6d 2e 61 6e 63 68 6f 72 65 64 50 6f 73 69 74 69 | .contentTransform.anchoredPositi |
| 1a80 | 6f 6e 20 3d 20 56 65 63 74 6f 72 32 2e 7a 65 72 6f 3b 0a 20 20 20 20 20 20 20 20 63 6f 6e 74 65 | on.=.Vector2.zero;.........conte |
| 1aa0 | 6e 74 54 72 61 6e 73 66 6f 72 6d 2e 70 69 76 6f 74 20 3d 20 6e 65 77 20 56 65 63 74 6f 72 32 28 | ntTransform.pivot.=.new.Vector2( |
| 1ac0 | 30 2e 35 66 2c 20 31 29 3b 0a 20 20 20 20 20 20 20 20 63 6f 6e 74 65 6e 74 54 72 61 6e 73 66 6f | 0.5f,.1);.........contentTransfo |
| 1ae0 | 72 6d 2e 73 69 7a 65 44 65 6c 74 61 20 3d 20 6e 65 77 20 56 65 63 74 6f 72 32 28 30 2c 20 31 31 | rm.sizeDelta.=.new.Vector2(0,.11 |
| 1b00 | 33 35 29 3b 0a 0a 20 20 20 20 20 20 20 20 73 63 72 6f 6c 6c 52 65 63 74 2e 63 6f 6e 74 65 6e 74 | 35);..........scrollRect.content |
| 1b20 | 20 3d 20 63 6f 6e 74 65 6e 74 54 72 61 6e 73 66 6f 72 6d 3b 0a 0a 20 20 20 20 20 20 20 20 76 61 | .=.contentTransform;..........va |
| 1b40 | 72 20 6c 61 79 6f 75 74 47 72 6f 75 70 20 3d 20 63 6f 6e 74 65 6e 74 47 6f 2e 47 65 74 43 6f 6d | r.layoutGroup.=.contentGo.GetCom |
| 1b60 | 70 6f 6e 65 6e 74 3c 56 65 72 74 69 63 61 6c 4c 61 79 6f 75 74 47 72 6f 75 70 3e 28 29 3b 0a 20 | ponent<VerticalLayoutGroup>();.. |
| 1b80 | 20 20 20 20 20 20 20 6c 61 79 6f 75 74 47 72 6f 75 70 2e 70 61 64 64 69 6e 67 20 3d 20 6e 65 77 | .......layoutGroup.padding.=.new |
| 1ba0 | 20 52 65 63 74 4f 66 66 73 65 74 28 31 30 2c 20 31 30 2c 20 30 2c 20 30 29 3b 0a 20 20 20 20 20 | .RectOffset(10,.10,.0,.0);...... |
| 1bc0 | 20 20 20 6c 61 79 6f 75 74 47 72 6f 75 70 2e 63 68 69 6c 64 41 6c 69 67 6e 6d 65 6e 74 20 3d 20 | ...layoutGroup.childAlignment.=. |
| 1be0 | 54 65 78 74 41 6e 63 68 6f 72 2e 55 70 70 65 72 4c 65 66 74 3b 0a 20 20 20 20 20 20 20 20 6c 61 | TextAnchor.UpperLeft;.........la |
| 1c00 | 79 6f 75 74 47 72 6f 75 70 2e 63 68 69 6c 64 43 6f 6e 74 72 6f 6c 48 65 69 67 68 74 20 3d 20 74 | youtGroup.childControlHeight.=.t |
| 1c20 | 72 75 65 3b 0a 20 20 20 20 20 20 20 20 6c 61 79 6f 75 74 47 72 6f 75 70 2e 63 68 69 6c 64 43 6f | rue;.........layoutGroup.childCo |
| 1c40 | 6e 74 72 6f 6c 57 69 64 74 68 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 6c 61 79 6f 75 | ntrolWidth.=.true;.........layou |
| 1c60 | 74 47 72 6f 75 70 2e 63 68 69 6c 64 46 6f 72 63 65 45 78 70 61 6e 64 48 65 69 67 68 74 20 3d 20 | tGroup.childForceExpandHeight.=. |
| 1c80 | 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 6c 61 79 6f 75 74 47 72 6f 75 70 2e 63 68 69 6c 64 | false;.........layoutGroup.child |
| 1ca0 | 46 6f 72 63 65 45 78 70 61 6e 64 57 69 64 74 68 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 20 | ForceExpandWidth.=.false;....... |
| 1cc0 | 20 20 20 66 6f 72 20 28 69 6e 74 20 69 20 3d 20 30 3b 20 69 20 3c 20 32 30 3b 20 69 2b 2b 29 0a | ...for.(int.i.=.0;.i.<.20;.i++). |
| 1ce0 | 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 69 74 65 6d 20 3d | ........{.............var.item.= |
| 1d00 | 20 6e 65 77 20 47 61 6d 65 4f 62 6a 65 63 74 28 22 49 74 65 6d 22 20 2b 20 69 2c 20 74 79 70 65 | .new.GameObject("Item".+.i,.type |
| 1d20 | 6f 66 28 52 65 63 74 54 72 61 6e 73 66 6f 72 6d 29 2c 20 74 79 70 65 6f 66 28 4c 61 79 6f 75 74 | of(RectTransform),.typeof(Layout |
| 1d40 | 45 6c 65 6d 65 6e 74 29 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 69 74 65 6d 54 | Element));.............var.itemT |
| 1d60 | 72 61 6e 73 66 6f 72 6d 20 3d 20 69 74 65 6d 2e 47 65 74 43 6f 6d 70 6f 6e 65 6e 74 3c 52 65 63 | ransform.=.item.GetComponent<Rec |
| 1d80 | 74 54 72 61 6e 73 66 6f 72 6d 3e 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 74 65 6d 54 | tTransform>();.............itemT |
| 1da0 | 72 61 6e 73 66 6f 72 6d 2e 70 69 76 6f 74 20 3d 20 6e 65 77 20 56 65 63 74 6f 72 32 28 30 2e 35 | ransform.pivot.=.new.Vector2(0.5 |
| 1dc0 | 66 2c 20 31 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 74 65 6d 54 72 61 6e 73 66 6f 72 6d | f,.1);.............itemTransform |
| 1de0 | 2e 53 65 74 50 61 72 65 6e 74 28 63 6f 6e 74 65 6e 74 54 72 61 6e 73 66 6f 72 6d 29 3b 0a 20 20 | .SetParent(contentTransform);... |
| 1e00 | 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6c 61 79 6f 75 74 45 6c 65 6d 65 6e 74 20 3d 20 69 74 | ..........var.layoutElement.=.it |
| 1e20 | 65 6d 2e 47 65 74 43 6f 6d 70 6f 6e 65 6e 74 3c 4c 61 79 6f 75 74 45 6c 65 6d 65 6e 74 3e 28 29 | em.GetComponent<LayoutElement>() |
| 1e40 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 79 6f 75 74 45 6c 65 6d 65 6e 74 2e 6d 69 6e 57 | ;.............layoutElement.minW |
| 1e60 | 69 64 74 68 20 3d 20 36 32 30 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 79 6f 75 74 45 6c | idth.=.620;.............layoutEl |
| 1e80 | 65 6d 65 6e 74 2e 6d 69 6e 48 65 69 67 68 74 20 3d 20 31 30 30 3b 0a 20 20 20 20 20 20 20 20 20 | ement.minHeight.=.100;.......... |
| 1ea0 | 20 20 20 6c 61 79 6f 75 74 45 6c 65 6d 65 6e 74 2e 70 72 65 66 65 72 72 65 64 57 69 64 74 68 20 | ...layoutElement.preferredWidth. |
| 1ec0 | 3d 20 36 32 30 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 79 6f 75 74 45 6c 65 6d 65 6e 74 | =.620;.............layoutElement |
| 1ee0 | 2e 70 72 65 66 65 72 72 65 64 48 65 69 67 68 74 20 3d 20 31 30 30 3b 0a 20 20 20 20 20 20 20 20 | .preferredHeight.=.100;......... |
| 1f00 | 7d 0a 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 44 69 72 65 63 74 6f 72 79 2e 45 78 69 73 74 73 | }..........if.(!Directory.Exists |
| 1f20 | 28 22 41 73 73 65 74 73 2f 52 65 73 6f 75 72 63 65 73 2f 22 29 29 0a 20 20 20 20 20 20 20 20 20 | ("Assets/Resources/")).......... |
| 1f40 | 20 20 20 44 69 72 65 63 74 6f 72 79 2e 43 72 65 61 74 65 44 69 72 65 63 74 6f 72 79 28 22 41 73 | ...Directory.CreateDirectory("As |
| 1f60 | 73 65 74 73 2f 52 65 73 6f 75 72 63 65 73 2f 22 29 3b 0a 0a 20 20 20 20 20 20 20 20 55 6e 69 74 | sets/Resources/");..........Unit |
| 1f80 | 79 45 64 69 74 6f 72 2e 50 72 65 66 61 62 55 74 69 6c 69 74 79 2e 53 61 76 65 41 73 50 72 65 66 | yEditor.PrefabUtility.SaveAsPref |
| 1fa0 | 61 62 41 73 73 65 74 28 72 6f 6f 74 47 4f 2c 20 6b 50 72 65 66 61 62 50 61 74 68 29 3b 0a 20 20 | abAsset(rootGO,.kPrefabPath);... |
| 1fc0 | 20 20 20 20 20 20 47 61 6d 65 4f 62 6a 65 63 74 2e 44 65 73 74 72 6f 79 49 6d 6d 65 64 69 61 74 | ......GameObject.DestroyImmediat |
| 1fe0 | 65 28 72 6f 6f 74 47 4f 29 3b 0a 23 65 6e 64 69 66 0a 20 20 20 20 7d 0a 0a 20 20 20 20 5b 53 65 | e(rootGO);.#endif.....}......[Se |
| 2000 | 74 55 70 5d 0a 20 20 20 20 70 75 62 6c 69 63 20 76 6f 69 64 20 54 65 73 74 53 65 74 75 70 28 29 | tUp].....public.void.TestSetup() |
| 2020 | 0a 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 6d 5f 50 72 65 66 61 62 52 6f 6f 74 20 3d 20 4f 62 | .....{.........m_PrefabRoot.=.Ob |
| 2040 | 6a 65 63 74 2e 49 6e 73 74 61 6e 74 69 61 74 65 28 52 65 73 6f 75 72 63 65 73 2e 4c 6f 61 64 28 | ject.Instantiate(Resources.Load( |
| 2060 | 22 53 63 72 6f 6c 6c 42 61 72 43 6c 61 6d 70 50 72 65 66 61 62 22 29 29 20 61 73 20 47 61 6d 65 | "ScrollBarClampPrefab")).as.Game |
| 2080 | 4f 62 6a 65 63 74 3b 0a 20 20 20 20 20 20 20 20 6e 65 77 20 47 61 6d 65 4f 62 6a 65 63 74 28 22 | Object;.........new.GameObject(" |
| 20a0 | 43 61 6d 65 72 61 22 2c 20 74 79 70 65 6f 66 28 43 61 6d 65 72 61 29 29 3b 0a 20 20 20 20 20 20 | Camera",.typeof(Camera));....... |
| 20c0 | 20 20 43 61 6e 76 61 73 2e 46 6f 72 63 65 55 70 64 61 74 65 43 61 6e 76 61 73 65 73 28 29 3b 0a | ..Canvas.ForceUpdateCanvases();. |
| 20e0 | 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 74 65 73 74 73 20 74 68 61 74 20 73 65 74 74 69 6e 67 20 | ....}......//tests.that.setting. |
| 2100 | 74 68 65 20 73 63 72 6f 6c 6c 62 61 72 20 76 61 6c 75 65 20 77 69 6c 6c 20 6e 6f 74 20 62 65 20 | the.scrollbar.value.will.not.be. |
| 2120 | 63 6c 61 6d 70 65 64 2c 20 62 75 74 20 74 68 65 20 70 72 69 76 61 74 65 20 73 63 72 6f 6c 6c 62 | clamped,.but.the.private.scrollb |
| 2140 | 61 72 20 66 75 6e 63 74 69 6f 6e 73 20 77 69 6c 6c 20 62 65 20 63 6c 61 6d 70 65 64 0a 20 20 20 | ar.functions.will.be.clamped.... |
| 2160 | 20 5b 54 65 73 74 5d 0a 20 20 20 20 70 75 62 6c 69 63 20 76 6f 69 64 20 53 63 72 6f 6c 6c 62 61 | .[Test].....public.void.Scrollba |
| 2180 | 72 5f 63 6c 61 6d 70 28 29 0a 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 73 63 72 6f | r_clamp().....{.........var.scro |
| 21a0 | 6c 6c 42 61 72 20 3d 20 6d 5f 50 72 65 66 61 62 52 6f 6f 74 2e 47 65 74 43 6f 6d 70 6f 6e 65 6e | llBar.=.m_PrefabRoot.GetComponen |
| 21c0 | 74 49 6e 43 68 69 6c 64 72 65 6e 3c 53 63 72 6f 6c 6c 62 61 72 3e 28 29 3b 0a 20 20 20 20 20 20 | tInChildren<Scrollbar>();....... |
| 21e0 | 20 20 73 63 72 6f 6c 6c 42 61 72 2e 76 61 6c 75 65 20 3d 20 31 2e 35 66 3b 0a 20 20 20 20 20 20 | ..scrollBar.value.=.1.5f;....... |
| 2200 | 20 20 41 73 73 65 72 74 2e 47 72 65 61 74 65 72 28 73 63 72 6f 6c 6c 42 61 72 2e 76 61 6c 75 65 | ..Assert.Greater(scrollBar.value |
| 2220 | 2c 20 31 66 29 3b 0a 20 20 20 20 20 20 20 20 73 63 72 6f 6c 6c 42 61 72 2e 76 61 6c 75 65 20 3d | ,.1f);.........scrollBar.value.= |
| 2240 | 20 2d 30 2e 35 66 3b 0a 20 20 20 20 20 20 20 20 41 73 73 65 72 74 2e 4c 65 73 73 28 73 63 72 6f | .-0.5f;.........Assert.Less(scro |
| 2260 | 6c 6c 42 61 72 2e 76 61 6c 75 65 2c 20 30 66 29 3b 0a 20 20 20 20 20 20 20 20 4d 65 74 68 6f 64 | llBar.value,.0f);.........Method |
| 2280 | 49 6e 66 6f 20 6d 65 74 68 6f 64 20 3d 20 74 79 70 65 6f 66 28 53 63 72 6f 6c 6c 62 61 72 29 2e | Info.method.=.typeof(Scrollbar). |
| 22a0 | 47 65 74 4d 65 74 68 6f 64 28 22 44 6f 55 70 64 61 74 65 44 72 61 67 22 2c 20 42 69 6e 64 69 6e | GetMethod("DoUpdateDrag",.Bindin |
| 22c0 | 67 46 6c 61 67 73 2e 4e 6f 6e 50 75 62 6c 69 63 20 7c 20 42 69 6e 64 69 6e 67 46 6c 61 67 73 2e | gFlags.NonPublic.|.BindingFlags. |
| 22e0 | 49 6e 73 74 61 6e 63 65 29 3b 0a 20 20 20 20 20 20 20 20 6d 65 74 68 6f 64 2e 49 6e 76 6f 6b 65 | Instance);.........method.Invoke |
| 2300 | 28 73 63 72 6f 6c 6c 42 61 72 2c 20 6e 65 77 20 6f 62 6a 65 63 74 5b 5d 20 7b 20 6e 65 77 20 56 | (scrollBar,.new.object[].{.new.V |
| 2320 | 65 63 74 6f 72 32 28 31 2e 35 66 2c 20 31 2e 35 66 29 2c 20 31 66 20 7d 29 3b 0a 20 20 20 20 20 | ector2(1.5f,.1.5f),.1f.});...... |
| 2340 | 20 20 20 41 73 73 65 72 74 2e 4c 65 73 73 4f 72 45 71 75 61 6c 28 73 63 72 6f 6c 6c 42 61 72 2e | ...Assert.LessOrEqual(scrollBar. |
| 2360 | 76 61 6c 75 65 2c 20 31 66 29 3b 0a 20 20 20 20 20 20 20 20 6d 65 74 68 6f 64 2e 49 6e 76 6f 6b | value,.1f);.........method.Invok |
| 2380 | 65 28 73 63 72 6f 6c 6c 42 61 72 2c 20 6e 65 77 20 6f 62 6a 65 63 74 5b 5d 20 7b 20 6e 65 77 20 | e(scrollBar,.new.object[].{.new. |
| 23a0 | 56 65 63 74 6f 72 32 28 2d 30 2e 35 66 2c 20 2d 30 2e 35 66 29 2c 20 31 66 20 7d 29 3b 0a 20 20 | Vector2(-0.5f,.-0.5f),.1f.});... |
| 23c0 | 20 20 20 20 20 20 41 73 73 65 72 74 2e 47 72 65 61 74 65 72 4f 72 45 71 75 61 6c 28 73 63 72 6f | ......Assert.GreaterOrEqual(scro |
| 23e0 | 6c 6c 42 61 72 2e 76 61 6c 75 65 2c 20 30 66 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 5b 54 65 | llBar.value,.0f);.....}......[Te |
| 2400 | 61 72 44 6f 77 6e 5d 0a 20 20 20 20 70 75 62 6c 69 63 20 76 6f 69 64 20 54 65 61 72 44 6f 77 6e | arDown].....public.void.TearDown |
| 2420 | 28 29 0a 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 4f 62 6a 65 63 74 2e 44 65 73 74 72 6f 79 49 | ().....{.........Object.DestroyI |
| 2440 | 6d 6d 65 64 69 61 74 65 28 6d 5f 50 72 65 66 61 62 52 6f 6f 74 29 3b 0a 20 20 20 20 7d 0a 0a 20 | mmediate(m_PrefabRoot);.....}... |
| 2460 | 20 20 20 5b 4f 6e 65 54 69 6d 65 54 65 61 72 44 6f 77 6e 5d 0a 20 20 20 20 70 75 62 6c 69 63 20 | ...[OneTimeTearDown].....public. |
| 2480 | 76 6f 69 64 20 4f 6e 65 54 69 6d 65 54 65 61 72 44 6f 77 6e 28 29 0a 20 20 20 20 7b 0a 23 69 66 | void.OneTimeTearDown().....{.#if |
| 24a0 | 20 55 4e 49 54 59 5f 45 44 49 54 4f 52 0a 20 20 20 20 20 20 20 20 41 73 73 65 74 44 61 74 61 62 | .UNITY_EDITOR.........AssetDatab |
| 24c0 | 61 73 65 2e 44 65 6c 65 74 65 41 73 73 65 74 28 6b 50 72 65 66 61 62 50 61 74 68 29 3b 0a 23 65 | ase.DeleteAsset(kPrefabPath);.#e |
| 24e0 | 6e 64 69 66 0a 20 20 20 20 7d 0a 7d 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ndif.....}.}.................... |
| 2500 | 00 00 00 00 0e 00 00 00 53 63 72 6f 6c 6c 42 61 72 43 6c 61 6d 70 00 00 00 00 00 00 | ........ScrollBarClamp...... |