| ofs | hex dump | ascii |
|---|
| 0000 | 00 00 0f 81 00 00 42 c4 00 00 00 15 00 00 10 00 00 00 00 00 32 30 31 39 2e 33 2e 36 66 31 00 fe | ......B.............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 | 64 32 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 | d2.............................. |
| 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 14 00 00 00 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 54 72 65 65 56 69 65 77 | ............InputControlTreeView |
| 10a0 | cd 31 00 00 23 69 66 20 55 4e 49 54 59 5f 45 44 49 54 4f 52 0d 0a 75 73 69 6e 67 20 53 79 73 74 | .1..#if.UNITY_EDITOR..using.Syst |
| 10c0 | 65 6d 3b 0d 0a 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 | em;..using.System.Collections.Ge |
| 10e0 | 6e 65 72 69 63 3b 0d 0a 75 73 69 6e 67 20 53 79 73 74 65 6d 2e 4c 69 6e 71 3b 0d 0a 75 73 69 6e | neric;..using.System.Linq;..usin |
| 1100 | 67 20 55 6e 69 74 79 45 64 69 74 6f 72 2e 49 4d 47 55 49 2e 43 6f 6e 74 72 6f 6c 73 3b 0d 0a 75 | g.UnityEditor.IMGUI.Controls;..u |
| 1120 | 73 69 6e 67 20 55 6e 69 74 79 45 6e 67 69 6e 65 2e 50 72 6f 66 69 6c 69 6e 67 3b 0d 0a 0d 0a 2f | sing.UnityEngine.Profiling;..../ |
| 1140 | 2f 2f 2f 54 4f 44 4f 3a 20 6d 61 6b 65 20 63 6f 6e 74 72 6f 6c 20 76 61 6c 75 65 73 20 65 64 69 | ///TODO:.make.control.values.edi |
| 1160 | 74 61 62 6c 65 20 28 63 72 65 61 74 65 20 73 74 61 74 65 20 65 76 65 6e 74 73 20 66 72 6f 6d 20 | table.(create.state.events.from. |
| 1180 | 55 49 20 61 6e 64 20 70 75 6d 70 20 74 68 65 6d 20 69 6e 74 6f 20 74 68 65 20 73 79 73 74 65 6d | UI.and.pump.them.into.the.system |
| 11a0 | 29 0d 0a 0d 0a 2f 2f 2f 2f 54 4f 44 4f 3a 20 73 68 6f 77 20 70 72 6f 63 65 73 73 6f 72 73 20 61 | )....////TODO:.show.processors.a |
| 11c0 | 74 74 61 63 68 65 64 20 74 6f 20 63 6f 6e 74 72 6f 6c 73 0d 0a 0d 0a 2f 2f 2f 2f 54 4f 44 4f 3a | ttached.to.controls....////TODO: |
| 11e0 | 20 6d 61 6b 65 20 63 6f 6e 74 72 6f 6c 73 20 74 68 61 74 20 68 61 76 65 20 64 69 66 66 65 72 65 | .make.controls.that.have.differe |
| 1200 | 6e 74 20 60 76 61 6c 75 65 60 20 61 6e 64 20 60 70 72 65 76 69 6f 75 73 60 20 69 6e 20 62 6f 6c | nt.`value`.and.`previous`.in.bol |
| 1220 | 64 0d 0a 0d 0a 6e 61 6d 65 73 70 61 63 65 20 55 6e 69 74 79 45 6e 67 69 6e 65 2e 49 6e 70 75 74 | d....namespace.UnityEngine.Input |
| 1240 | 53 79 73 74 65 6d 2e 45 64 69 74 6f 72 0d 0a 7b 0d 0a 20 20 20 20 2f 2f 20 4d 75 6c 74 69 2d 63 | System.Editor..{......//.Multi-c |
| 1260 | 6f 6c 75 6d 6e 20 54 72 65 65 56 69 65 77 20 74 68 61 74 20 73 68 6f 77 73 20 63 6f 6e 74 72 6f | olumn.TreeView.that.shows.contro |
| 1280 | 6c 20 74 72 65 65 20 6f 66 20 64 65 76 69 63 65 2e 0d 0a 20 20 20 20 69 6e 74 65 72 6e 61 6c 20 | l.tree.of.device.......internal. |
| 12a0 | 63 6c 61 73 73 20 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 54 72 65 65 56 69 65 77 20 3a 20 54 72 65 | class.InputControlTreeView.:.Tre |
| 12c0 | 65 56 69 65 77 0d 0a 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 20 49 66 20 74 68 69 73 | eView......{..........//.If.this |
| 12e0 | 20 69 73 20 73 65 74 2c 20 74 68 65 20 63 6f 6e 74 72 6f 6c 73 20 77 6f 6e 27 74 20 64 69 73 70 | .is.set,.the.controls.won't.disp |
| 1300 | 6c 61 79 20 74 68 65 69 72 20 63 75 72 72 65 6e 74 20 76 61 6c 75 65 20 62 75 74 20 77 65 27 6c | lay.their.current.value.but.we'l |
| 1320 | 6c 0d 0a 20 20 20 20 20 20 20 20 2f 2f 20 73 68 6f 77 20 74 68 65 69 72 20 73 74 61 74 65 20 64 | l..........//.show.their.state.d |
| 1340 | 61 74 61 20 66 72 6f 6d 20 74 68 69 73 20 62 75 66 66 65 72 20 69 6e 73 74 65 61 64 2e 0d 0a 20 | ata.from.this.buffer.instead.... |
| 1360 | 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 62 79 74 65 5b 5d 20 73 74 61 74 65 42 75 66 66 65 72 | .......public.byte[].stateBuffer |
| 1380 | 3b 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 62 79 74 65 5b 5d 5b 5d 20 6d 75 6c 74 69 | ;..........public.byte[][].multi |
| 13a0 | 70 6c 65 53 74 61 74 65 42 75 66 66 65 72 73 3b 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 | pleStateBuffers;..........public |
| 13c0 | 20 62 6f 6f 6c 20 73 68 6f 77 44 69 66 66 65 72 65 6e 74 4f 6e 6c 79 3b 0d 0a 0d 0a 20 20 20 20 | .bool.showDifferentOnly;........ |
| 13e0 | 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 54 72 | ....public.static.InputControlTr |
| 1400 | 65 65 56 69 65 77 20 43 72 65 61 74 65 28 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 20 72 6f 6f 74 43 | eeView.Create(InputControl.rootC |
| 1420 | 6f 6e 74 72 6f 6c 2c 20 69 6e 74 20 6e 75 6d 56 61 6c 75 65 43 6f 6c 75 6d 6e 73 2c 20 72 65 66 | ontrol,.int.numValueColumns,.ref |
| 1440 | 20 54 72 65 65 56 69 65 77 53 74 61 74 65 20 74 72 65 65 53 74 61 74 65 2c 20 72 65 66 20 4d 75 | .TreeViewState.treeState,.ref.Mu |
| 1460 | 6c 74 69 43 6f 6c 75 6d 6e 48 65 61 64 65 72 53 74 61 74 65 20 68 65 61 64 65 72 53 74 61 74 65 | ltiColumnHeaderState.headerState |
| 1480 | 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 72 | )..........{..............if.(tr |
| 14a0 | 65 65 53 74 61 74 65 20 3d 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | eeState.==.null)................ |
| 14c0 | 20 20 74 72 65 65 53 74 61 74 65 20 3d 20 6e 65 77 20 54 72 65 65 56 69 65 77 53 74 61 74 65 28 | ..treeState.=.new.TreeViewState( |
| 14e0 | 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6e 65 77 48 65 61 64 65 72 53 | );................var.newHeaderS |
| 1500 | 74 61 74 65 20 3d 20 43 72 65 61 74 65 48 65 61 64 65 72 53 74 61 74 65 28 6e 75 6d 56 61 6c 75 | tate.=.CreateHeaderState(numValu |
| 1520 | 65 43 6f 6c 75 6d 6e 73 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 68 65 61 64 | eColumns);..............if.(head |
| 1540 | 65 72 53 74 61 74 65 20 21 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | erState.!=.null)................ |
| 1560 | 20 20 4d 75 6c 74 69 43 6f 6c 75 6d 6e 48 65 61 64 65 72 53 74 61 74 65 2e 4f 76 65 72 77 72 69 | ..MultiColumnHeaderState.Overwri |
| 1580 | 74 65 53 65 72 69 61 6c 69 7a 65 64 46 69 65 6c 64 73 28 68 65 61 64 65 72 53 74 61 74 65 2c 20 | teSerializedFields(headerState,. |
| 15a0 | 6e 65 77 48 65 61 64 65 72 53 74 61 74 65 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 68 65 | newHeaderState);..............he |
| 15c0 | 61 64 65 72 53 74 61 74 65 20 3d 20 6e 65 77 48 65 61 64 65 72 53 74 61 74 65 3b 0d 0a 0d 0a 20 | aderState.=.newHeaderState;..... |
| 15e0 | 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 68 65 61 64 65 72 20 3d 20 6e 65 77 20 4d 75 6c 74 | ...........var.header.=.new.Mult |
| 1600 | 69 43 6f 6c 75 6d 6e 48 65 61 64 65 72 28 68 65 61 64 65 72 53 74 61 74 65 29 3b 0d 0a 20 20 20 | iColumnHeader(headerState);..... |
| 1620 | 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 65 77 20 49 6e 70 75 74 43 6f 6e 74 72 6f 6c | .........return.new.InputControl |
| 1640 | 54 72 65 65 56 69 65 77 28 72 6f 6f 74 43 6f 6e 74 72 6f 6c 2c 20 74 72 65 65 53 74 61 74 65 2c | TreeView(rootControl,.treeState, |
| 1660 | 20 68 65 61 64 65 72 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 | .header);..........}............ |
| 1680 | 70 75 62 6c 69 63 20 76 6f 69 64 20 52 65 66 72 65 73 68 43 6f 6e 74 72 6f 6c 56 61 6c 75 65 73 | public.void.RefreshControlValues |
| 16a0 | 28 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 65 61 | ()..........{..............forea |
| 16c0 | 63 68 20 28 76 61 72 20 69 74 65 6d 20 69 6e 20 47 65 74 52 6f 77 73 28 29 29 0d 0a 20 20 20 20 | ch.(var.item.in.GetRows())...... |
| 16e0 | 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 69 74 65 6d 20 69 73 20 43 6f 6e 74 72 6f 6c 49 | ............if.(item.is.ControlI |
| 1700 | 74 65 6d 20 63 6f 6e 74 72 6f 6c 49 74 65 6d 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tem.controlItem)................ |
| 1720 | 20 20 20 20 20 20 52 65 61 64 53 74 61 74 65 28 63 6f 6e 74 72 6f 6c 49 74 65 6d 2e 63 6f 6e 74 | ......ReadState(controlItem.cont |
| 1740 | 72 6f 6c 2c 20 6f 75 74 20 63 6f 6e 74 72 6f 6c 49 74 65 6d 2e 76 61 6c 75 65 2c 20 6f 75 74 20 | rol,.out.controlItem.value,.out. |
| 1760 | 63 6f 6e 74 72 6f 6c 49 74 65 6d 2e 76 61 6c 75 65 73 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d | controlItem.values);..........}. |
| 1780 | 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 63 6f 6e 73 74 20 66 6c 6f 61 74 20 6b | ...........private.const.float.k |
| 17a0 | 52 6f 77 48 65 69 67 68 74 20 3d 20 32 30 66 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 69 76 | RowHeight.=.20f;............priv |
| 17c0 | 61 74 65 20 65 6e 75 6d 20 43 6f 6c 75 6d 6e 49 64 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 | ate.enum.ColumnId..........{.... |
| 17e0 | 20 20 20 20 20 20 20 20 20 20 4e 61 6d 65 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 44 69 73 | ..........Name,..............Dis |
| 1800 | 70 6c 61 79 4e 61 6d 65 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 4c 61 79 6f 75 74 2c 0d 0a | playName,..............Layout,.. |
| 1820 | 20 20 20 20 20 20 20 20 20 20 20 20 54 79 70 65 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 46 | ............Type,..............F |
| 1840 | 6f 72 6d 61 74 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 4f 66 66 73 65 74 2c 0d 0a 20 20 20 | ormat,..............Offset,..... |
| 1860 | 20 20 20 20 20 20 20 20 20 42 69 74 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 53 69 7a 65 2c | .........Bit,..............Size, |
| 1880 | 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 56 61 6c 75 65 2c 0d 0a 0d 0a 20 20 20 20 20 20 20 20 | ..............Value,............ |
| 18a0 | 20 20 20 20 43 4f 55 4e 54 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 | ....COUNT..........}............ |
| 18c0 | 70 72 69 76 61 74 65 20 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 20 6d 5f 52 6f 6f 74 43 6f 6e 74 72 | private.InputControl.m_RootContr |
| 18e0 | 6f 6c 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 73 74 61 74 69 63 20 4d 75 | ol;............private.static.Mu |
| 1900 | 6c 74 69 43 6f 6c 75 6d 6e 48 65 61 64 65 72 53 74 61 74 65 20 43 72 65 61 74 65 48 65 61 64 65 | ltiColumnHeaderState.CreateHeade |
| 1920 | 72 53 74 61 74 65 28 69 6e 74 20 6e 75 6d 56 61 6c 75 65 43 6f 6c 75 6d 6e 73 29 0d 0a 20 20 20 | rState(int.numValueColumns)..... |
| 1940 | 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 6f 6c 75 6d 6e 73 20 | .....{..............var.columns. |
| 1960 | 3d 20 6e 65 77 20 4d 75 6c 74 69 43 6f 6c 75 6d 6e 48 65 61 64 65 72 53 74 61 74 65 2e 43 6f 6c | =.new.MultiColumnHeaderState.Col |
| 1980 | 75 6d 6e 5b 28 69 6e 74 29 43 6f 6c 75 6d 6e 49 64 2e 43 4f 55 4e 54 20 2b 20 6e 75 6d 56 61 6c | umn[(int)ColumnId.COUNT.+.numVal |
| 19a0 | 75 65 43 6f 6c 75 6d 6e 73 20 2d 20 31 5d 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 | ueColumns.-.1];................c |
| 19c0 | 6f 6c 75 6d 6e 73 5b 28 69 6e 74 29 43 6f 6c 75 6d 6e 49 64 2e 4e 61 6d 65 5d 20 3d 0d 0a 20 20 | olumns[(int)ColumnId.Name].=.... |
| 19e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 77 20 4d 75 6c 74 69 43 6f 6c 75 6d 6e 48 65 61 | ..............new.MultiColumnHea |
| 1a00 | 64 65 72 53 74 61 74 65 2e 43 6f 6c 75 6d 6e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a | derState.Column..............{.. |
| 1a20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 69 64 74 68 20 3d 20 31 38 30 2c 0d 0a 20 20 | ................width.=.180,.... |
| 1a40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 69 6e 57 69 64 74 68 20 3d 20 36 30 2c 0d 0a 20 20 | ..............minWidth.=.60,.... |
| 1a60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 68 65 61 64 65 72 43 6f 6e 74 65 6e 74 20 3d 20 6e 65 | ..............headerContent.=.ne |
| 1a80 | 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 4e 61 6d 65 22 29 0d 0a 20 20 20 20 20 20 20 20 20 20 | w.GUIContent("Name")............ |
| 1aa0 | 20 20 7d 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6c 75 6d 6e 73 5b 28 69 6e 74 29 43 | ..};..............columns[(int)C |
| 1ac0 | 6f 6c 75 6d 6e 49 64 2e 44 69 73 70 6c 61 79 4e 61 6d 65 5d 20 3d 0d 0a 20 20 20 20 20 20 20 20 | olumnId.DisplayName].=.......... |
| 1ae0 | 20 20 20 20 20 20 20 20 6e 65 77 20 4d 75 6c 74 69 43 6f 6c 75 6d 6e 48 65 61 64 65 72 53 74 61 | ........new.MultiColumnHeaderSta |
| 1b00 | 74 65 2e 43 6f 6c 75 6d 6e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 | te.Column..............{........ |
| 1b20 | 20 20 20 20 20 20 20 20 20 20 77 69 64 74 68 20 3d 20 31 36 30 2c 0d 0a 20 20 20 20 20 20 20 20 | ..........width.=.160,.......... |
| 1b40 | 20 20 20 20 20 20 20 20 6d 69 6e 57 69 64 74 68 20 3d 20 36 30 2c 0d 0a 20 20 20 20 20 20 20 20 | ........minWidth.=.60,.......... |
| 1b60 | 20 20 20 20 20 20 20 20 68 65 61 64 65 72 43 6f 6e 74 65 6e 74 20 3d 20 6e 65 77 20 47 55 49 43 | ........headerContent.=.new.GUIC |
| 1b80 | 6f 6e 74 65 6e 74 28 22 44 69 73 70 6c 61 79 20 4e 61 6d 65 22 29 0d 0a 20 20 20 20 20 20 20 20 | ontent("Display.Name").......... |
| 1ba0 | 20 20 20 20 7d 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6c 75 6d 6e 73 5b 28 69 6e 74 | ....};..............columns[(int |
| 1bc0 | 29 43 6f 6c 75 6d 6e 49 64 2e 4c 61 79 6f 75 74 5d 20 3d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 | )ColumnId.Layout].=............. |
| 1be0 | 20 20 20 20 20 6e 65 77 20 4d 75 6c 74 69 43 6f 6c 75 6d 6e 48 65 61 64 65 72 53 74 61 74 65 2e | .....new.MultiColumnHeaderState. |
| 1c00 | 43 6f 6c 75 6d 6e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 | Column..............{........... |
| 1c20 | 20 20 20 20 20 20 20 77 69 64 74 68 20 3d 20 31 30 30 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 | .......width.=.100,............. |
| 1c40 | 20 20 20 20 20 6d 69 6e 57 69 64 74 68 20 3d 20 36 30 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 | .....minWidth.=.60,............. |
| 1c60 | 20 20 20 20 20 68 65 61 64 65 72 43 6f 6e 74 65 6e 74 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 | .....headerContent.=.new.GUICont |
| 1c80 | 65 6e 74 28 22 4c 61 79 6f 75 74 22 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 3b 0d 0a 20 | ent("Layout")..............};... |
| 1ca0 | 20 20 20 20 20 20 20 20 20 20 20 63 6f 6c 75 6d 6e 73 5b 28 69 6e 74 29 43 6f 6c 75 6d 6e 49 64 | ...........columns[(int)ColumnId |
| 1cc0 | 2e 54 79 70 65 5d 20 3d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 77 20 4d 75 | .Type].=..................new.Mu |
| 1ce0 | 6c 74 69 43 6f 6c 75 6d 6e 48 65 61 64 65 72 53 74 61 74 65 2e 43 6f 6c 75 6d 6e 0d 0a 20 20 20 | ltiColumnHeaderState.Column..... |
| 1d00 | 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 69 64 74 | .........{..................widt |
| 1d20 | 68 20 3d 20 31 30 30 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 69 6e 57 69 64 | h.=.100,..................minWid |
| 1d40 | 74 68 20 3d 20 36 30 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 68 65 61 64 65 72 | th.=.60,..................header |
| 1d60 | 43 6f 6e 74 65 6e 74 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 54 79 70 65 22 29 | Content.=.new.GUIContent("Type") |
| 1d80 | 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 6f | ..............};..............co |
| 1da0 | 6c 75 6d 6e 73 5b 28 69 6e 74 29 43 6f 6c 75 6d 6e 49 64 2e 46 6f 72 6d 61 74 5d 20 3d 0d 0a 20 | lumns[(int)ColumnId.Format].=... |
| 1dc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 77 20 4d 75 6c 74 69 43 6f 6c 75 6d 6e 48 65 | ...............new.MultiColumnHe |
| 1de0 | 61 64 65 72 53 74 61 74 65 2e 43 6f 6c 75 6d 6e 20 7b 68 65 61 64 65 72 43 6f 6e 74 65 6e 74 20 | aderState.Column.{headerContent. |
| 1e00 | 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 46 6f 72 6d 61 74 22 29 7d 3b 0d 0a 20 20 | =.new.GUIContent("Format")};.... |
| 1e20 | 20 20 20 20 20 20 20 20 20 20 63 6f 6c 75 6d 6e 73 5b 28 69 6e 74 29 43 6f 6c 75 6d 6e 49 64 2e | ..........columns[(int)ColumnId. |
| 1e40 | 4f 66 66 73 65 74 5d 20 3d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 77 20 4d | Offset].=..................new.M |
| 1e60 | 75 6c 74 69 43 6f 6c 75 6d 6e 48 65 61 64 65 72 53 74 61 74 65 2e 43 6f 6c 75 6d 6e 20 7b 68 65 | ultiColumnHeaderState.Column.{he |
| 1e80 | 61 64 65 72 43 6f 6e 74 65 6e 74 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 4f 66 | aderContent.=.new.GUIContent("Of |
| 1ea0 | 66 73 65 74 22 29 7d 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6c 75 6d 6e 73 5b 28 69 | fset")};..............columns[(i |
| 1ec0 | 6e 74 29 43 6f 6c 75 6d 6e 49 64 2e 42 69 74 5d 20 3d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 | nt)ColumnId.Bit].=.............. |
| 1ee0 | 20 20 20 20 6e 65 77 20 4d 75 6c 74 69 43 6f 6c 75 6d 6e 48 65 61 64 65 72 53 74 61 74 65 2e 43 | ....new.MultiColumnHeaderState.C |
| 1f00 | 6f 6c 75 6d 6e 20 7b 77 69 64 74 68 20 3d 20 34 30 2c 20 68 65 61 64 65 72 43 6f 6e 74 65 6e 74 | olumn.{width.=.40,.headerContent |
| 1f20 | 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 42 69 74 22 29 7d 3b 0d 0a 20 20 20 20 | .=.new.GUIContent("Bit")};...... |
| 1f40 | 20 20 20 20 20 20 20 20 63 6f 6c 75 6d 6e 73 5b 28 69 6e 74 29 43 6f 6c 75 6d 6e 49 64 2e 53 69 | ........columns[(int)ColumnId.Si |
| 1f60 | 7a 65 5d 20 3d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 77 20 4d 75 6c 74 69 | ze].=..................new.Multi |
| 1f80 | 43 6f 6c 75 6d 6e 48 65 61 64 65 72 53 74 61 74 65 2e 43 6f 6c 75 6d 6e 20 7b 68 65 61 64 65 72 | ColumnHeaderState.Column.{header |
| 1fa0 | 43 6f 6e 74 65 6e 74 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 53 69 7a 65 20 28 | Content.=.new.GUIContent("Size.( |
| 1fc0 | 42 69 74 73 29 22 29 7d 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6e 75 6d | Bits)")};................if.(num |
| 1fe0 | 56 61 6c 75 65 43 6f 6c 75 6d 6e 73 20 3d 3d 20 31 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ValueColumns.==.1).............. |
| 2000 | 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6c 75 6d 6e 73 5b 28 69 6e 74 29 | {..................columns[(int) |
| 2020 | 43 6f 6c 75 6d 6e 49 64 2e 56 61 6c 75 65 5d 20 3d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ColumnId.Value].=............... |
| 2040 | 20 20 20 20 20 20 20 6e 65 77 20 4d 75 6c 74 69 43 6f 6c 75 6d 6e 48 65 61 64 65 72 53 74 61 74 | .......new.MultiColumnHeaderStat |
| 2060 | 65 2e 43 6f 6c 75 6d 6e 20 7b 77 69 64 74 68 20 3d 20 31 32 30 2c 20 68 65 61 64 65 72 43 6f 6e | e.Column.{width.=.120,.headerCon |
| 2080 | 74 65 6e 74 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 56 61 6c 75 65 22 29 7d 3b | tent.=.new.GUIContent("Value")}; |
| 20a0 | 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 | ..............}..............els |
| 20c0 | 65 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | e..............{................ |
| 20e0 | 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 6e 75 6d 56 61 6c 75 65 43 6f | ..for.(var.i.=.0;.i.<.numValueCo |
| 2100 | 6c 75 6d 6e 73 3b 20 2b 2b 69 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | lumns;.++i)..................... |
| 2120 | 20 63 6f 6c 75 6d 6e 73 5b 28 69 6e 74 29 43 6f 6c 75 6d 6e 49 64 2e 56 61 6c 75 65 20 2b 20 69 | .columns[(int)ColumnId.Value.+.i |
| 2140 | 5d 20 3d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 77 | ].=..........................new |
| 2160 | 20 4d 75 6c 74 69 43 6f 6c 75 6d 6e 48 65 61 64 65 72 53 74 61 74 65 2e 43 6f 6c 75 6d 6e 0d 0a | .MultiColumnHeaderState.Column.. |
| 2180 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 | ....................{........... |
| 21a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 69 64 74 68 20 3d 20 31 30 30 2c 0d 0a 20 20 20 | ...............width.=.100,..... |
| 21c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 68 65 61 64 65 72 43 6f 6e 74 65 | .....................headerConte |
| 21e0 | 6e 74 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 56 61 6c 75 65 20 22 20 2b 20 28 | nt.=.new.GUIContent("Value.".+.( |
| 2200 | 63 68 61 72 29 28 27 41 27 20 2b 20 69 29 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | char)('A'.+.i))................. |
| 2220 | 20 20 20 20 20 7d 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 | .....};..............}.......... |
| 2240 | 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 65 77 20 4d 75 6c 74 69 43 6f 6c 75 6d 6e 48 65 61 64 | ......return.new.MultiColumnHead |
| 2260 | 65 72 53 74 61 74 65 28 63 6f 6c 75 6d 6e 73 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a | erState(columns);..........}.... |
| 2280 | 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 54 72 65 65 | ........private.InputControlTree |
| 22a0 | 56 69 65 77 28 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 20 72 6f 6f 74 2c 20 54 72 65 65 56 69 65 77 | View(InputControl.root,.TreeView |
| 22c0 | 53 74 61 74 65 20 73 74 61 74 65 2c 20 4d 75 6c 74 69 43 6f 6c 75 6d 6e 48 65 61 64 65 72 20 68 | State.state,.MultiColumnHeader.h |
| 22e0 | 65 61 64 65 72 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 3a 20 62 61 73 65 28 73 74 61 74 65 | eader)..............:.base(state |
| 2300 | 2c 20 68 65 61 64 65 72 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 | ,.header)..........{............ |
| 2320 | 20 20 6d 5f 52 6f 6f 74 43 6f 6e 74 72 6f 6c 20 3d 20 72 6f 6f 74 3b 0d 0a 20 20 20 20 20 20 20 | ..m_RootControl.=.root;......... |
| 2340 | 20 20 20 20 20 73 68 6f 77 42 6f 72 64 65 72 20 3d 20 66 61 6c 73 65 3b 0d 0a 20 20 20 20 20 20 | .....showBorder.=.false;........ |
| 2360 | 20 20 20 20 20 20 72 6f 77 48 65 69 67 68 74 20 3d 20 6b 52 6f 77 48 65 69 67 68 74 3b 0d 0a 20 | ......rowHeight.=.kRowHeight;... |
| 2380 | 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 6f 76 | .......}............protected.ov |
| 23a0 | 65 72 72 69 64 65 20 54 72 65 65 56 69 65 77 49 74 65 6d 20 42 75 69 6c 64 52 6f 6f 74 28 29 0d | erride.TreeViewItem.BuildRoot(). |
| 23c0 | 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 50 72 6f 66 69 6c 65 72 | .........{..............Profiler |
| 23e0 | 2e 42 65 67 69 6e 53 61 6d 70 6c 65 28 22 42 75 69 6c 64 43 6f 6e 74 72 6f 6c 54 72 65 65 22 29 | .BeginSample("BuildControlTree") |
| 2400 | 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 69 64 20 3d 20 31 3b 0d 0a 0d 0a | ;................var.id.=.1;.... |
| 2420 | 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 42 75 69 6c 64 20 74 72 65 65 20 66 72 6f 6d 20 63 | ............//.Build.tree.from.c |
| 2440 | 6f 6e 74 72 6f 6c 20 64 6f 77 6e 20 74 68 65 20 63 6f 6e 74 72 6f 6c 20 68 69 65 72 61 72 63 68 | ontrol.down.the.control.hierarch |
| 2460 | 79 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 72 6f 6f 74 49 74 65 6d 20 3d 20 42 | y...............var.rootItem.=.B |
| 2480 | 75 69 6c 64 43 6f 6e 74 72 6f 6c 54 72 65 65 52 65 63 75 72 73 69 76 65 28 6d 5f 52 6f 6f 74 43 | uildControlTreeRecursive(m_RootC |
| 24a0 | 6f 6e 74 72 6f 6c 2c 20 30 2c 20 72 65 66 20 69 64 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 | ontrol,.0,.ref.id);............. |
| 24c0 | 20 20 20 50 72 6f 66 69 6c 65 72 2e 45 6e 64 53 61 6d 70 6c 65 28 29 3b 0d 0a 0d 0a 20 20 20 20 | ...Profiler.EndSample();........ |
| 24e0 | 20 20 20 20 20 20 20 20 2f 2f 20 57 72 61 70 20 72 6f 6f 74 20 63 6f 6e 74 72 6f 6c 20 69 6e 20 | ........//.Wrap.root.control.in. |
| 2500 | 69 6e 76 69 73 69 62 6c 65 20 69 74 65 6d 20 72 65 71 75 69 72 65 64 20 62 79 20 54 72 65 65 56 | invisible.item.required.by.TreeV |
| 2520 | 69 65 77 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 65 77 20 54 72 65 | iew...............return.new.Tre |
| 2540 | 65 56 69 65 77 49 74 65 6d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 | eViewItem..............{........ |
| 2560 | 20 20 20 20 20 20 20 20 20 20 69 64 20 3d 20 30 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..........id.=.0,............... |
| 2580 | 20 20 20 63 68 69 6c 64 72 65 6e 20 3d 20 6e 65 77 20 4c 69 73 74 3c 54 72 65 65 56 69 65 77 49 | ...children.=.new.List<TreeViewI |
| 25a0 | 74 65 6d 3e 20 7b 72 6f 6f 74 49 74 65 6d 7d 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tem>.{rootItem},................ |
| 25c0 | 20 20 64 65 70 74 68 20 3d 20 2d 31 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 3b 0d 0a 20 20 | ..depth.=.-1..............};.... |
| 25e0 | 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 43 6f 6e 74 72 | ......}............private.Contr |
| 2600 | 6f 6c 49 74 65 6d 20 42 75 69 6c 64 43 6f 6e 74 72 6f 6c 54 72 65 65 52 65 63 75 72 73 69 76 65 | olItem.BuildControlTreeRecursive |
| 2620 | 28 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 20 63 6f 6e 74 72 6f 6c 2c 20 69 6e 74 20 64 65 70 74 68 | (InputControl.control,.int.depth |
| 2640 | 2c 20 72 65 66 20 69 6e 74 20 69 64 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 | ,.ref.int.id)..........{........ |
| 2660 | 20 20 20 20 20 20 2f 2f 20 42 75 69 6c 64 20 63 68 69 6c 64 72 65 6e 2e 0d 0a 20 20 20 20 20 20 | ......//.Build.children......... |
| 2680 | 20 20 20 20 20 20 4c 69 73 74 3c 54 72 65 65 56 69 65 77 49 74 65 6d 3e 20 63 68 69 6c 64 72 65 | ......List<TreeViewItem>.childre |
| 26a0 | 6e 20 3d 20 6e 75 6c 6c 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 69 73 4c 65 61 | n.=.null;..............var.isLea |
| 26c0 | 66 20 3d 20 63 6f 6e 74 72 6f 6c 2e 63 68 69 6c 64 72 65 6e 2e 43 6f 75 6e 74 20 3d 3d 20 30 3b | f.=.control.children.Count.==.0; |
| 26e0 | 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 69 73 4c 65 61 66 29 0d 0a 20 20 20 20 | ..............if.(!isLeaf)...... |
| 2700 | 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 68 69 6c 64 | ........{..................child |
| 2720 | 72 65 6e 20 3d 20 6e 65 77 20 4c 69 73 74 3c 54 72 65 65 56 69 65 77 49 74 65 6d 3e 28 29 3b 0d | ren.=.new.List<TreeViewItem>();. |
| 2740 | 0a 0d 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 | ...................foreach.(var. |
| 2760 | 63 68 69 6c 64 20 69 6e 20 63 6f 6e 74 72 6f 6c 2e 63 68 69 6c 64 72 65 6e 29 0d 0a 20 20 20 20 | child.in.control.children)...... |
| 2780 | 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ............{................... |
| 27a0 | 20 20 20 76 61 72 20 63 68 69 6c 64 49 74 65 6d 20 3d 20 42 75 69 6c 64 43 6f 6e 74 72 6f 6c 54 | ...var.childItem.=.BuildControlT |
| 27c0 | 72 65 65 52 65 63 75 72 73 69 76 65 28 63 68 69 6c 64 2c 20 64 65 70 74 68 20 2b 20 31 2c 20 72 | reeRecursive(child,.depth.+.1,.r |
| 27e0 | 65 66 20 69 64 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 | ef.id);......................if. |
| 2800 | 28 63 68 69 6c 64 49 74 65 6d 20 21 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 | (childItem.!=.null)............. |
| 2820 | 20 20 20 20 20 20 20 20 20 20 20 20 20 63 68 69 6c 64 72 65 6e 2e 41 64 64 28 63 68 69 6c 64 49 | .............children.Add(childI |
| 2840 | 74 65 6d 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 | tem);..................}........ |
| 2860 | 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 49 66 20 6e 6f 6e 65 20 6f 66 20 6f 75 72 20 63 68 | ............//.If.none.of.our.ch |
| 2880 | 69 6c 64 72 65 6e 20 72 65 74 75 72 6e 65 64 20 61 6e 20 69 74 65 6d 2c 20 6e 6f 6e 65 20 6f 66 | ildren.returned.an.item,.none.of |
| 28a0 | 20 74 68 65 69 72 20 64 61 74 61 20 69 73 20 64 69 66 66 65 72 65 6e 74 2c 0d 0a 20 20 20 20 20 | .their.data.is.different,....... |
| 28c0 | 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 73 6f 20 69 66 20 77 65 20 61 72 65 20 73 75 70 70 6f | ...........//.so.if.we.are.suppo |
| 28e0 | 73 65 64 20 74 6f 20 73 68 6f 77 20 6f 6e 6c 79 20 63 6f 6e 74 72 6f 6c 73 20 74 68 61 74 20 64 | sed.to.show.only.controls.that.d |
| 2900 | 69 66 66 65 72 20 69 6e 20 76 61 6c 75 65 2c 20 77 65 27 72 65 20 73 69 74 74 69 6e 67 0d 0a 20 | iffer.in.value,.we're.sitting... |
| 2920 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 6f 6e 20 61 20 62 72 61 6e 63 68 20 74 68 | ...............//.on.a.branch.th |
| 2940 | 61 74 20 68 61 73 20 6e 6f 20 63 68 61 6e 67 65 73 2e 20 43 75 6c 6c 20 74 68 65 20 62 72 61 6e | at.has.no.changes..Cull.the.bran |
| 2960 | 63 68 20 65 78 63 65 70 74 20 69 66 20 77 65 27 72 65 20 61 6c 6c 20 74 68 65 20 77 61 79 0d 0a | ch.except.if.we're.all.the.way.. |
| 2980 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 61 74 20 74 68 65 20 72 6f 6f 74 20 28 | ................//.at.the.root.( |
| 29a0 | 77 65 20 77 61 6e 74 20 74 6f 20 68 61 76 65 20 61 74 20 6c 65 61 73 74 20 6f 6e 65 20 69 74 65 | we.want.to.have.at.least.one.ite |
| 29c0 | 6d 29 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 63 68 69 6c 64 72 65 | m)...................if.(childre |
| 29e0 | 6e 2e 43 6f 75 6e 74 20 3d 3d 20 30 20 26 26 20 73 68 6f 77 44 69 66 66 65 72 65 6e 74 4f 6e 6c | n.Count.==.0.&&.showDifferentOnl |
| 2a00 | 79 20 26 26 20 64 65 70 74 68 20 21 3d 20 30 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | y.&&.depth.!=.0)................ |
| 2a20 | 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 | ......return.null;.............. |
| 2a40 | 20 20 20 20 20 20 2f 2f 20 53 6f 72 74 20 63 68 69 6c 64 72 65 6e 20 62 79 20 6e 61 6d 65 2e 0d | ......//.Sort.children.by.name.. |
| 2a60 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 68 69 6c 64 72 65 6e 2e 53 6f 72 74 28 28 | .................children.Sort(( |
| 2a80 | 61 2c 20 62 29 20 3d 3e 20 73 74 72 69 6e 67 2e 43 6f 6d 70 61 72 65 28 61 2e 64 69 73 70 6c 61 | a,.b).=>.string.Compare(a.displa |
| 2aa0 | 79 4e 61 6d 65 2c 20 62 2e 64 69 73 70 6c 61 79 4e 61 6d 65 29 29 3b 0d 0a 20 20 20 20 20 20 20 | yName,.b.displayName));......... |
| 2ac0 | 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 43 6f 6d 70 75 74 65 | .....}................//.Compute |
| 2ae0 | 20 6f 66 66 73 65 74 2e 20 4f 66 66 73 65 74 73 20 6f 6e 20 74 68 65 20 63 6f 6e 74 72 6f 6c 73 | .offset..Offsets.on.the.controls |
| 2b00 | 20 61 72 65 20 61 62 73 6f 6c 75 74 65 2e 20 4d 61 6b 65 20 74 68 65 6d 20 72 65 6c 61 74 69 76 | .are.absolute..Make.them.relativ |
| 2b20 | 65 20 74 6f 20 74 68 65 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 72 6f 6f 74 20 63 6f | e.to.the..............//.root.co |
| 2b40 | 6e 74 72 6f 6c 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 6f 6e 74 72 6f 6c 4f | ntrol...............var.controlO |
| 2b60 | 66 66 73 65 74 20 3d 20 63 6f 6e 74 72 6f 6c 2e 73 74 61 74 65 42 6c 6f 63 6b 2e 62 79 74 65 4f | ffset.=.control.stateBlock.byteO |
| 2b80 | 66 66 73 65 74 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 72 6f 6f 74 4f 66 66 73 | ffset;..............var.rootOffs |
| 2ba0 | 65 74 20 3d 20 6d 5f 52 6f 6f 74 43 6f 6e 74 72 6f 6c 2e 73 74 61 74 65 42 6c 6f 63 6b 2e 62 79 | et.=.m_RootControl.stateBlock.by |
| 2bc0 | 74 65 4f 66 66 73 65 74 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6f 66 66 73 65 | teOffset;..............var.offse |
| 2be0 | 74 20 3d 20 63 6f 6e 74 72 6f 6c 4f 66 66 73 65 74 20 2d 20 72 6f 6f 74 4f 66 66 73 65 74 3b 0d | t.=.controlOffset.-.rootOffset;. |
| 2c00 | 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 52 65 61 64 20 73 74 61 74 65 2e 0d 0a 20 | ...............//.Read.state.... |
| 2c20 | 20 20 20 20 20 20 20 20 20 20 20 47 55 49 43 6f 6e 74 65 6e 74 20 76 61 6c 75 65 3b 0d 0a 20 20 | ...........GUIContent.value;.... |
| 2c40 | 20 20 20 20 20 20 20 20 20 20 47 55 49 43 6f 6e 74 65 6e 74 5b 5d 20 76 61 6c 75 65 73 3b 0d 0a | ..........GUIContent[].values;.. |
| 2c60 | 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 52 65 61 64 53 74 61 74 65 28 63 6f 6e 74 72 | ............if.(!ReadState(contr |
| 2c80 | 6f 6c 2c 20 6f 75 74 20 76 61 6c 75 65 2c 20 6f 75 74 20 76 61 6c 75 65 73 29 29 0d 0a 20 20 20 | ol,.out.value,.out.values))..... |
| 2ca0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0d 0a 0d 0a 20 20 20 | .............return.null;....... |
| 2cc0 | 20 20 20 20 20 20 20 20 20 2f 2f 2f 2f 54 4f 44 4f 3a 20 63 6f 6d 65 20 75 70 20 77 69 74 68 20 | .........////TODO:.come.up.with. |
| 2ce0 | 6e 69 63 65 20 69 63 6f 6e 73 20 64 65 70 69 63 74 69 6e 67 20 64 69 66 66 65 72 65 6e 74 20 63 | nice.icons.depicting.different.c |
| 2d00 | 6f 6e 74 72 6f 6c 20 74 79 70 65 73 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 | ontrol.types................var. |
| 2d20 | 69 74 65 6d 20 3d 20 6e 65 77 20 43 6f 6e 74 72 6f 6c 49 74 65 6d 0d 0a 20 20 20 20 20 20 20 20 | item.=.new.ControlItem.......... |
| 2d40 | 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 64 20 3d 20 69 64 2b 2b | ....{..................id.=.id++ |
| 2d60 | 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 69 73 70 6c 61 79 4e 61 6d 65 20 3d | ,..................displayName.= |
| 2d80 | 20 63 6f 6e 74 72 6f 6c 2e 6e 61 6d 65 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .control.name,.................. |
| 2da0 | 63 6f 6e 74 72 6f 6c 20 3d 20 63 6f 6e 74 72 6f 6c 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 | control.=.control,.............. |
| 2dc0 | 20 20 20 20 64 65 70 74 68 20 3d 20 64 65 70 74 68 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ....depth.=.depth,.............. |
| 2de0 | 20 20 20 20 6c 61 79 6f 75 74 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 63 6f 6e 74 | ....layout.=.new.GUIContent(cont |
| 2e00 | 72 6f 6c 2e 6c 61 79 6f 75 74 29 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6f | rol.layout),..................fo |
| 2e20 | 72 6d 61 74 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 63 6f 6e 74 72 6f 6c 2e 73 74 | rmat.=.new.GUIContent(control.st |
| 2e40 | 61 74 65 42 6c 6f 63 6b 2e 66 6f 72 6d 61 74 2e 54 6f 53 74 72 69 6e 67 28 29 29 2c 0d 0a 20 20 | ateBlock.format.ToString()),.... |
| 2e60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 66 66 73 65 74 20 3d 20 6e 65 77 20 47 55 49 43 6f | ..............offset.=.new.GUICo |
| 2e80 | 6e 74 65 6e 74 28 6f 66 66 73 65 74 2e 54 6f 53 74 72 69 6e 67 28 29 29 2c 0d 0a 20 20 20 20 20 | ntent(offset.ToString()),....... |
| 2ea0 | 20 20 20 20 20 20 20 20 20 20 20 62 69 74 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 | ...........bit.=.new.GUIContent( |
| 2ec0 | 63 6f 6e 74 72 6f 6c 2e 73 74 61 74 65 42 6c 6f 63 6b 2e 62 69 74 4f 66 66 73 65 74 2e 54 6f 53 | control.stateBlock.bitOffset.ToS |
| 2ee0 | 74 72 69 6e 67 28 29 29 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 69 7a 65 49 | tring()),..................sizeI |
| 2f00 | 6e 42 69 74 73 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 63 6f 6e 74 72 6f 6c 2e 73 | nBits.=.new.GUIContent(control.s |
| 2f20 | 74 61 74 65 42 6c 6f 63 6b 2e 73 69 7a 65 49 6e 42 69 74 73 2e 54 6f 53 74 72 69 6e 67 28 29 29 | tateBlock.sizeInBits.ToString()) |
| 2f40 | 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 20 3d 20 6e 65 77 20 47 55 | ,..................type.=.new.GU |
| 2f60 | 49 43 6f 6e 74 65 6e 74 28 63 6f 6e 74 72 6f 6c 2e 47 65 74 54 79 70 65 28 29 2e 4e 61 6d 65 29 | IContent(control.GetType().Name) |
| 2f80 | 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 6c 75 65 20 3d 20 76 61 6c 75 65 | ,..................value.=.value |
| 2fa0 | 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 6c 75 65 73 20 3d 20 76 61 6c 75 | ,..................values.=.valu |
| 2fc0 | 65 73 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 68 69 6c 64 72 65 6e 20 3d 20 | es,..................children.=. |
| 2fe0 | 63 68 69 6c 64 72 65 6e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 3b 0d 0a 0d 0a 20 20 20 20 | children..............};........ |
| 3000 | 20 20 20 20 20 20 20 20 69 66 20 28 63 68 69 6c 64 72 65 6e 20 21 3d 20 6e 75 6c 6c 29 0d 0a 20 | ........if.(children.!=.null)... |
| 3020 | 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6f | ...........{..................fo |
| 3040 | 72 65 61 63 68 20 28 76 61 72 20 63 68 69 6c 64 20 69 6e 20 63 68 69 6c 64 72 65 6e 29 0d 0a 20 | reach.(var.child.in.children)... |
| 3060 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 68 69 6c 64 2e 70 61 72 65 6e 74 20 | ...................child.parent. |
| 3080 | 3d 20 69 74 65 6d 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 | =.item;..............}.......... |
| 30a0 | 20 20 20 20 20 20 72 65 74 75 72 6e 20 69 74 65 6d 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d | ......return.item;..........}... |
| 30c0 | 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 62 6f 6f 6c 20 52 65 61 64 53 74 61 74 65 28 | .........private.bool.ReadState( |
| 30e0 | 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 20 63 6f 6e 74 72 6f 6c 2c 20 6f 75 74 20 47 55 49 43 6f 6e | InputControl.control,.out.GUICon |
| 3100 | 74 65 6e 74 20 76 61 6c 75 65 2c 20 6f 75 74 20 47 55 49 43 6f 6e 74 65 6e 74 5b 5d 20 76 61 6c | tent.value,.out.GUIContent[].val |
| 3120 | 75 65 73 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 6c | ues)..........{..............val |
| 3140 | 75 65 20 3d 20 6e 75 6c 6c 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 6c 75 65 73 20 3d | ue.=.null;..............values.= |
| 3160 | 20 6e 75 6c 6c 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 72 79 0d 0a 20 20 20 20 20 | .null;................try....... |
| 3180 | 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 73 74 | .......{..................if.(st |
| 31a0 | 61 74 65 42 75 66 66 65 72 20 21 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ateBuffer.!=.null).............. |
| 31c0 | 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 74 | ....{......................var.t |
| 31e0 | 65 78 74 20 3d 20 52 65 61 64 52 61 77 56 61 6c 75 65 41 73 53 74 72 69 6e 67 28 63 6f 6e 74 72 | ext.=.ReadRawValueAsString(contr |
| 3200 | 6f 6c 2c 20 73 74 61 74 65 42 75 66 66 65 72 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ol,.stateBuffer);............... |
| 3220 | 20 20 20 20 20 20 20 69 66 20 28 74 65 78 74 20 21 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 20 | .......if.(text.!=.null)........ |
| 3240 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 6c 75 65 20 3d 20 6e 65 77 20 47 55 | ..................value.=.new.GU |
| 3260 | 49 43 6f 6e 74 65 6e 74 28 74 65 78 74 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | IContent(text);................. |
| 3280 | 20 7d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 6d 75 6c | .}..................else.if.(mul |
| 32a0 | 74 69 70 6c 65 53 74 61 74 65 42 75 66 66 65 72 73 20 21 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 | tipleStateBuffers.!=.null)...... |
| 32c0 | 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ............{................... |
| 32e0 | 20 20 20 76 61 72 20 76 61 6c 75 65 53 74 72 69 6e 67 73 20 3d 20 6d 75 6c 74 69 70 6c 65 53 74 | ...var.valueStrings.=.multipleSt |
| 3300 | 61 74 65 42 75 66 66 65 72 73 2e 53 65 6c 65 63 74 28 78 20 3d 3e 20 52 65 61 64 52 61 77 56 61 | ateBuffers.Select(x.=>.ReadRawVa |
| 3320 | 6c 75 65 41 73 53 74 72 69 6e 67 28 63 6f 6e 74 72 6f 6c 2c 20 78 29 29 3b 0d 0a 20 20 20 20 20 | lueAsString(control,.x));....... |
| 3340 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 73 68 6f 77 44 69 66 66 65 72 65 6e 74 | ...............if.(showDifferent |
| 3360 | 4f 6e 6c 79 20 26 26 20 63 6f 6e 74 72 6f 6c 2e 63 68 69 6c 64 72 65 6e 2e 43 6f 75 6e 74 20 3d | Only.&&.control.children.Count.= |
| 3380 | 3d 20 30 20 26 26 20 76 61 6c 75 65 53 74 72 69 6e 67 73 2e 44 69 73 74 69 6e 63 74 28 29 2e 43 | =.0.&&.valueStrings.Distinct().C |
| 33a0 | 6f 75 6e 74 28 29 20 3d 3d 20 31 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ount().==.1).................... |
| 33c0 | 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 | ......return.false;............. |
| 33e0 | 20 20 20 20 20 20 20 20 20 76 61 6c 75 65 73 20 3d 20 76 61 6c 75 65 53 74 72 69 6e 67 73 2e 53 | .........values.=.valueStrings.S |
| 3400 | 65 6c 65 63 74 28 78 20 3d 3e 20 78 20 21 3d 20 6e 75 6c 6c 20 3f 20 6e 65 77 20 47 55 49 43 6f | elect(x.=>.x.!=.null.?.new.GUICo |
| 3420 | 6e 74 65 6e 74 28 78 29 20 3a 20 6e 75 6c 6c 29 2e 54 6f 41 72 72 61 79 28 29 3b 0d 0a 20 20 20 | ntent(x).:.null).ToArray();..... |
| 3440 | 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .............}.................. |
| 3460 | 65 6c 73 65 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 | else..................{......... |
| 3480 | 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 76 61 6c 75 65 4f 62 6a 65 63 74 20 3d 20 63 | .............var.valueObject.=.c |
| 34a0 | 6f 6e 74 72 6f 6c 2e 52 65 61 64 56 61 6c 75 65 41 73 4f 62 6a 65 63 74 28 29 3b 0d 0a 20 20 20 | ontrol.ReadValueAsObject();..... |
| 34c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 76 61 6c 75 65 4f 62 6a 65 63 74 | .................if.(valueObject |
| 34e0 | 20 21 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .!=.null)....................... |
| 3500 | 20 20 20 76 61 6c 75 65 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 76 61 6c 75 65 4f | ...value.=.new.GUIContent(valueO |
| 3520 | 62 6a 65 63 74 2e 54 6f 53 74 72 69 6e 67 28 29 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 | bject.ToString());.............. |
| 3540 | 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 20 20 | ....}..............}............ |
| 3560 | 20 20 63 61 74 63 68 20 28 45 78 63 65 70 74 69 6f 6e 20 65 78 63 65 70 74 69 6f 6e 29 0d 0a 20 | ..catch.(Exception.exception)... |
| 3580 | 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f | ...........{..................// |
| 35a0 | 20 49 66 20 77 65 20 66 61 69 6c 20 74 6f 20 72 65 61 64 20 61 20 76 61 6c 75 65 2c 20 73 77 61 | .If.we.fail.to.read.a.value,.swa |
| 35c0 | 6c 6c 6f 77 20 69 74 20 73 6f 20 77 65 20 64 6f 6e 27 74 20 66 61 69 6c 20 63 6f 6d 70 6c 65 74 | llow.it.so.we.don't.fail.complet |
| 35e0 | 65 6c 79 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 73 68 6f 77 69 6e 67 20 | ely..................//.showing. |
| 3600 | 61 6e 79 74 68 69 6e 67 20 66 72 6f 6d 20 74 68 65 20 64 65 76 69 63 65 2e 0d 0a 20 20 20 20 20 | anything.from.the.device........ |
| 3620 | 20 20 20 20 20 20 20 20 20 20 20 76 61 6c 75 65 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e | ...........value.=.new.GUIConten |
| 3640 | 74 28 65 78 63 65 70 74 69 6f 6e 2e 54 6f 53 74 72 69 6e 67 28 29 29 3b 0d 0a 20 20 20 20 20 20 | t(exception.ToString());........ |
| 3660 | 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 | ......}................return.tr |
| 3680 | 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 | ue;..........}............protec |
| 36a0 | 74 65 64 20 6f 76 65 72 72 69 64 65 20 76 6f 69 64 20 52 6f 77 47 55 49 28 52 6f 77 47 55 49 41 | ted.override.void.RowGUI(RowGUIA |
| 36c0 | 72 67 73 20 61 72 67 73 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 | rgs.args)..........{............ |
| 36e0 | 20 20 76 61 72 20 69 74 65 6d 20 3d 20 28 43 6f 6e 74 72 6f 6c 49 74 65 6d 29 61 72 67 73 2e 69 | ..var.item.=.(ControlItem)args.i |
| 3700 | 74 65 6d 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 6f 6c 75 6d 6e 43 6f | tem;................var.columnCo |
| 3720 | 75 6e 74 20 3d 20 61 72 67 73 2e 47 65 74 4e 75 6d 56 69 73 69 62 6c 65 43 6f 6c 75 6d 6e 73 28 | unt.=.args.GetNumVisibleColumns( |
| 3740 | 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 | );..............for.(var.i.=.0;. |
| 3760 | 69 20 3c 20 63 6f 6c 75 6d 6e 43 6f 75 6e 74 3b 20 2b 2b 69 29 0d 0a 20 20 20 20 20 20 20 20 20 | i.<.columnCount;.++i)........... |
| 3780 | 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6c 75 6d 6e 47 55 49 28 | ...{..................ColumnGUI( |
| 37a0 | 61 72 67 73 2e 47 65 74 43 65 6c 6c 52 65 63 74 28 69 29 2c 20 69 74 65 6d 2c 20 61 72 67 73 2e | args.GetCellRect(i),.item,.args. |
| 37c0 | 47 65 74 43 6f 6c 75 6d 6e 28 69 29 2c 20 72 65 66 20 61 72 67 73 29 3b 0d 0a 20 20 20 20 20 20 | GetColumn(i),.ref.args);........ |
| 37e0 | 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 | ......}..........}............pr |
| 3800 | 69 76 61 74 65 20 76 6f 69 64 20 43 6f 6c 75 6d 6e 47 55 49 28 52 65 63 74 20 63 65 6c 6c 52 65 | ivate.void.ColumnGUI(Rect.cellRe |
| 3820 | 63 74 2c 20 43 6f 6e 74 72 6f 6c 49 74 65 6d 20 69 74 65 6d 2c 20 69 6e 74 20 63 6f 6c 75 6d 6e | ct,.ControlItem.item,.int.column |
| 3840 | 2c 20 72 65 66 20 52 6f 77 47 55 49 41 72 67 73 20 61 72 67 73 29 0d 0a 20 20 20 20 20 20 20 20 | ,.ref.RowGUIArgs.args).......... |
| 3860 | 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 43 65 6e 74 65 72 52 65 63 74 55 73 69 6e 67 53 69 | {..............CenterRectUsingSi |
| 3880 | 6e 67 6c 65 4c 69 6e 65 48 65 69 67 68 74 28 72 65 66 20 63 65 6c 6c 52 65 63 74 29 3b 0d 0a 0d | ngleLineHeight(ref.cellRect);... |
| 38a0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 77 69 74 63 68 20 28 63 6f 6c 75 6d 6e 29 0d 0a 20 20 | .............switch.(column).... |
| 38c0 | 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 | ..........{..................cas |
| 38e0 | 65 20 28 69 6e 74 29 43 6f 6c 75 6d 6e 49 64 2e 4e 61 6d 65 3a 0d 0a 20 20 20 20 20 20 20 20 20 | e.(int)ColumnId.Name:........... |
| 3900 | 20 20 20 20 20 20 20 20 20 20 20 61 72 67 73 2e 72 6f 77 52 65 63 74 20 3d 20 63 65 6c 6c 52 65 | ...........args.rowRect.=.cellRe |
| 3920 | 63 74 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 61 73 65 2e 52 6f | ct;......................base.Ro |
| 3940 | 77 47 55 49 28 61 72 67 73 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | wGUI(args);..................... |
| 3960 | 20 62 72 65 61 6b 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 28 69 | .break;..................case.(i |
| 3980 | 6e 74 29 43 6f 6c 75 6d 6e 49 64 2e 44 69 73 70 6c 61 79 4e 61 6d 65 3a 0d 0a 20 20 20 20 20 20 | nt)ColumnId.DisplayName:........ |
| 39a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 47 55 49 2e 4c 61 62 65 6c 28 63 65 6c 6c 52 65 63 74 | ..............GUI.Label(cellRect |
| 39c0 | 2c 20 69 74 65 6d 2e 63 6f 6e 74 72 6f 6c 2e 64 69 73 70 6c 61 79 4e 61 6d 65 29 3b 0d 0a 20 20 | ,.item.control.displayName);.... |
| 39e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0d 0a 20 20 20 20 20 20 | ..................break;........ |
| 3a00 | 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 28 69 6e 74 29 43 6f 6c 75 6d 6e 49 64 2e 4c 61 79 | ..........case.(int)ColumnId.Lay |
| 3a20 | 6f 75 74 3a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 47 55 49 2e 4c 61 | out:......................GUI.La |
| 3a40 | 62 65 6c 28 63 65 6c 6c 52 65 63 74 2c 20 69 74 65 6d 2e 6c 61 79 6f 75 74 29 3b 0d 0a 20 20 20 | bel(cellRect,.item.layout);..... |
| 3a60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0d 0a 20 20 20 20 20 20 20 | .................break;......... |
| 3a80 | 20 20 20 20 20 20 20 20 20 63 61 73 65 20 28 69 6e 74 29 43 6f 6c 75 6d 6e 49 64 2e 46 6f 72 6d | .........case.(int)ColumnId.Form |
| 3aa0 | 61 74 3a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 47 55 49 2e 4c 61 62 | at:......................GUI.Lab |
| 3ac0 | 65 6c 28 63 65 6c 6c 52 65 63 74 2c 20 69 74 65 6d 2e 66 6f 72 6d 61 74 29 3b 0d 0a 20 20 20 20 | el(cellRect,.item.format);...... |
| 3ae0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0d 0a 20 20 20 20 20 20 20 20 | ................break;.......... |
| 3b00 | 20 20 20 20 20 20 20 20 63 61 73 65 20 28 69 6e 74 29 43 6f 6c 75 6d 6e 49 64 2e 4f 66 66 73 65 | ........case.(int)ColumnId.Offse |
| 3b20 | 74 3a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 47 55 49 2e 4c 61 62 65 | t:......................GUI.Labe |
| 3b40 | 6c 28 63 65 6c 6c 52 65 63 74 2c 20 69 74 65 6d 2e 6f 66 66 73 65 74 29 3b 0d 0a 20 20 20 20 20 | l(cellRect,.item.offset);....... |
| 3b60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0d 0a 20 20 20 20 20 20 20 20 20 | ...............break;........... |
| 3b80 | 20 20 20 20 20 20 20 63 61 73 65 20 28 69 6e 74 29 43 6f 6c 75 6d 6e 49 64 2e 42 69 74 3a 0d 0a | .......case.(int)ColumnId.Bit:.. |
| 3ba0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 47 55 49 2e 4c 61 62 65 6c 28 63 65 | ....................GUI.Label(ce |
| 3bc0 | 6c 6c 52 65 63 74 2c 20 69 74 65 6d 2e 62 69 74 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 | llRect,.item.bit);.............. |
| 3be0 | 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ........break;.................. |
| 3c00 | 63 61 73 65 20 28 69 6e 74 29 43 6f 6c 75 6d 6e 49 64 2e 53 69 7a 65 3a 0d 0a 20 20 20 20 20 20 | case.(int)ColumnId.Size:........ |
| 3c20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 47 55 49 2e 4c 61 62 65 6c 28 63 65 6c 6c 52 65 63 74 | ..............GUI.Label(cellRect |
| 3c40 | 2c 20 69 74 65 6d 2e 73 69 7a 65 49 6e 42 69 74 73 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 | ,.item.sizeInBits);............. |
| 3c60 | 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .........break;................. |
| 3c80 | 20 63 61 73 65 20 28 69 6e 74 29 43 6f 6c 75 6d 6e 49 64 2e 54 79 70 65 3a 0d 0a 20 20 20 20 20 | .case.(int)ColumnId.Type:....... |
| 3ca0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 47 55 49 2e 4c 61 62 65 6c 28 63 65 6c 6c 52 65 63 | ...............GUI.Label(cellRec |
| 3cc0 | 74 2c 20 69 74 65 6d 2e 74 79 70 65 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | t,.item.type);.................. |
| 3ce0 | 20 20 20 20 62 72 65 61 6b 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 | ....break;..................case |
| 3d00 | 20 28 69 6e 74 29 43 6f 6c 75 6d 6e 49 64 2e 56 61 6c 75 65 3a 0d 0a 20 20 20 20 20 20 20 20 20 | .(int)ColumnId.Value:........... |
| 3d20 | 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 69 74 65 6d 2e 76 61 6c 75 65 20 21 3d 20 6e 75 6c | ...........if.(item.value.!=.nul |
| 3d40 | 6c 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 47 55 49 2e | l)..........................GUI. |
| 3d60 | 4c 61 62 65 6c 28 63 65 6c 6c 52 65 63 74 2c 20 69 74 65 6d 2e 76 61 6c 75 65 29 3b 0d 0a 20 20 | Label(cellRect,.item.value);.... |
| 3d80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 69 74 65 6d 2e | ..................else.if.(item. |
| 3da0 | 76 61 6c 75 65 73 20 21 3d 20 6e 75 6c 6c 20 26 26 20 69 74 65 6d 2e 76 61 6c 75 65 73 5b 30 5d | values.!=.null.&&.item.values[0] |
| 3dc0 | 20 21 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .!=.null)....................... |
| 3de0 | 20 20 20 47 55 49 2e 4c 61 62 65 6c 28 63 65 6c 6c 52 65 63 74 2c 20 69 74 65 6d 2e 76 61 6c 75 | ...GUI.Label(cellRect,.item.valu |
| 3e00 | 65 73 5b 30 5d 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 | es[0]);......................bre |
| 3e20 | 61 6b 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 65 66 61 75 6c 74 3a 0d 0a 20 | ak;..................default:... |
| 3e40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 76 61 6c 75 65 49 6e 64 65 | ...................var.valueInde |
| 3e60 | 78 20 3d 20 63 6f 6c 75 6d 6e 20 2d 20 28 69 6e 74 29 43 6f 6c 75 6d 6e 49 64 2e 56 61 6c 75 65 | x.=.column.-.(int)ColumnId.Value |
| 3e80 | 3b 0d 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 69 74 65 6d 2e | ;......................if.(item. |
| 3ea0 | 76 61 6c 75 65 73 20 21 3d 20 6e 75 6c 6c 20 26 26 20 69 74 65 6d 2e 76 61 6c 75 65 73 5b 76 61 | values.!=.null.&&.item.values[va |
| 3ec0 | 6c 75 65 49 6e 64 65 78 5d 20 21 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 | lueIndex].!=.null).............. |
| 3ee0 | 20 20 20 20 20 20 20 20 20 20 20 20 47 55 49 2e 4c 61 62 65 6c 28 63 65 6c 6c 52 65 63 74 2c 20 | ............GUI.Label(cellRect,. |
| 3f00 | 69 74 65 6d 2e 76 61 6c 75 65 73 5b 76 61 6c 75 65 49 6e 64 65 78 5d 29 3b 0d 0a 20 20 20 20 20 | item.values[valueIndex]);....... |
| 3f20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0d 0a 20 20 20 20 20 20 20 20 20 | ...............break;........... |
| 3f40 | 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 | ...}..........}............priva |
| 3f60 | 74 65 20 75 6e 73 61 66 65 20 73 74 72 69 6e 67 20 52 65 61 64 52 61 77 56 61 6c 75 65 41 73 53 | te.unsafe.string.ReadRawValueAsS |
| 3f80 | 74 72 69 6e 67 28 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 20 63 6f 6e 74 72 6f 6c 2c 20 62 79 74 65 | tring(InputControl.control,.byte |
| 3fa0 | 5b 5d 20 73 74 61 74 65 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 | [].state)..........{............ |
| 3fc0 | 20 20 66 69 78 65 64 28 62 79 74 65 2a 20 73 74 61 74 65 50 74 72 20 3d 20 73 74 61 74 65 29 0d | ..fixed(byte*.statePtr.=.state). |
| 3fe0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .............{.................. |
| 4000 | 76 61 72 20 70 74 72 20 3d 20 73 74 61 74 65 50 74 72 20 2d 20 6d 5f 52 6f 6f 74 43 6f 6e 74 72 | var.ptr.=.statePtr.-.m_RootContr |
| 4020 | 6f 6c 2e 6d 5f 53 74 61 74 65 42 6c 6f 63 6b 2e 62 79 74 65 4f 66 66 73 65 74 3b 0d 0a 20 20 20 | ol.m_StateBlock.byteOffset;..... |
| 4040 | 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 63 6f 6e 74 72 6f 6c 2e 52 65 61 64 | .............return.control.Read |
| 4060 | 56 61 6c 75 65 46 72 6f 6d 53 74 61 74 65 41 73 4f 62 6a 65 63 74 28 70 74 72 29 2e 54 6f 53 74 | ValueFromStateAsObject(ptr).ToSt |
| 4080 | 72 69 6e 67 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 | ring();..............}.......... |
| 40a0 | 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 63 6c 61 73 73 20 43 6f 6e 74 72 | }............private.class.Contr |
| 40c0 | 6f 6c 49 74 65 6d 20 3a 20 54 72 65 65 56 69 65 77 49 74 65 6d 0d 0a 20 20 20 20 20 20 20 20 7b | olItem.:.TreeViewItem..........{ |
| 40e0 | 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 49 6e 70 75 74 43 6f 6e 74 72 6f | ..............public.InputContro |
| 4100 | 6c 20 63 6f 6e 74 72 6f 6c 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 47 | l.control;..............public.G |
| 4120 | 55 49 43 6f 6e 74 65 6e 74 20 6c 61 79 6f 75 74 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 | UIContent.layout;..............p |
| 4140 | 75 62 6c 69 63 20 47 55 49 43 6f 6e 74 65 6e 74 20 66 6f 72 6d 61 74 3b 0d 0a 20 20 20 20 20 20 | ublic.GUIContent.format;........ |
| 4160 | 20 20 20 20 20 20 70 75 62 6c 69 63 20 47 55 49 43 6f 6e 74 65 6e 74 20 6f 66 66 73 65 74 3b 0d | ......public.GUIContent.offset;. |
| 4180 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 47 55 49 43 6f 6e 74 65 6e 74 20 62 | .............public.GUIContent.b |
| 41a0 | 69 74 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 47 55 49 43 6f 6e 74 65 | it;..............public.GUIConte |
| 41c0 | 6e 74 20 73 69 7a 65 49 6e 42 69 74 73 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 75 62 6c | nt.sizeInBits;..............publ |
| 41e0 | 69 63 20 47 55 49 43 6f 6e 74 65 6e 74 20 74 79 70 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 | ic.GUIContent.type;............. |
| 4200 | 20 70 75 62 6c 69 63 20 47 55 49 43 6f 6e 74 65 6e 74 20 76 61 6c 75 65 3b 0d 0a 20 20 20 20 20 | .public.GUIContent.value;....... |
| 4220 | 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 47 55 49 43 6f 6e 74 65 6e 74 5b 5d 20 76 61 6c 75 65 | .......public.GUIContent[].value |
| 4240 | 73 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 7d 0d 0a 7d 0d 0a 23 65 6e 64 69 66 20 | s;..........}......}..}..#endif. |
| 4260 | 2f 2f 20 55 4e 49 54 59 5f 45 44 49 54 4f 52 0d 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | //.UNITY_EDITOR................. |
| 4280 | 00 00 00 00 00 00 00 00 14 00 00 00 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 54 72 65 65 56 69 65 77 | ............InputControlTreeView |
| 42a0 | 1e 00 00 00 55 6e 69 74 79 45 6e 67 69 6e 65 2e 49 6e 70 75 74 53 79 73 74 65 6d 2e 45 64 69 74 | ....UnityEngine.InputSystem.Edit |
| 42c0 | 6f 72 00 00 | or.. |