| 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 0d 00 00 00 45 78 65 63 75 74 65 45 76 65 6e 74 73 00 00 00 dd 31 00 00 | ............ExecuteEvents....1.. |
| 10a0 | 75 73 69 6e 67 20 53 79 73 74 65 6d 3b 0a 75 73 69 6e 67 20 53 79 73 74 65 6d 2e 43 6f 6c 6c 65 | using.System;.using.System.Colle |
| 10c0 | 63 74 69 6f 6e 73 2e 47 65 6e 65 72 69 63 3b 0a 75 73 69 6e 67 20 55 6e 69 74 79 45 6e 67 69 6e | ctions.Generic;.using.UnityEngin |
| 10e0 | 65 2e 55 49 3b 0a 0a 6e 61 6d 65 73 70 61 63 65 20 55 6e 69 74 79 45 6e 67 69 6e 65 2e 45 76 65 | e.UI;..namespace.UnityEngine.Eve |
| 1100 | 6e 74 53 79 73 74 65 6d 73 0a 7b 0a 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 63 6c | ntSystems.{.....public.static.cl |
| 1120 | 61 73 73 20 45 78 65 63 75 74 65 45 76 65 6e 74 73 0a 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 | ass.ExecuteEvents.....{......... |
| 1140 | 70 75 62 6c 69 63 20 64 65 6c 65 67 61 74 65 20 76 6f 69 64 20 45 76 65 6e 74 46 75 6e 63 74 69 | public.delegate.void.EventFuncti |
| 1160 | 6f 6e 3c 54 31 3e 28 54 31 20 68 61 6e 64 6c 65 72 2c 20 42 61 73 65 45 76 65 6e 74 44 61 74 61 | on<T1>(T1.handler,.BaseEventData |
| 1180 | 20 65 76 65 6e 74 44 61 74 61 29 3b 0a 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 | .eventData);..........public.sta |
| 11a0 | 74 69 63 20 54 20 56 61 6c 69 64 61 74 65 45 76 65 6e 74 44 61 74 61 3c 54 3e 28 42 61 73 65 45 | tic.T.ValidateEventData<T>(BaseE |
| 11c0 | 76 65 6e 74 44 61 74 61 20 64 61 74 61 29 20 77 68 65 72 65 20 54 20 3a 20 63 6c 61 73 73 0a 20 | ventData.data).where.T.:.class.. |
| 11e0 | 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 28 64 61 74 61 20 61 | .......{.............if.((data.a |
| 1200 | 73 20 54 29 20 3d 3d 20 6e 75 6c 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 | s.T).==.null).................th |
| 1220 | 72 6f 77 20 6e 65 77 20 41 72 67 75 6d 65 6e 74 45 78 63 65 70 74 69 6f 6e 28 53 74 72 69 6e 67 | row.new.ArgumentException(String |
| 1240 | 2e 46 6f 72 6d 61 74 28 22 49 6e 76 61 6c 69 64 20 74 79 70 65 3a 20 7b 30 7d 20 70 61 73 73 65 | .Format("Invalid.type:.{0}.passe |
| 1260 | 64 20 74 6f 20 65 76 65 6e 74 20 65 78 70 65 63 74 69 6e 67 20 7b 31 7d 22 2c 20 64 61 74 61 2e | d.to.event.expecting.{1}",.data. |
| 1280 | 47 65 74 54 79 70 65 28 29 2c 20 74 79 70 65 6f 66 28 54 29 29 29 3b 0a 20 20 20 20 20 20 20 20 | GetType(),.typeof(T)));......... |
| 12a0 | 20 20 20 20 72 65 74 75 72 6e 20 64 61 74 61 20 61 73 20 54 3b 0a 20 20 20 20 20 20 20 20 7d 0a | ....return.data.as.T;.........}. |
| 12c0 | 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 | .........private.static.readonly |
| 12e0 | 20 45 76 65 6e 74 46 75 6e 63 74 69 6f 6e 3c 49 50 6f 69 6e 74 65 72 45 6e 74 65 72 48 61 6e 64 | .EventFunction<IPointerEnterHand |
| 1300 | 6c 65 72 3e 20 73 5f 50 6f 69 6e 74 65 72 45 6e 74 65 72 48 61 6e 64 6c 65 72 20 3d 20 45 78 65 | ler>.s_PointerEnterHandler.=.Exe |
| 1320 | 63 75 74 65 3b 0a 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 73 74 61 74 69 63 20 76 6f | cute;..........private.static.vo |
| 1340 | 69 64 20 45 78 65 63 75 74 65 28 49 50 6f 69 6e 74 65 72 45 6e 74 65 72 48 61 6e 64 6c 65 72 20 | id.Execute(IPointerEnterHandler. |
| 1360 | 68 61 6e 64 6c 65 72 2c 20 42 61 73 65 45 76 65 6e 74 44 61 74 61 20 65 76 65 6e 74 44 61 74 61 | handler,.BaseEventData.eventData |
| 1380 | 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 68 61 6e 64 6c 65 72 2e | ).........{.............handler. |
| 13a0 | 4f 6e 50 6f 69 6e 74 65 72 45 6e 74 65 72 28 56 61 6c 69 64 61 74 65 45 76 65 6e 74 44 61 74 61 | OnPointerEnter(ValidateEventData |
| 13c0 | 3c 50 6f 69 6e 74 65 72 45 76 65 6e 74 44 61 74 61 3e 28 65 76 65 6e 74 44 61 74 61 29 29 3b 0a | <PointerEventData>(eventData));. |
| 13e0 | 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 73 74 61 74 69 | ........}..........private.stati |
| 1400 | 63 20 72 65 61 64 6f 6e 6c 79 20 45 76 65 6e 74 46 75 6e 63 74 69 6f 6e 3c 49 50 6f 69 6e 74 65 | c.readonly.EventFunction<IPointe |
| 1420 | 72 45 78 69 74 48 61 6e 64 6c 65 72 3e 20 73 5f 50 6f 69 6e 74 65 72 45 78 69 74 48 61 6e 64 6c | rExitHandler>.s_PointerExitHandl |
| 1440 | 65 72 20 3d 20 45 78 65 63 75 74 65 3b 0a 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 73 | er.=.Execute;..........private.s |
| 1460 | 74 61 74 69 63 20 76 6f 69 64 20 45 78 65 63 75 74 65 28 49 50 6f 69 6e 74 65 72 45 78 69 74 48 | tatic.void.Execute(IPointerExitH |
| 1480 | 61 6e 64 6c 65 72 20 68 61 6e 64 6c 65 72 2c 20 42 61 73 65 45 76 65 6e 74 44 61 74 61 20 65 76 | andler.handler,.BaseEventData.ev |
| 14a0 | 65 6e 74 44 61 74 61 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 68 | entData).........{.............h |
| 14c0 | 61 6e 64 6c 65 72 2e 4f 6e 50 6f 69 6e 74 65 72 45 78 69 74 28 56 61 6c 69 64 61 74 65 45 76 65 | andler.OnPointerExit(ValidateEve |
| 14e0 | 6e 74 44 61 74 61 3c 50 6f 69 6e 74 65 72 45 76 65 6e 74 44 61 74 61 3e 28 65 76 65 6e 74 44 61 | ntData<PointerEventData>(eventDa |
| 1500 | 74 61 29 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 | ta));.........}..........private |
| 1520 | 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 45 76 65 6e 74 46 75 6e 63 74 69 6f 6e 3c 49 | .static.readonly.EventFunction<I |
| 1540 | 50 6f 69 6e 74 65 72 44 6f 77 6e 48 61 6e 64 6c 65 72 3e 20 73 5f 50 6f 69 6e 74 65 72 44 6f 77 | PointerDownHandler>.s_PointerDow |
| 1560 | 6e 48 61 6e 64 6c 65 72 20 3d 20 45 78 65 63 75 74 65 3b 0a 0a 20 20 20 20 20 20 20 20 70 72 69 | nHandler.=.Execute;..........pri |
| 1580 | 76 61 74 65 20 73 74 61 74 69 63 20 76 6f 69 64 20 45 78 65 63 75 74 65 28 49 50 6f 69 6e 74 65 | vate.static.void.Execute(IPointe |
| 15a0 | 72 44 6f 77 6e 48 61 6e 64 6c 65 72 20 68 61 6e 64 6c 65 72 2c 20 42 61 73 65 45 76 65 6e 74 44 | rDownHandler.handler,.BaseEventD |
| 15c0 | 61 74 61 20 65 76 65 6e 74 44 61 74 61 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 | ata.eventData).........{........ |
| 15e0 | 20 20 20 20 20 68 61 6e 64 6c 65 72 2e 4f 6e 50 6f 69 6e 74 65 72 44 6f 77 6e 28 56 61 6c 69 64 | .....handler.OnPointerDown(Valid |
| 1600 | 61 74 65 45 76 65 6e 74 44 61 74 61 3c 50 6f 69 6e 74 65 72 45 76 65 6e 74 44 61 74 61 3e 28 65 | ateEventData<PointerEventData>(e |
| 1620 | 76 65 6e 74 44 61 74 61 29 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 70 | ventData));.........}..........p |
| 1640 | 72 69 76 61 74 65 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 45 76 65 6e 74 46 75 6e 63 | rivate.static.readonly.EventFunc |
| 1660 | 74 69 6f 6e 3c 49 50 6f 69 6e 74 65 72 55 70 48 61 6e 64 6c 65 72 3e 20 73 5f 50 6f 69 6e 74 65 | tion<IPointerUpHandler>.s_Pointe |
| 1680 | 72 55 70 48 61 6e 64 6c 65 72 20 3d 20 45 78 65 63 75 74 65 3b 0a 0a 20 20 20 20 20 20 20 20 70 | rUpHandler.=.Execute;..........p |
| 16a0 | 72 69 76 61 74 65 20 73 74 61 74 69 63 20 76 6f 69 64 20 45 78 65 63 75 74 65 28 49 50 6f 69 6e | rivate.static.void.Execute(IPoin |
| 16c0 | 74 65 72 55 70 48 61 6e 64 6c 65 72 20 68 61 6e 64 6c 65 72 2c 20 42 61 73 65 45 76 65 6e 74 44 | terUpHandler.handler,.BaseEventD |
| 16e0 | 61 74 61 20 65 76 65 6e 74 44 61 74 61 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 | ata.eventData).........{........ |
| 1700 | 20 20 20 20 20 68 61 6e 64 6c 65 72 2e 4f 6e 50 6f 69 6e 74 65 72 55 70 28 56 61 6c 69 64 61 74 | .....handler.OnPointerUp(Validat |
| 1720 | 65 45 76 65 6e 74 44 61 74 61 3c 50 6f 69 6e 74 65 72 45 76 65 6e 74 44 61 74 61 3e 28 65 76 65 | eEventData<PointerEventData>(eve |
| 1740 | 6e 74 44 61 74 61 29 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 70 72 69 | ntData));.........}..........pri |
| 1760 | 76 61 74 65 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 45 76 65 6e 74 46 75 6e 63 74 69 | vate.static.readonly.EventFuncti |
| 1780 | 6f 6e 3c 49 50 6f 69 6e 74 65 72 43 6c 69 63 6b 48 61 6e 64 6c 65 72 3e 20 73 5f 50 6f 69 6e 74 | on<IPointerClickHandler>.s_Point |
| 17a0 | 65 72 43 6c 69 63 6b 48 61 6e 64 6c 65 72 20 3d 20 45 78 65 63 75 74 65 3b 0a 0a 20 20 20 20 20 | erClickHandler.=.Execute;....... |
| 17c0 | 20 20 20 70 72 69 76 61 74 65 20 73 74 61 74 69 63 20 76 6f 69 64 20 45 78 65 63 75 74 65 28 49 | ...private.static.void.Execute(I |
| 17e0 | 50 6f 69 6e 74 65 72 43 6c 69 63 6b 48 61 6e 64 6c 65 72 20 68 61 6e 64 6c 65 72 2c 20 42 61 73 | PointerClickHandler.handler,.Bas |
| 1800 | 65 45 76 65 6e 74 44 61 74 61 20 65 76 65 6e 74 44 61 74 61 29 0a 20 20 20 20 20 20 20 20 7b 0a | eEventData.eventData).........{. |
| 1820 | 20 20 20 20 20 20 20 20 20 20 20 20 68 61 6e 64 6c 65 72 2e 4f 6e 50 6f 69 6e 74 65 72 43 6c 69 | ............handler.OnPointerCli |
| 1840 | 63 6b 28 56 61 6c 69 64 61 74 65 45 76 65 6e 74 44 61 74 61 3c 50 6f 69 6e 74 65 72 45 76 65 6e | ck(ValidateEventData<PointerEven |
| 1860 | 74 44 61 74 61 3e 28 65 76 65 6e 74 44 61 74 61 29 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 | tData>(eventData));.........}... |
| 1880 | 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 45 | .......private.static.readonly.E |
| 18a0 | 76 65 6e 74 46 75 6e 63 74 69 6f 6e 3c 49 49 6e 69 74 69 61 6c 69 7a 65 50 6f 74 65 6e 74 69 61 | ventFunction<IInitializePotentia |
| 18c0 | 6c 44 72 61 67 48 61 6e 64 6c 65 72 3e 20 73 5f 49 6e 69 74 69 61 6c 69 7a 65 50 6f 74 65 6e 74 | lDragHandler>.s_InitializePotent |
| 18e0 | 69 61 6c 44 72 61 67 48 61 6e 64 6c 65 72 20 3d 20 45 78 65 63 75 74 65 3b 0a 0a 20 20 20 20 20 | ialDragHandler.=.Execute;....... |
| 1900 | 20 20 20 70 72 69 76 61 74 65 20 73 74 61 74 69 63 20 76 6f 69 64 20 45 78 65 63 75 74 65 28 49 | ...private.static.void.Execute(I |
| 1920 | 49 6e 69 74 69 61 6c 69 7a 65 50 6f 74 65 6e 74 69 61 6c 44 72 61 67 48 61 6e 64 6c 65 72 20 68 | InitializePotentialDragHandler.h |
| 1940 | 61 6e 64 6c 65 72 2c 20 42 61 73 65 45 76 65 6e 74 44 61 74 61 20 65 76 65 6e 74 44 61 74 61 29 | andler,.BaseEventData.eventData) |
| 1960 | 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 68 61 6e 64 6c 65 72 2e 4f | .........{.............handler.O |
| 1980 | 6e 49 6e 69 74 69 61 6c 69 7a 65 50 6f 74 65 6e 74 69 61 6c 44 72 61 67 28 56 61 6c 69 64 61 74 | nInitializePotentialDrag(Validat |
| 19a0 | 65 45 76 65 6e 74 44 61 74 61 3c 50 6f 69 6e 74 65 72 45 76 65 6e 74 44 61 74 61 3e 28 65 76 65 | eEventData<PointerEventData>(eve |
| 19c0 | 6e 74 44 61 74 61 29 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 70 72 69 | ntData));.........}..........pri |
| 19e0 | 76 61 74 65 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 45 76 65 6e 74 46 75 6e 63 74 69 | vate.static.readonly.EventFuncti |
| 1a00 | 6f 6e 3c 49 42 65 67 69 6e 44 72 61 67 48 61 6e 64 6c 65 72 3e 20 73 5f 42 65 67 69 6e 44 72 61 | on<IBeginDragHandler>.s_BeginDra |
| 1a20 | 67 48 61 6e 64 6c 65 72 20 3d 20 45 78 65 63 75 74 65 3b 0a 0a 20 20 20 20 20 20 20 20 70 72 69 | gHandler.=.Execute;..........pri |
| 1a40 | 76 61 74 65 20 73 74 61 74 69 63 20 76 6f 69 64 20 45 78 65 63 75 74 65 28 49 42 65 67 69 6e 44 | vate.static.void.Execute(IBeginD |
| 1a60 | 72 61 67 48 61 6e 64 6c 65 72 20 68 61 6e 64 6c 65 72 2c 20 42 61 73 65 45 76 65 6e 74 44 61 74 | ragHandler.handler,.BaseEventDat |
| 1a80 | 61 20 65 76 65 6e 74 44 61 74 61 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 | a.eventData).........{.......... |
| 1aa0 | 20 20 20 68 61 6e 64 6c 65 72 2e 4f 6e 42 65 67 69 6e 44 72 61 67 28 56 61 6c 69 64 61 74 65 45 | ...handler.OnBeginDrag(ValidateE |
| 1ac0 | 76 65 6e 74 44 61 74 61 3c 50 6f 69 6e 74 65 72 45 76 65 6e 74 44 61 74 61 3e 28 65 76 65 6e 74 | ventData<PointerEventData>(event |
| 1ae0 | 44 61 74 61 29 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 | Data));.........}..........priva |
| 1b00 | 74 65 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 45 76 65 6e 74 46 75 6e 63 74 69 6f 6e | te.static.readonly.EventFunction |
| 1b20 | 3c 49 44 72 61 67 48 61 6e 64 6c 65 72 3e 20 73 5f 44 72 61 67 48 61 6e 64 6c 65 72 20 3d 20 45 | <IDragHandler>.s_DragHandler.=.E |
| 1b40 | 78 65 63 75 74 65 3b 0a 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 73 74 61 74 69 63 20 | xecute;..........private.static. |
| 1b60 | 76 6f 69 64 20 45 78 65 63 75 74 65 28 49 44 72 61 67 48 61 6e 64 6c 65 72 20 68 61 6e 64 6c 65 | void.Execute(IDragHandler.handle |
| 1b80 | 72 2c 20 42 61 73 65 45 76 65 6e 74 44 61 74 61 20 65 76 65 6e 74 44 61 74 61 29 0a 20 20 20 20 | r,.BaseEventData.eventData)..... |
| 1ba0 | 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 68 61 6e 64 6c 65 72 2e 4f 6e 44 72 61 67 | ....{.............handler.OnDrag |
| 1bc0 | 28 56 61 6c 69 64 61 74 65 45 76 65 6e 74 44 61 74 61 3c 50 6f 69 6e 74 65 72 45 76 65 6e 74 44 | (ValidateEventData<PointerEventD |
| 1be0 | 61 74 61 3e 28 65 76 65 6e 74 44 61 74 61 29 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 | ata>(eventData));.........}..... |
| 1c00 | 20 20 20 20 20 70 72 69 76 61 74 65 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 45 76 65 | .....private.static.readonly.Eve |
| 1c20 | 6e 74 46 75 6e 63 74 69 6f 6e 3c 49 45 6e 64 44 72 61 67 48 61 6e 64 6c 65 72 3e 20 73 5f 45 6e | ntFunction<IEndDragHandler>.s_En |
| 1c40 | 64 44 72 61 67 48 61 6e 64 6c 65 72 20 3d 20 45 78 65 63 75 74 65 3b 0a 0a 20 20 20 20 20 20 20 | dDragHandler.=.Execute;......... |
| 1c60 | 20 70 72 69 76 61 74 65 20 73 74 61 74 69 63 20 76 6f 69 64 20 45 78 65 63 75 74 65 28 49 45 6e | .private.static.void.Execute(IEn |
| 1c80 | 64 44 72 61 67 48 61 6e 64 6c 65 72 20 68 61 6e 64 6c 65 72 2c 20 42 61 73 65 45 76 65 6e 74 44 | dDragHandler.handler,.BaseEventD |
| 1ca0 | 61 74 61 20 65 76 65 6e 74 44 61 74 61 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 | ata.eventData).........{........ |
| 1cc0 | 20 20 20 20 20 68 61 6e 64 6c 65 72 2e 4f 6e 45 6e 64 44 72 61 67 28 56 61 6c 69 64 61 74 65 45 | .....handler.OnEndDrag(ValidateE |
| 1ce0 | 76 65 6e 74 44 61 74 61 3c 50 6f 69 6e 74 65 72 45 76 65 6e 74 44 61 74 61 3e 28 65 76 65 6e 74 | ventData<PointerEventData>(event |
| 1d00 | 44 61 74 61 29 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 | Data));.........}..........priva |
| 1d20 | 74 65 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 45 76 65 6e 74 46 75 6e 63 74 69 6f 6e | te.static.readonly.EventFunction |
| 1d40 | 3c 49 44 72 6f 70 48 61 6e 64 6c 65 72 3e 20 73 5f 44 72 6f 70 48 61 6e 64 6c 65 72 20 3d 20 45 | <IDropHandler>.s_DropHandler.=.E |
| 1d60 | 78 65 63 75 74 65 3b 0a 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 73 74 61 74 69 63 20 | xecute;..........private.static. |
| 1d80 | 76 6f 69 64 20 45 78 65 63 75 74 65 28 49 44 72 6f 70 48 61 6e 64 6c 65 72 20 68 61 6e 64 6c 65 | void.Execute(IDropHandler.handle |
| 1da0 | 72 2c 20 42 61 73 65 45 76 65 6e 74 44 61 74 61 20 65 76 65 6e 74 44 61 74 61 29 0a 20 20 20 20 | r,.BaseEventData.eventData)..... |
| 1dc0 | 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 68 61 6e 64 6c 65 72 2e 4f 6e 44 72 6f 70 | ....{.............handler.OnDrop |
| 1de0 | 28 56 61 6c 69 64 61 74 65 45 76 65 6e 74 44 61 74 61 3c 50 6f 69 6e 74 65 72 45 76 65 6e 74 44 | (ValidateEventData<PointerEventD |
| 1e00 | 61 74 61 3e 28 65 76 65 6e 74 44 61 74 61 29 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 | ata>(eventData));.........}..... |
| 1e20 | 20 20 20 20 20 70 72 69 76 61 74 65 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 45 76 65 | .....private.static.readonly.Eve |
| 1e40 | 6e 74 46 75 6e 63 74 69 6f 6e 3c 49 53 63 72 6f 6c 6c 48 61 6e 64 6c 65 72 3e 20 73 5f 53 63 72 | ntFunction<IScrollHandler>.s_Scr |
| 1e60 | 6f 6c 6c 48 61 6e 64 6c 65 72 20 3d 20 45 78 65 63 75 74 65 3b 0a 0a 20 20 20 20 20 20 20 20 70 | ollHandler.=.Execute;..........p |
| 1e80 | 72 69 76 61 74 65 20 73 74 61 74 69 63 20 76 6f 69 64 20 45 78 65 63 75 74 65 28 49 53 63 72 6f | rivate.static.void.Execute(IScro |
| 1ea0 | 6c 6c 48 61 6e 64 6c 65 72 20 68 61 6e 64 6c 65 72 2c 20 42 61 73 65 45 76 65 6e 74 44 61 74 61 | llHandler.handler,.BaseEventData |
| 1ec0 | 20 65 76 65 6e 74 44 61 74 61 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 | .eventData).........{........... |
| 1ee0 | 20 20 68 61 6e 64 6c 65 72 2e 4f 6e 53 63 72 6f 6c 6c 28 56 61 6c 69 64 61 74 65 45 76 65 6e 74 | ..handler.OnScroll(ValidateEvent |
| 1f00 | 44 61 74 61 3c 50 6f 69 6e 74 65 72 45 76 65 6e 74 44 61 74 61 3e 28 65 76 65 6e 74 44 61 74 61 | Data<PointerEventData>(eventData |
| 1f20 | 29 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 73 | ));.........}..........private.s |
| 1f40 | 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 45 76 65 6e 74 46 75 6e 63 74 69 6f 6e 3c 49 55 70 | tatic.readonly.EventFunction<IUp |
| 1f60 | 64 61 74 65 53 65 6c 65 63 74 65 64 48 61 6e 64 6c 65 72 3e 20 73 5f 55 70 64 61 74 65 53 65 6c | dateSelectedHandler>.s_UpdateSel |
| 1f80 | 65 63 74 65 64 48 61 6e 64 6c 65 72 20 3d 20 45 78 65 63 75 74 65 3b 0a 0a 20 20 20 20 20 20 20 | ectedHandler.=.Execute;......... |
| 1fa0 | 20 70 72 69 76 61 74 65 20 73 74 61 74 69 63 20 76 6f 69 64 20 45 78 65 63 75 74 65 28 49 55 70 | .private.static.void.Execute(IUp |
| 1fc0 | 64 61 74 65 53 65 6c 65 63 74 65 64 48 61 6e 64 6c 65 72 20 68 61 6e 64 6c 65 72 2c 20 42 61 73 | dateSelectedHandler.handler,.Bas |
| 1fe0 | 65 45 76 65 6e 74 44 61 74 61 20 65 76 65 6e 74 44 61 74 61 29 0a 20 20 20 20 20 20 20 20 7b 0a | eEventData.eventData).........{. |
| 2000 | 20 20 20 20 20 20 20 20 20 20 20 20 68 61 6e 64 6c 65 72 2e 4f 6e 55 70 64 61 74 65 53 65 6c 65 | ............handler.OnUpdateSele |
| 2020 | 63 74 65 64 28 65 76 65 6e 74 44 61 74 61 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 | cted(eventData);.........}...... |
| 2040 | 20 20 20 20 70 72 69 76 61 74 65 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 45 76 65 6e | ....private.static.readonly.Even |
| 2060 | 74 46 75 6e 63 74 69 6f 6e 3c 49 53 65 6c 65 63 74 48 61 6e 64 6c 65 72 3e 20 73 5f 53 65 6c 65 | tFunction<ISelectHandler>.s_Sele |
| 2080 | 63 74 48 61 6e 64 6c 65 72 20 3d 20 45 78 65 63 75 74 65 3b 0a 0a 20 20 20 20 20 20 20 20 70 72 | ctHandler.=.Execute;..........pr |
| 20a0 | 69 76 61 74 65 20 73 74 61 74 69 63 20 76 6f 69 64 20 45 78 65 63 75 74 65 28 49 53 65 6c 65 63 | ivate.static.void.Execute(ISelec |
| 20c0 | 74 48 61 6e 64 6c 65 72 20 68 61 6e 64 6c 65 72 2c 20 42 61 73 65 45 76 65 6e 74 44 61 74 61 20 | tHandler.handler,.BaseEventData. |
| 20e0 | 65 76 65 6e 74 44 61 74 61 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 | eventData).........{............ |
| 2100 | 20 68 61 6e 64 6c 65 72 2e 4f 6e 53 65 6c 65 63 74 28 65 76 65 6e 74 44 61 74 61 29 3b 0a 20 20 | .handler.OnSelect(eventData);... |
| 2120 | 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 73 74 61 74 69 63 20 | ......}..........private.static. |
| 2140 | 72 65 61 64 6f 6e 6c 79 20 45 76 65 6e 74 46 75 6e 63 74 69 6f 6e 3c 49 44 65 73 65 6c 65 63 74 | readonly.EventFunction<IDeselect |
| 2160 | 48 61 6e 64 6c 65 72 3e 20 73 5f 44 65 73 65 6c 65 63 74 48 61 6e 64 6c 65 72 20 3d 20 45 78 65 | Handler>.s_DeselectHandler.=.Exe |
| 2180 | 63 75 74 65 3b 0a 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 73 74 61 74 69 63 20 76 6f | cute;..........private.static.vo |
| 21a0 | 69 64 20 45 78 65 63 75 74 65 28 49 44 65 73 65 6c 65 63 74 48 61 6e 64 6c 65 72 20 68 61 6e 64 | id.Execute(IDeselectHandler.hand |
| 21c0 | 6c 65 72 2c 20 42 61 73 65 45 76 65 6e 74 44 61 74 61 20 65 76 65 6e 74 44 61 74 61 29 0a 20 20 | ler,.BaseEventData.eventData)... |
| 21e0 | 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 68 61 6e 64 6c 65 72 2e 4f 6e 44 65 | ......{.............handler.OnDe |
| 2200 | 73 65 6c 65 63 74 28 65 76 65 6e 74 44 61 74 61 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 | select(eventData);.........}.... |
| 2220 | 20 20 20 20 20 20 70 72 69 76 61 74 65 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 45 76 | ......private.static.readonly.Ev |
| 2240 | 65 6e 74 46 75 6e 63 74 69 6f 6e 3c 49 4d 6f 76 65 48 61 6e 64 6c 65 72 3e 20 73 5f 4d 6f 76 65 | entFunction<IMoveHandler>.s_Move |
| 2260 | 48 61 6e 64 6c 65 72 20 3d 20 45 78 65 63 75 74 65 3b 0a 0a 20 20 20 20 20 20 20 20 70 72 69 76 | Handler.=.Execute;..........priv |
| 2280 | 61 74 65 20 73 74 61 74 69 63 20 76 6f 69 64 20 45 78 65 63 75 74 65 28 49 4d 6f 76 65 48 61 6e | ate.static.void.Execute(IMoveHan |
| 22a0 | 64 6c 65 72 20 68 61 6e 64 6c 65 72 2c 20 42 61 73 65 45 76 65 6e 74 44 61 74 61 20 65 76 65 6e | dler.handler,.BaseEventData.even |
| 22c0 | 74 44 61 74 61 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 68 61 6e | tData).........{.............han |
| 22e0 | 64 6c 65 72 2e 4f 6e 4d 6f 76 65 28 56 61 6c 69 64 61 74 65 45 76 65 6e 74 44 61 74 61 3c 41 78 | dler.OnMove(ValidateEventData<Ax |
| 2300 | 69 73 45 76 65 6e 74 44 61 74 61 3e 28 65 76 65 6e 74 44 61 74 61 29 29 3b 0a 20 20 20 20 20 20 | isEventData>(eventData));....... |
| 2320 | 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 73 74 61 74 69 63 20 72 65 61 64 | ..}..........private.static.read |
| 2340 | 6f 6e 6c 79 20 45 76 65 6e 74 46 75 6e 63 74 69 6f 6e 3c 49 53 75 62 6d 69 74 48 61 6e 64 6c 65 | only.EventFunction<ISubmitHandle |
| 2360 | 72 3e 20 73 5f 53 75 62 6d 69 74 48 61 6e 64 6c 65 72 20 3d 20 45 78 65 63 75 74 65 3b 0a 0a 20 | r>.s_SubmitHandler.=.Execute;... |
| 2380 | 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 73 74 61 74 69 63 20 76 6f 69 64 20 45 78 65 63 75 | .......private.static.void.Execu |
| 23a0 | 74 65 28 49 53 75 62 6d 69 74 48 61 6e 64 6c 65 72 20 68 61 6e 64 6c 65 72 2c 20 42 61 73 65 45 | te(ISubmitHandler.handler,.BaseE |
| 23c0 | 76 65 6e 74 44 61 74 61 20 65 76 65 6e 74 44 61 74 61 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 | ventData.eventData).........{... |
| 23e0 | 20 20 20 20 20 20 20 20 20 20 68 61 6e 64 6c 65 72 2e 4f 6e 53 75 62 6d 69 74 28 65 76 65 6e 74 | ..........handler.OnSubmit(event |
| 2400 | 44 61 74 61 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 | Data);.........}..........privat |
| 2420 | 65 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 45 76 65 6e 74 46 75 6e 63 74 69 6f 6e 3c | e.static.readonly.EventFunction< |
| 2440 | 49 43 61 6e 63 65 6c 48 61 6e 64 6c 65 72 3e 20 73 5f 43 61 6e 63 65 6c 48 61 6e 64 6c 65 72 20 | ICancelHandler>.s_CancelHandler. |
| 2460 | 3d 20 45 78 65 63 75 74 65 3b 0a 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 73 74 61 74 | =.Execute;..........private.stat |
| 2480 | 69 63 20 76 6f 69 64 20 45 78 65 63 75 74 65 28 49 43 61 6e 63 65 6c 48 61 6e 64 6c 65 72 20 68 | ic.void.Execute(ICancelHandler.h |
| 24a0 | 61 6e 64 6c 65 72 2c 20 42 61 73 65 45 76 65 6e 74 44 61 74 61 20 65 76 65 6e 74 44 61 74 61 29 | andler,.BaseEventData.eventData) |
| 24c0 | 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 68 61 6e 64 6c 65 72 2e 4f | .........{.............handler.O |
| 24e0 | 6e 43 61 6e 63 65 6c 28 65 76 65 6e 74 44 61 74 61 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 | nCancel(eventData);.........}... |
| 2500 | 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 45 76 65 6e 74 46 75 6e 63 74 69 | .......public.static.EventFuncti |
| 2520 | 6f 6e 3c 49 50 6f 69 6e 74 65 72 45 6e 74 65 72 48 61 6e 64 6c 65 72 3e 20 70 6f 69 6e 74 65 72 | on<IPointerEnterHandler>.pointer |
| 2540 | 45 6e 74 65 72 48 61 6e 64 6c 65 72 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 | EnterHandler.........{.......... |
| 2560 | 20 20 20 67 65 74 20 7b 20 72 65 74 75 72 6e 20 73 5f 50 6f 69 6e 74 65 72 45 6e 74 65 72 48 61 | ...get.{.return.s_PointerEnterHa |
| 2580 | 6e 64 6c 65 72 3b 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 70 75 62 6c | ndler;.}.........}..........publ |
| 25a0 | 69 63 20 73 74 61 74 69 63 20 45 76 65 6e 74 46 75 6e 63 74 69 6f 6e 3c 49 50 6f 69 6e 74 65 72 | ic.static.EventFunction<IPointer |
| 25c0 | 45 78 69 74 48 61 6e 64 6c 65 72 3e 20 70 6f 69 6e 74 65 72 45 78 69 74 48 61 6e 64 6c 65 72 0a | ExitHandler>.pointerExitHandler. |
| 25e0 | 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 20 7b 20 72 65 74 75 | ........{.............get.{.retu |
| 2600 | 72 6e 20 73 5f 50 6f 69 6e 74 65 72 45 78 69 74 48 61 6e 64 6c 65 72 3b 20 7d 0a 20 20 20 20 20 | rn.s_PointerExitHandler;.}...... |
| 2620 | 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 45 76 65 6e | ...}..........public.static.Even |
| 2640 | 74 46 75 6e 63 74 69 6f 6e 3c 49 50 6f 69 6e 74 65 72 44 6f 77 6e 48 61 6e 64 6c 65 72 3e 20 70 | tFunction<IPointerDownHandler>.p |
| 2660 | 6f 69 6e 74 65 72 44 6f 77 6e 48 61 6e 64 6c 65 72 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 | ointerDownHandler.........{..... |
| 2680 | 20 20 20 20 20 20 20 20 67 65 74 20 7b 20 72 65 74 75 72 6e 20 73 5f 50 6f 69 6e 74 65 72 44 6f | ........get.{.return.s_PointerDo |
| 26a0 | 77 6e 48 61 6e 64 6c 65 72 3b 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 | wnHandler;.}.........}.......... |
| 26c0 | 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 45 76 65 6e 74 46 75 6e 63 74 69 6f 6e 3c 49 50 6f 69 | public.static.EventFunction<IPoi |
| 26e0 | 6e 74 65 72 55 70 48 61 6e 64 6c 65 72 3e 20 70 6f 69 6e 74 65 72 55 70 48 61 6e 64 6c 65 72 0a | nterUpHandler>.pointerUpHandler. |
| 2700 | 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 20 7b 20 72 65 74 75 | ........{.............get.{.retu |
| 2720 | 72 6e 20 73 5f 50 6f 69 6e 74 65 72 55 70 48 61 6e 64 6c 65 72 3b 20 7d 0a 20 20 20 20 20 20 20 | rn.s_PointerUpHandler;.}........ |
| 2740 | 20 7d 0a 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 45 76 65 6e 74 46 | .}..........public.static.EventF |
| 2760 | 75 6e 63 74 69 6f 6e 3c 49 50 6f 69 6e 74 65 72 43 6c 69 63 6b 48 61 6e 64 6c 65 72 3e 20 70 6f | unction<IPointerClickHandler>.po |
| 2780 | 69 6e 74 65 72 43 6c 69 63 6b 48 61 6e 64 6c 65 72 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 | interClickHandler.........{..... |
| 27a0 | 20 20 20 20 20 20 20 20 67 65 74 20 7b 20 72 65 74 75 72 6e 20 73 5f 50 6f 69 6e 74 65 72 43 6c | ........get.{.return.s_PointerCl |
| 27c0 | 69 63 6b 48 61 6e 64 6c 65 72 3b 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 | ickHandler;.}.........}......... |
| 27e0 | 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 45 76 65 6e 74 46 75 6e 63 74 69 6f 6e 3c 49 49 6e | .public.static.EventFunction<IIn |
| 2800 | 69 74 69 61 6c 69 7a 65 50 6f 74 65 6e 74 69 61 6c 44 72 61 67 48 61 6e 64 6c 65 72 3e 20 69 6e | itializePotentialDragHandler>.in |
| 2820 | 69 74 69 61 6c 69 7a 65 50 6f 74 65 6e 74 69 61 6c 44 72 61 67 0a 20 20 20 20 20 20 20 20 7b 0a | itializePotentialDrag.........{. |
| 2840 | 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 20 7b 20 72 65 74 75 72 6e 20 73 5f 49 6e 69 74 69 | ............get.{.return.s_Initi |
| 2860 | 61 6c 69 7a 65 50 6f 74 65 6e 74 69 61 6c 44 72 61 67 48 61 6e 64 6c 65 72 3b 20 7d 0a 20 20 20 | alizePotentialDragHandler;.}.... |
| 2880 | 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 45 76 | .....}..........public.static.Ev |
| 28a0 | 65 6e 74 46 75 6e 63 74 69 6f 6e 3c 49 42 65 67 69 6e 44 72 61 67 48 61 6e 64 6c 65 72 3e 20 62 | entFunction<IBeginDragHandler>.b |
| 28c0 | 65 67 69 6e 44 72 61 67 48 61 6e 64 6c 65 72 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 | eginDragHandler.........{....... |
| 28e0 | 20 20 20 20 20 20 67 65 74 20 7b 20 72 65 74 75 72 6e 20 73 5f 42 65 67 69 6e 44 72 61 67 48 61 | ......get.{.return.s_BeginDragHa |
| 2900 | 6e 64 6c 65 72 3b 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 70 75 62 6c | ndler;.}.........}..........publ |
| 2920 | 69 63 20 73 74 61 74 69 63 20 45 76 65 6e 74 46 75 6e 63 74 69 6f 6e 3c 49 44 72 61 67 48 61 6e | ic.static.EventFunction<IDragHan |
| 2940 | 64 6c 65 72 3e 20 64 72 61 67 48 61 6e 64 6c 65 72 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 | dler>.dragHandler.........{..... |
| 2960 | 20 20 20 20 20 20 20 20 67 65 74 20 7b 20 72 65 74 75 72 6e 20 73 5f 44 72 61 67 48 61 6e 64 6c | ........get.{.return.s_DragHandl |
| 2980 | 65 72 3b 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 | er;.}.........}..........public. |
| 29a0 | 73 74 61 74 69 63 20 45 76 65 6e 74 46 75 6e 63 74 69 6f 6e 3c 49 45 6e 64 44 72 61 67 48 61 6e | static.EventFunction<IEndDragHan |
| 29c0 | 64 6c 65 72 3e 20 65 6e 64 44 72 61 67 48 61 6e 64 6c 65 72 0a 20 20 20 20 20 20 20 20 7b 0a 20 | dler>.endDragHandler.........{.. |
| 29e0 | 20 20 20 20 20 20 20 20 20 20 20 67 65 74 20 7b 20 72 65 74 75 72 6e 20 73 5f 45 6e 64 44 72 61 | ...........get.{.return.s_EndDra |
| 2a00 | 67 48 61 6e 64 6c 65 72 3b 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 70 | gHandler;.}.........}..........p |
| 2a20 | 75 62 6c 69 63 20 73 74 61 74 69 63 20 45 76 65 6e 74 46 75 6e 63 74 69 6f 6e 3c 49 44 72 6f 70 | ublic.static.EventFunction<IDrop |
| 2a40 | 48 61 6e 64 6c 65 72 3e 20 64 72 6f 70 48 61 6e 64 6c 65 72 0a 20 20 20 20 20 20 20 20 7b 0a 20 | Handler>.dropHandler.........{.. |
| 2a60 | 20 20 20 20 20 20 20 20 20 20 20 67 65 74 20 7b 20 72 65 74 75 72 6e 20 73 5f 44 72 6f 70 48 61 | ...........get.{.return.s_DropHa |
| 2a80 | 6e 64 6c 65 72 3b 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 70 75 62 6c | ndler;.}.........}..........publ |
| 2aa0 | 69 63 20 73 74 61 74 69 63 20 45 76 65 6e 74 46 75 6e 63 74 69 6f 6e 3c 49 53 63 72 6f 6c 6c 48 | ic.static.EventFunction<IScrollH |
| 2ac0 | 61 6e 64 6c 65 72 3e 20 73 63 72 6f 6c 6c 48 61 6e 64 6c 65 72 0a 20 20 20 20 20 20 20 20 7b 0a | andler>.scrollHandler.........{. |
| 2ae0 | 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 20 7b 20 72 65 74 75 72 6e 20 73 5f 53 63 72 6f 6c | ............get.{.return.s_Scrol |
| 2b00 | 6c 48 61 6e 64 6c 65 72 3b 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 70 | lHandler;.}.........}..........p |
| 2b20 | 75 62 6c 69 63 20 73 74 61 74 69 63 20 45 76 65 6e 74 46 75 6e 63 74 69 6f 6e 3c 49 55 70 64 61 | ublic.static.EventFunction<IUpda |
| 2b40 | 74 65 53 65 6c 65 63 74 65 64 48 61 6e 64 6c 65 72 3e 20 75 70 64 61 74 65 53 65 6c 65 63 74 65 | teSelectedHandler>.updateSelecte |
| 2b60 | 64 48 61 6e 64 6c 65 72 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 67 | dHandler.........{.............g |
| 2b80 | 65 74 20 7b 20 72 65 74 75 72 6e 20 73 5f 55 70 64 61 74 65 53 65 6c 65 63 74 65 64 48 61 6e 64 | et.{.return.s_UpdateSelectedHand |
| 2ba0 | 6c 65 72 3b 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 | ler;.}.........}..........public |
| 2bc0 | 20 73 74 61 74 69 63 20 45 76 65 6e 74 46 75 6e 63 74 69 6f 6e 3c 49 53 65 6c 65 63 74 48 61 6e | .static.EventFunction<ISelectHan |
| 2be0 | 64 6c 65 72 3e 20 73 65 6c 65 63 74 48 61 6e 64 6c 65 72 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 | dler>.selectHandler.........{... |
| 2c00 | 20 20 20 20 20 20 20 20 20 20 67 65 74 20 7b 20 72 65 74 75 72 6e 20 73 5f 53 65 6c 65 63 74 48 | ..........get.{.return.s_SelectH |
| 2c20 | 61 6e 64 6c 65 72 3b 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 70 75 62 | andler;.}.........}..........pub |
| 2c40 | 6c 69 63 20 73 74 61 74 69 63 20 45 76 65 6e 74 46 75 6e 63 74 69 6f 6e 3c 49 44 65 73 65 6c 65 | lic.static.EventFunction<IDesele |
| 2c60 | 63 74 48 61 6e 64 6c 65 72 3e 20 64 65 73 65 6c 65 63 74 48 61 6e 64 6c 65 72 0a 20 20 20 20 20 | ctHandler>.deselectHandler...... |
| 2c80 | 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 20 7b 20 72 65 74 75 72 6e 20 73 5f | ...{.............get.{.return.s_ |
| 2ca0 | 44 65 73 65 6c 65 63 74 48 61 6e 64 6c 65 72 3b 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 | DeselectHandler;.}.........}.... |
| 2cc0 | 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 45 76 65 6e 74 46 75 6e 63 74 69 6f | ......public.static.EventFunctio |
| 2ce0 | 6e 3c 49 4d 6f 76 65 48 61 6e 64 6c 65 72 3e 20 6d 6f 76 65 48 61 6e 64 6c 65 72 0a 20 20 20 20 | n<IMoveHandler>.moveHandler..... |
| 2d00 | 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 20 7b 20 72 65 74 75 72 6e 20 73 | ....{.............get.{.return.s |
| 2d20 | 5f 4d 6f 76 65 48 61 6e 64 6c 65 72 3b 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 | _MoveHandler;.}.........}....... |
| 2d40 | 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 45 76 65 6e 74 46 75 6e 63 74 69 6f 6e 3c 49 | ...public.static.EventFunction<I |
| 2d60 | 53 75 62 6d 69 74 48 61 6e 64 6c 65 72 3e 20 73 75 62 6d 69 74 48 61 6e 64 6c 65 72 0a 20 20 20 | SubmitHandler>.submitHandler.... |
| 2d80 | 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 20 7b 20 72 65 74 75 72 6e 20 | .....{.............get.{.return. |
| 2da0 | 73 5f 53 75 62 6d 69 74 48 61 6e 64 6c 65 72 3b 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 | s_SubmitHandler;.}.........}.... |
| 2dc0 | 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 45 76 65 6e 74 46 75 6e 63 74 69 6f | ......public.static.EventFunctio |
| 2de0 | 6e 3c 49 43 61 6e 63 65 6c 48 61 6e 64 6c 65 72 3e 20 63 61 6e 63 65 6c 48 61 6e 64 6c 65 72 0a | n<ICancelHandler>.cancelHandler. |
| 2e00 | 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 20 7b 20 72 65 74 75 | ........{.............get.{.retu |
| 2e20 | 72 6e 20 73 5f 43 61 6e 63 65 6c 48 61 6e 64 6c 65 72 3b 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a | rn.s_CancelHandler;.}.........}. |
| 2e40 | 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 73 74 61 74 69 63 20 76 6f 69 64 20 47 65 74 | .........private.static.void.Get |
| 2e60 | 45 76 65 6e 74 43 68 61 69 6e 28 47 61 6d 65 4f 62 6a 65 63 74 20 72 6f 6f 74 2c 20 49 4c 69 73 | EventChain(GameObject.root,.ILis |
| 2e80 | 74 3c 54 72 61 6e 73 66 6f 72 6d 3e 20 65 76 65 6e 74 43 68 61 69 6e 29 0a 20 20 20 20 20 20 20 | t<Transform>.eventChain)........ |
| 2ea0 | 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 76 65 6e 74 43 68 61 69 6e 2e 43 6c 65 61 72 28 | .{.............eventChain.Clear( |
| 2ec0 | 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 72 6f 6f 74 20 3d 3d 20 6e 75 6c 6c 29 | );.............if.(root.==.null) |
| 2ee0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 | .................return;........ |
| 2f00 | 20 20 20 20 20 20 76 61 72 20 74 20 3d 20 72 6f 6f 74 2e 74 72 61 6e 73 66 6f 72 6d 3b 0a 20 20 | ......var.t.=.root.transform;... |
| 2f20 | 20 20 20 20 20 20 20 20 20 20 77 68 69 6c 65 20 28 74 20 21 3d 20 6e 75 6c 6c 29 0a 20 20 20 20 | ..........while.(t.!=.null)..... |
| 2f40 | 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 76 65 6e 74 43 | ........{.................eventC |
| 2f60 | 68 61 69 6e 2e 41 64 64 28 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 20 3d | hain.Add(t);.................t.= |
| 2f80 | 20 74 2e 70 61 72 65 6e 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 | .t.parent;.............}........ |
| 2fa0 | 20 7d 0a 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 73 74 61 74 69 63 20 72 65 61 64 6f | .}..........private.static.reado |
| 2fc0 | 6e 6c 79 20 4f 62 6a 65 63 74 50 6f 6f 6c 3c 4c 69 73 74 3c 49 45 76 65 6e 74 53 79 73 74 65 6d | nly.ObjectPool<List<IEventSystem |
| 2fe0 | 48 61 6e 64 6c 65 72 3e 3e 20 73 5f 48 61 6e 64 6c 65 72 4c 69 73 74 50 6f 6f 6c 20 3d 20 6e 65 | Handler>>.s_HandlerListPool.=.ne |
| 3000 | 77 20 4f 62 6a 65 63 74 50 6f 6f 6c 3c 4c 69 73 74 3c 49 45 76 65 6e 74 53 79 73 74 65 6d 48 61 | w.ObjectPool<List<IEventSystemHa |
| 3020 | 6e 64 6c 65 72 3e 3e 28 6e 75 6c 6c 2c 20 6c 20 3d 3e 20 6c 2e 43 6c 65 61 72 28 29 29 3b 0a 0a | ndler>>(null,.l.=>.l.Clear());.. |
| 3040 | 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 62 6f 6f 6c 20 45 78 65 63 75 | ........public.static.bool.Execu |
| 3060 | 74 65 3c 54 3e 28 47 61 6d 65 4f 62 6a 65 63 74 20 74 61 72 67 65 74 2c 20 42 61 73 65 45 76 65 | te<T>(GameObject.target,.BaseEve |
| 3080 | 6e 74 44 61 74 61 20 65 76 65 6e 74 44 61 74 61 2c 20 45 76 65 6e 74 46 75 6e 63 74 69 6f 6e 3c | ntData.eventData,.EventFunction< |
| 30a0 | 54 3e 20 66 75 6e 63 74 6f 72 29 20 77 68 65 72 65 20 54 20 3a 20 49 45 76 65 6e 74 53 79 73 74 | T>.functor).where.T.:.IEventSyst |
| 30c0 | 65 6d 48 61 6e 64 6c 65 72 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | emHandler.........{............. |
| 30e0 | 76 61 72 20 69 6e 74 65 72 6e 61 6c 48 61 6e 64 6c 65 72 73 20 3d 20 73 5f 48 61 6e 64 6c 65 72 | var.internalHandlers.=.s_Handler |
| 3100 | 4c 69 73 74 50 6f 6f 6c 2e 47 65 74 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 47 65 74 45 | ListPool.Get();.............GetE |
| 3120 | 76 65 6e 74 4c 69 73 74 3c 54 3e 28 74 61 72 67 65 74 2c 20 69 6e 74 65 72 6e 61 6c 48 61 6e 64 | ventList<T>(target,.internalHand |
| 3140 | 6c 65 72 73 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 20 69 66 20 28 73 5f 49 6e 74 | lers);.............//..if.(s_Int |
| 3160 | 65 72 6e 61 6c 48 61 6e 64 6c 65 72 73 2e 43 6f 75 6e 74 20 3e 20 30 29 0a 20 20 20 20 20 20 20 | ernalHandlers.Count.>.0)........ |
| 3180 | 20 20 20 20 20 2f 2f 20 20 20 20 20 20 44 65 62 75 67 2e 4c 6f 67 28 22 45 78 65 63 75 74 69 6e | .....//......Debug.Log("Executin |
| 31a0 | 6e 67 20 22 20 2b 20 74 79 70 65 6f 66 20 28 54 29 20 2b 20 22 20 6f 6e 20 22 20 2b 20 74 61 72 | ng.".+.typeof.(T).+.".on.".+.tar |
| 31c0 | 67 65 74 29 3b 0a 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 | get);..............for.(var.i.=. |
| 31e0 | 30 3b 20 69 20 3c 20 69 6e 74 65 72 6e 61 6c 48 61 6e 64 6c 65 72 73 2e 43 6f 75 6e 74 3b 20 69 | 0;.i.<.internalHandlers.Count;.i |
| 3200 | 2b 2b 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ++).............{............... |
| 3220 | 20 20 54 20 61 72 67 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 72 79 0a 20 20 20 | ..T.arg;.................try.... |
| 3240 | 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .............{.................. |
| 3260 | 20 20 20 61 72 67 20 3d 20 28 54 29 69 6e 74 65 72 6e 61 6c 48 61 6e 64 6c 65 72 73 5b 69 5d 3b | ...arg.=.(T)internalHandlers[i]; |
| 3280 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | .................}.............. |
| 32a0 | 20 20 20 63 61 74 63 68 20 28 45 78 63 65 70 74 69 6f 6e 20 65 29 0a 20 20 20 20 20 20 20 20 20 | ...catch.(Exception.e).......... |
| 32c0 | 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 | .......{.....................var |
| 32e0 | 20 74 65 6d 70 20 3d 20 69 6e 74 65 72 6e 61 6c 48 61 6e 64 6c 65 72 73 5b 69 5d 3b 0a 20 20 20 | .temp.=.internalHandlers[i];.... |
| 3300 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 44 65 62 75 67 2e 4c 6f 67 45 78 63 65 70 74 | .................Debug.LogExcept |
| 3320 | 69 6f 6e 28 6e 65 77 20 45 78 63 65 70 74 69 6f 6e 28 73 74 72 69 6e 67 2e 46 6f 72 6d 61 74 28 | ion(new.Exception(string.Format( |
| 3340 | 22 54 79 70 65 20 7b 30 7d 20 65 78 70 65 63 74 65 64 20 7b 31 7d 20 72 65 63 65 69 76 65 64 2e | "Type.{0}.expected.{1}.received. |
| 3360 | 22 2c 20 74 79 70 65 6f 66 28 54 29 2e 4e 61 6d 65 2c 20 74 65 6d 70 2e 47 65 74 54 79 70 65 28 | ",.typeof(T).Name,.temp.GetType( |
| 3380 | 29 2e 4e 61 6d 65 29 2c 20 65 29 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ).Name),.e));................... |
| 33a0 | 20 20 63 6f 6e 74 69 6e 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 | ..continue;.................}... |
| 33c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 72 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ...............try.............. |
| 33e0 | 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 75 6e 63 74 6f 72 | ...{.....................functor |
| 3400 | 28 61 72 67 2c 20 65 76 65 6e 74 44 61 74 61 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | (arg,.eventData);............... |
| 3420 | 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 74 63 68 20 28 45 78 63 65 70 | ..}.................catch.(Excep |
| 3440 | 74 69 6f 6e 20 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 | tion.e).................{....... |
| 3460 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 44 65 62 75 67 2e 4c 6f 67 45 78 63 65 70 74 69 6f 6e | ..............Debug.LogException |
| 3480 | 28 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 | (e);.................}.......... |
| 34a0 | 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 68 61 6e 64 6c 65 72 43 6f 75 | ...}..............var.handlerCou |
| 34c0 | 6e 74 20 3d 20 69 6e 74 65 72 6e 61 6c 48 61 6e 64 6c 65 72 73 2e 43 6f 75 6e 74 3b 0a 20 20 20 | nt.=.internalHandlers.Count;.... |
| 34e0 | 20 20 20 20 20 20 20 20 20 73 5f 48 61 6e 64 6c 65 72 4c 69 73 74 50 6f 6f 6c 2e 52 65 6c 65 61 | .........s_HandlerListPool.Relea |
| 3500 | 73 65 28 69 6e 74 65 72 6e 61 6c 48 61 6e 64 6c 65 72 73 29 3b 0a 20 20 20 20 20 20 20 20 20 20 | se(internalHandlers);........... |
| 3520 | 20 20 72 65 74 75 72 6e 20 68 61 6e 64 6c 65 72 43 6f 75 6e 74 20 3e 20 30 3b 0a 20 20 20 20 20 | ..return.handlerCount.>.0;...... |
| 3540 | 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0a 20 20 20 20 | ...}..........///.<summary>..... |
| 3560 | 20 20 20 20 2f 2f 2f 20 45 78 65 63 75 74 65 20 74 68 65 20 73 70 65 63 69 66 69 65 64 20 65 76 | ....///.Execute.the.specified.ev |
| 3580 | 65 6e 74 20 6f 6e 20 74 68 65 20 66 69 72 73 74 20 67 61 6d 65 20 6f 62 6a 65 63 74 20 75 6e 64 | ent.on.the.first.game.object.und |
| 35a0 | 65 72 6e 65 61 74 68 20 74 68 65 20 63 75 72 72 65 6e 74 20 74 6f 75 63 68 2e 0a 20 20 20 20 20 | erneath.the.current.touch....... |
| 35c0 | 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 | ...///.</summary>.........privat |
| 35e0 | 65 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 4c 69 73 74 3c 54 72 61 6e 73 66 6f 72 6d | e.static.readonly.List<Transform |
| 3600 | 3e 20 73 5f 49 6e 74 65 72 6e 61 6c 54 72 61 6e 73 66 6f 72 6d 4c 69 73 74 20 3d 20 6e 65 77 20 | >.s_InternalTransformList.=.new. |
| 3620 | 4c 69 73 74 3c 54 72 61 6e 73 66 6f 72 6d 3e 28 33 30 29 3b 0a 0a 20 20 20 20 20 20 20 20 70 75 | List<Transform>(30);..........pu |
| 3640 | 62 6c 69 63 20 73 74 61 74 69 63 20 47 61 6d 65 4f 62 6a 65 63 74 20 45 78 65 63 75 74 65 48 69 | blic.static.GameObject.ExecuteHi |
| 3660 | 65 72 61 72 63 68 79 3c 54 3e 28 47 61 6d 65 4f 62 6a 65 63 74 20 72 6f 6f 74 2c 20 42 61 73 65 | erarchy<T>(GameObject.root,.Base |
| 3680 | 45 76 65 6e 74 44 61 74 61 20 65 76 65 6e 74 44 61 74 61 2c 20 45 76 65 6e 74 46 75 6e 63 74 69 | EventData.eventData,.EventFuncti |
| 36a0 | 6f 6e 3c 54 3e 20 63 61 6c 6c 62 61 63 6b 46 75 6e 63 74 69 6f 6e 29 20 77 68 65 72 65 20 54 20 | on<T>.callbackFunction).where.T. |
| 36c0 | 3a 20 49 45 76 65 6e 74 53 79 73 74 65 6d 48 61 6e 64 6c 65 72 0a 20 20 20 20 20 20 20 20 7b 0a | :.IEventSystemHandler.........{. |
| 36e0 | 20 20 20 20 20 20 20 20 20 20 20 20 47 65 74 45 76 65 6e 74 43 68 61 69 6e 28 72 6f 6f 74 2c 20 | ............GetEventChain(root,. |
| 3700 | 73 5f 49 6e 74 65 72 6e 61 6c 54 72 61 6e 73 66 6f 72 6d 4c 69 73 74 29 3b 0a 0a 20 20 20 20 20 | s_InternalTransformList);....... |
| 3720 | 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 73 5f 49 6e 74 | .......for.(var.i.=.0;.i.<.s_Int |
| 3740 | 65 72 6e 61 6c 54 72 61 6e 73 66 6f 72 6d 4c 69 73 74 2e 43 6f 75 6e 74 3b 20 69 2b 2b 29 0a 20 | ernalTransformList.Count;.i++).. |
| 3760 | 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 | ...........{.................var |
| 3780 | 20 74 72 61 6e 73 66 6f 72 6d 20 3d 20 73 5f 49 6e 74 65 72 6e 61 6c 54 72 61 6e 73 66 6f 72 6d | .transform.=.s_InternalTransform |
| 37a0 | 4c 69 73 74 5b 69 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 45 78 65 | List[i];.................if.(Exe |
| 37c0 | 63 75 74 65 28 74 72 61 6e 73 66 6f 72 6d 2e 67 61 6d 65 4f 62 6a 65 63 74 2c 20 65 76 65 6e 74 | cute(transform.gameObject,.event |
| 37e0 | 44 61 74 61 2c 20 63 61 6c 6c 62 61 63 6b 46 75 6e 63 74 69 6f 6e 29 29 0a 20 20 20 20 20 20 20 | Data,.callbackFunction))........ |
| 3800 | 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 61 6e 73 66 6f 72 6d 2e 67 61 | .............return.transform.ga |
| 3820 | 6d 65 4f 62 6a 65 63 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 | meObject;.............}......... |
| 3840 | 20 20 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 | ....return.null;.........}...... |
| 3860 | 20 20 20 20 70 72 69 76 61 74 65 20 73 74 61 74 69 63 20 62 6f 6f 6c 20 53 68 6f 75 6c 64 53 65 | ....private.static.bool.ShouldSe |
| 3880 | 6e 64 54 6f 43 6f 6d 70 6f 6e 65 6e 74 3c 54 3e 28 43 6f 6d 70 6f 6e 65 6e 74 20 63 6f 6d 70 6f | ndToComponent<T>(Component.compo |
| 38a0 | 6e 65 6e 74 29 20 77 68 65 72 65 20 54 20 3a 20 49 45 76 65 6e 74 53 79 73 74 65 6d 48 61 6e 64 | nent).where.T.:.IEventSystemHand |
| 38c0 | 6c 65 72 0a 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 76 61 | ler.........{.............var.va |
| 38e0 | 6c 69 64 20 3d 20 63 6f 6d 70 6f 6e 65 6e 74 20 69 73 20 54 3b 0a 20 20 20 20 20 20 20 20 20 20 | lid.=.component.is.T;........... |
| 3900 | 20 20 69 66 20 28 21 76 61 6c 69 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 | ..if.(!valid).................re |
| 3920 | 74 75 72 6e 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 62 65 68 | turn.false;..............var.beh |
| 3940 | 61 76 69 6f 75 72 20 3d 20 63 6f 6d 70 6f 6e 65 6e 74 20 61 73 20 42 65 68 61 76 69 6f 75 72 3b | aviour.=.component.as.Behaviour; |
| 3960 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 62 65 68 61 76 69 6f 75 72 20 21 3d 20 6e 75 | .............if.(behaviour.!=.nu |
| 3980 | 6c 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 62 65 68 61 76 | ll).................return.behav |
| 39a0 | 69 6f 75 72 2e 69 73 41 63 74 69 76 65 41 6e 64 45 6e 61 62 6c 65 64 3b 0a 20 20 20 20 20 20 20 | iour.isActiveAndEnabled;........ |
| 39c0 | 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 | .....return.true;.........}..... |
| 39e0 | 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 47 | .....///.<summary>.........///.G |
| 3a00 | 65 74 20 74 68 65 20 73 70 65 63 69 66 69 65 64 20 6f 62 6a 65 63 74 27 73 20 65 76 65 6e 74 20 | et.the.specified.object's.event. |
| 3a20 | 65 76 65 6e 74 2e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0a 20 20 | event..........///.</summary>... |
| 3a40 | 20 20 20 20 20 20 70 72 69 76 61 74 65 20 73 74 61 74 69 63 20 76 6f 69 64 20 47 65 74 45 76 65 | ......private.static.void.GetEve |
| 3a60 | 6e 74 4c 69 73 74 3c 54 3e 28 47 61 6d 65 4f 62 6a 65 63 74 20 67 6f 2c 20 49 4c 69 73 74 3c 49 | ntList<T>(GameObject.go,.IList<I |
| 3a80 | 45 76 65 6e 74 53 79 73 74 65 6d 48 61 6e 64 6c 65 72 3e 20 72 65 73 75 6c 74 73 29 20 77 68 65 | EventSystemHandler>.results).whe |
| 3aa0 | 72 65 20 54 20 3a 20 49 45 76 65 6e 74 53 79 73 74 65 6d 48 61 6e 64 6c 65 72 0a 20 20 20 20 20 | re.T.:.IEventSystemHandler...... |
| 3ac0 | 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 44 65 62 75 67 2e 4c 6f 67 57 61 72 | ...{.............//.Debug.LogWar |
| 3ae0 | 6e 69 6e 67 28 22 47 65 74 45 76 65 6e 74 4c 69 73 74 3c 22 20 2b 20 74 79 70 65 6f 66 28 54 29 | ning("GetEventList<".+.typeof(T) |
| 3b00 | 2e 4e 61 6d 65 20 2b 20 22 3e 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 72 65 | .Name.+.">");.............if.(re |
| 3b20 | 73 75 6c 74 73 20 3d 3d 20 6e 75 6c 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 | sults.==.null).................t |
| 3b40 | 68 72 6f 77 20 6e 65 77 20 41 72 67 75 6d 65 6e 74 45 78 63 65 70 74 69 6f 6e 28 22 52 65 73 75 | hrow.new.ArgumentException("Resu |
| 3b60 | 6c 74 73 20 61 72 72 61 79 20 69 73 20 6e 75 6c 6c 22 2c 20 22 72 65 73 75 6c 74 73 22 29 3b 0a | lts.array.is.null",."results");. |
| 3b80 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 67 6f 20 3d 3d 20 6e 75 6c 6c 20 7c 7c 20 21 | .............if.(go.==.null.||.! |
| 3ba0 | 67 6f 2e 61 63 74 69 76 65 49 6e 48 69 65 72 61 72 63 68 79 29 0a 20 20 20 20 20 20 20 20 20 20 | go.activeInHierarchy)........... |
| 3bc0 | 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 | ......return;..............var.c |
| 3be0 | 6f 6d 70 6f 6e 65 6e 74 73 20 3d 20 4c 69 73 74 50 6f 6f 6c 3c 43 6f 6d 70 6f 6e 65 6e 74 3e 2e | omponents.=.ListPool<Component>. |
| 3c00 | 47 65 74 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 67 6f 2e 47 65 74 43 6f 6d 70 6f 6e 65 | Get();.............go.GetCompone |
| 3c20 | 6e 74 73 28 63 6f 6d 70 6f 6e 65 6e 74 73 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 | nts(components);.............for |
| 3c40 | 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 63 6f 6d 70 6f 6e 65 6e 74 73 2e 43 6f 75 6e | .(var.i.=.0;.i.<.components.Coun |
| 3c60 | 74 3b 20 69 2b 2b 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 | t;.i++).............{........... |
| 3c80 | 20 20 20 20 20 20 69 66 20 28 21 53 68 6f 75 6c 64 53 65 6e 64 54 6f 43 6f 6d 70 6f 6e 65 6e 74 | ......if.(!ShouldSendToComponent |
| 3ca0 | 3c 54 3e 28 63 6f 6d 70 6f 6e 65 6e 74 73 5b 69 5d 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | <T>(components[i]))............. |
| 3cc0 | 20 20 20 20 20 20 20 20 63 6f 6e 74 69 6e 75 65 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ........continue;............... |
| 3ce0 | 20 20 20 2f 2f 20 44 65 62 75 67 2e 4c 6f 67 28 73 74 72 69 6e 67 2e 46 6f 72 6d 61 74 28 22 7b | ...//.Debug.Log(string.Format("{ |
| 3d00 | 32 7d 20 66 6f 75 6e 64 21 20 4f 6e 20 7b 30 7d 2e 7b 31 7d 22 2c 20 67 6f 2c 20 73 5f 47 65 74 | 2}.found!.On.{0}.{1}",.go,.s_Get |
| 3d20 | 43 6f 6d 70 6f 6e 65 6e 74 73 53 63 72 61 74 63 68 5b 69 5d 2e 47 65 74 54 79 70 65 28 29 2c 20 | ComponentsScratch[i].GetType(),. |
| 3d40 | 74 79 70 65 6f 66 28 54 29 29 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 73 | typeof(T)));.................res |
| 3d60 | 75 6c 74 73 2e 41 64 64 28 63 6f 6d 70 6f 6e 65 6e 74 73 5b 69 5d 20 61 73 20 49 45 76 65 6e 74 | ults.Add(components[i].as.IEvent |
| 3d80 | 53 79 73 74 65 6d 48 61 6e 64 6c 65 72 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 | SystemHandler);.............}... |
| 3da0 | 20 20 20 20 20 20 20 20 20 20 4c 69 73 74 50 6f 6f 6c 3c 43 6f 6d 70 6f 6e 65 6e 74 3e 2e 52 65 | ..........ListPool<Component>.Re |
| 3dc0 | 6c 65 61 73 65 28 63 6f 6d 70 6f 6e 65 6e 74 73 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f | lease(components);............./ |
| 3de0 | 2f 20 44 65 62 75 67 2e 4c 6f 67 57 61 72 6e 69 6e 67 28 22 65 6e 64 20 47 65 74 45 76 65 6e 74 | /.Debug.LogWarning("end.GetEvent |
| 3e00 | 4c 69 73 74 3c 22 20 2b 20 74 79 70 65 6f 66 28 54 29 2e 4e 61 6d 65 20 2b 20 22 3e 22 29 3b 0a | List<".+.typeof(T).Name.+.">");. |
| 3e20 | 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e | ........}..........///.<summary> |
| 3e40 | 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 57 68 65 74 68 65 72 20 74 68 65 20 73 70 65 63 69 66 69 | .........///.Whether.the.specifi |
| 3e60 | 65 64 20 67 61 6d 65 20 6f 62 6a 65 63 74 20 77 69 6c 6c 20 62 65 20 61 62 6c 65 20 74 6f 20 68 | ed.game.object.will.be.able.to.h |
| 3e80 | 61 6e 64 6c 65 20 74 68 65 20 73 70 65 63 69 66 69 65 64 20 65 76 65 6e 74 2e 0a 20 20 20 20 20 | andle.the.specified.event....... |
| 3ea0 | 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 | ...///.</summary>.........public |
| 3ec0 | 20 73 74 61 74 69 63 20 62 6f 6f 6c 20 43 61 6e 48 61 6e 64 6c 65 45 76 65 6e 74 3c 54 3e 28 47 | .static.bool.CanHandleEvent<T>(G |
| 3ee0 | 61 6d 65 4f 62 6a 65 63 74 20 67 6f 29 20 77 68 65 72 65 20 54 20 3a 20 49 45 76 65 6e 74 53 79 | ameObject.go).where.T.:.IEventSy |
| 3f00 | 73 74 65 6d 48 61 6e 64 6c 65 72 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 | stemHandler.........{........... |
| 3f20 | 20 20 76 61 72 20 69 6e 74 65 72 6e 61 6c 48 61 6e 64 6c 65 72 73 20 3d 20 73 5f 48 61 6e 64 6c | ..var.internalHandlers.=.s_Handl |
| 3f40 | 65 72 4c 69 73 74 50 6f 6f 6c 2e 47 65 74 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 47 65 | erListPool.Get();.............Ge |
| 3f60 | 74 45 76 65 6e 74 4c 69 73 74 3c 54 3e 28 67 6f 2c 20 69 6e 74 65 72 6e 61 6c 48 61 6e 64 6c 65 | tEventList<T>(go,.internalHandle |
| 3f80 | 72 73 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 68 61 6e 64 6c 65 72 43 6f 75 6e | rs);.............var.handlerCoun |
| 3fa0 | 74 20 3d 20 69 6e 74 65 72 6e 61 6c 48 61 6e 64 6c 65 72 73 2e 43 6f 75 6e 74 3b 0a 20 20 20 20 | t.=.internalHandlers.Count;..... |
| 3fc0 | 20 20 20 20 20 20 20 20 73 5f 48 61 6e 64 6c 65 72 4c 69 73 74 50 6f 6f 6c 2e 52 65 6c 65 61 73 | ........s_HandlerListPool.Releas |
| 3fe0 | 65 28 69 6e 74 65 72 6e 61 6c 48 61 6e 64 6c 65 72 73 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 | e(internalHandlers);............ |
| 4000 | 20 72 65 74 75 72 6e 20 68 61 6e 64 6c 65 72 43 6f 75 6e 74 20 21 3d 20 30 3b 0a 20 20 20 20 20 | .return.handlerCount.!=.0;...... |
| 4020 | 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0a 20 20 20 20 | ...}..........///.<summary>..... |
| 4040 | 20 20 20 20 2f 2f 2f 20 42 75 62 62 6c 65 20 74 68 65 20 73 70 65 63 69 66 69 65 64 20 65 76 65 | ....///.Bubble.the.specified.eve |
| 4060 | 6e 74 20 6f 6e 20 74 68 65 20 67 61 6d 65 20 6f 62 6a 65 63 74 2c 20 66 69 67 75 72 69 6e 67 20 | nt.on.the.game.object,.figuring. |
| 4080 | 6f 75 74 20 77 68 69 63 68 20 6f 62 6a 65 63 74 20 77 69 6c 6c 20 61 63 74 75 61 6c 6c 79 20 72 | out.which.object.will.actually.r |
| 40a0 | 65 63 65 69 76 65 20 74 68 65 20 65 76 65 6e 74 2e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f | eceive.the.event..........///.</ |
| 40c0 | 73 75 6d 6d 61 72 79 3e 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 47 | summary>.........public.static.G |
| 40e0 | 61 6d 65 4f 62 6a 65 63 74 20 47 65 74 45 76 65 6e 74 48 61 6e 64 6c 65 72 3c 54 3e 28 47 61 6d | ameObject.GetEventHandler<T>(Gam |
| 4100 | 65 4f 62 6a 65 63 74 20 72 6f 6f 74 29 20 77 68 65 72 65 20 54 20 3a 20 49 45 76 65 6e 74 53 79 | eObject.root).where.T.:.IEventSy |
| 4120 | 73 74 65 6d 48 61 6e 64 6c 65 72 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 | stemHandler.........{........... |
| 4140 | 20 20 69 66 20 28 72 6f 6f 74 20 3d 3d 20 6e 75 6c 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ..if.(root.==.null)............. |
| 4160 | 20 20 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 54 72 | ....return.null;..............Tr |
| 4180 | 61 6e 73 66 6f 72 6d 20 74 20 3d 20 72 6f 6f 74 2e 74 72 61 6e 73 66 6f 72 6d 3b 0a 20 20 20 20 | ansform.t.=.root.transform;..... |
| 41a0 | 20 20 20 20 20 20 20 20 77 68 69 6c 65 20 28 74 20 21 3d 20 6e 75 6c 6c 29 0a 20 20 20 20 20 20 | ........while.(t.!=.null)....... |
| 41c0 | 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 43 61 6e 48 | ......{.................if.(CanH |
| 41e0 | 61 6e 64 6c 65 45 76 65 6e 74 3c 54 3e 28 74 2e 67 61 6d 65 4f 62 6a 65 63 74 29 29 0a 20 20 20 | andleEvent<T>(t.gameObject)).... |
| 4200 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 2e 67 61 6d 65 4f 62 | .................return.t.gameOb |
| 4220 | 6a 65 63 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 20 3d 20 74 2e 70 61 72 65 | ject;.................t.=.t.pare |
| 4240 | 6e 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 | nt;.............}.............re |
| 4260 | 74 75 72 6e 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 7d 0a 00 00 00 | turn.null;.........}.....}.}.... |
| 4280 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0d 00 00 00 45 78 65 63 75 74 65 45 | ........................ExecuteE |
| 42a0 | 76 65 6e 74 73 00 00 00 18 00 00 00 55 6e 69 74 79 45 6e 67 69 6e 65 2e 45 76 65 6e 74 53 79 73 | vents.......UnityEngine.EventSys |
| 42c0 | 74 65 6d 73 | tems |