summaryrefslogtreecommitdiff
path: root/Library/Artifacts/5b/5b43a384abfe8945ff5ffac249db962b
blob: af743fd861885aead26d548f471a01af920b1296 (plain)
ofshex dumpascii
0000 00 00 0f 81 00 00 27 08 00 00 00 15 00 00 10 00 00 00 00 00 32 30 31 39 2e 33 2e 36 66 31 00 fe ......'.............2019.3.6f1..
0020 ff ff ff 01 02 00 00 00 0b 04 00 00 00 ff ff 66 9a 86 21 eb 14 35 98 39 dd 34 1d 51 0e c1 f3 42 ...............f..!..5.9.4.Q...B
0040 00 00 00 ed 00 00 00 02 00 00 00 00 00 00 00 37 00 00 80 ff ff ff ff 00 00 00 00 00 80 00 00 00 ...............7................
0060 00 00 00 00 00 00 00 01 00 01 00 a6 03 00 80 b2 01 00 80 04 00 00 00 01 00 00 00 01 00 00 00 00 ................................
0080 00 00 00 00 00 00 00 01 00 01 00 0d 00 00 00 45 04 00 80 0c 00 00 00 02 00 00 00 01 00 00 00 00 ...............E................
00a0 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 23 00 00 00 04 00 00 00 03 00 00 00 01 00 80 00 00 ...............#................
00c0 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 2c 00 00 00 08 00 00 00 04 00 00 00 01 00 80 00 00 ...............,................
00e0 00 00 00 00 00 00 00 01 00 01 00 35 00 00 00 61 04 00 80 0c 00 00 00 05 00 00 00 01 00 00 00 00 ...........5...a................
0100 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 23 00 00 00 04 00 00 00 06 00 00 00 01 00 80 00 00 ...............#................
0120 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 2c 00 00 00 08 00 00 00 07 00 00 00 01 00 80 00 00 ...............,................
0140 00 00 00 00 00 00 00 01 00 01 00 86 02 00 80 72 04 00 80 0c 00 00 00 08 00 00 00 01 00 00 00 00 ...............r................
0160 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 23 00 00 00 04 00 00 00 09 00 00 00 01 00 80 00 00 ...............#................
0180 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 2c 00 00 00 08 00 00 00 0a 00 00 00 01 00 80 00 00 ...............,................
01a0 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 ab 01 00 80 ff ff ff ff 0b 00 00 00 01 80 08 00 00 ...........H....................
01c0 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 0c 00 00 00 01 40 08 00 00 ...........1...1............@...
01e0 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 0d 00 00 00 01 00 08 00 00 ................................
0200 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a 00 00 80 01 00 00 00 0e 00 00 00 01 00 08 00 00 ...........Q...j................
0220 00 00 00 00 00 00 00 01 00 01 00 f1 00 00 80 4a 00 00 00 ff ff ff ff 0f 00 00 00 00 c0 00 00 00 ...............J................
0240 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 10 00 00 00 00 80 00 00 00 ...........1...1................
0260 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 11 00 00 00 00 00 00 00 00 ................................
0280 00 00 00 00 00 00 00 01 00 03 00 1f 02 00 80 6a 00 00 80 ff ff ff ff 12 00 00 00 00 80 00 00 00 ...............j................
02a0 00 00 00 00 00 00 00 01 00 04 00 5c 00 00 00 9b 00 00 80 ff ff ff ff 13 00 00 00 00 80 00 00 00 ...........\....................
02c0 00 00 00 00 00 00 00 01 00 05 00 48 03 00 80 72 00 00 00 ff ff ff ff 14 00 00 00 00 80 00 00 00 ...........H...r................
02e0 00 00 00 00 00 00 00 01 00 06 01 31 00 00 80 31 00 00 80 ff ff ff ff 15 00 00 00 01 40 00 00 00 ...........1...1............@...
0300 00 00 00 00 00 00 00 01 00 07 00 de 00 00 80 1b 03 00 80 04 00 00 00 16 00 00 00 01 00 00 00 00 ................................
0320 00 00 00 00 00 00 00 01 00 07 00 51 00 00 80 6a 00 00 80 01 00 00 00 17 00 00 00 01 00 00 00 00 ...........Q...j................
0340 00 00 00 00 00 00 00 01 00 05 00 48 03 00 80 77 00 00 00 ff ff ff ff 18 00 00 00 00 80 00 00 00 ...........H...w................
0360 00 00 00 00 00 00 00 01 00 06 01 31 00 00 80 31 00 00 80 ff ff ff ff 19 00 00 00 01 40 00 00 00 ...........1...1............@...
0380 00 00 00 00 00 00 00 01 00 07 00 de 00 00 80 1b 03 00 80 04 00 00 00 1a 00 00 00 01 00 00 00 00 ................................
03a0 00 00 00 00 00 00 00 01 00 07 00 51 00 00 80 6a 00 00 80 01 00 00 00 1b 00 00 00 01 00 00 00 00 ...........Q...j................
03c0 00 00 00 00 00 00 00 01 00 05 00 48 03 00 80 80 00 00 00 ff ff ff ff 1c 00 00 00 00 80 00 00 00 ...........H....................
03e0 00 00 00 00 00 00 00 01 00 06 01 31 00 00 80 31 00 00 80 ff ff ff ff 1d 00 00 00 01 40 00 00 00 ...........1...1............@...
0400 00 00 00 00 00 00 00 01 00 07 00 de 00 00 80 1b 03 00 80 04 00 00 00 1e 00 00 00 01 00 00 00 00 ................................
0420 00 00 00 00 00 00 00 01 00 07 00 51 00 00 80 6a 00 00 80 01 00 00 00 1f 00 00 00 01 00 00 00 00 ...........Q...j................
0440 00 00 00 00 00 00 00 01 00 04 00 79 02 00 80 0a 03 00 80 0c 00 00 00 20 00 00 00 00 00 00 00 00 ...........y....................
0460 00 00 00 00 00 00 00 01 00 05 00 de 00 00 80 23 00 00 00 04 00 00 00 21 00 00 00 01 00 80 00 00 ...............#.......!........
0480 00 00 00 00 00 00 00 01 00 05 00 2e 03 00 80 2c 00 00 00 08 00 00 00 22 00 00 00 01 00 80 00 00 ...............,......."........
04a0 00 00 00 00 00 00 00 01 00 01 00 11 03 00 80 85 00 00 00 ff ff ff ff 23 00 00 00 01 40 08 00 00 .......................#....@...
04c0 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 24 00 00 00 01 00 08 00 00 ...........1...1.......$........
04e0 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 25 00 00 00 01 00 08 00 00 .......................%........
0500 00 00 00 00 00 00 00 01 00 03 00 2e 03 00 80 6a 00 00 80 08 00 00 00 26 00 00 00 01 00 08 00 00 ...............j.......&........
0520 00 00 00 00 00 00 00 01 00 01 00 d5 03 00 80 93 00 00 00 ff ff ff ff 27 00 00 00 00 80 00 00 00 .......................'........
0540 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 28 00 00 00 00 c0 00 00 00 ...........1...1.......(........
0560 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 29 00 00 00 00 00 00 00 00 .......................)........
0580 00 00 00 00 00 00 00 01 00 03 00 1f 02 00 80 6a 00 00 80 ff ff ff ff 2a 00 00 00 00 80 00 00 00 ...............j.......*........
05a0 00 00 00 00 00 00 00 01 00 04 00 48 03 00 80 9b 00 00 80 ff ff ff ff 2b 00 00 00 00 80 00 00 00 ...........H...........+........
05c0 00 00 00 00 00 00 00 01 00 05 01 31 00 00 80 31 00 00 80 ff ff ff ff 2c 00 00 00 01 40 00 00 00 ...........1...1.......,....@...
05e0 00 00 00 00 00 00 00 01 00 06 00 de 00 00 80 1b 03 00 80 04 00 00 00 2d 00 00 00 01 00 00 00 00 .......................-........
0600 00 00 00 00 00 00 00 01 00 06 00 51 00 00 80 6a 00 00 80 01 00 00 00 2e 00 00 00 01 00 00 00 00 ...........Q...j................
0620 00 00 00 00 00 00 00 01 00 04 00 79 02 00 80 0a 03 00 80 0c 00 00 00 2f 00 00 00 00 00 00 00 00 ...........y.........../........
0640 00 00 00 00 00 00 00 01 00 05 00 de 00 00 80 23 00 00 00 04 00 00 00 30 00 00 00 01 00 80 00 00 ...............#.......0........
0660 00 00 00 00 00 00 00 01 00 05 00 2e 03 00 80 2c 00 00 00 08 00 00 00 31 00 00 00 01 00 80 00 00 ...............,.......1........
0680 00 00 00 00 00 00 00 01 00 01 00 20 03 00 80 a7 00 00 00 02 00 00 00 32 00 00 00 00 40 00 00 00 .......................2....@...
06a0 00 00 00 00 00 00 00 01 00 01 00 be 02 00 80 b6 00 00 00 0c 00 00 00 33 00 00 00 00 40 00 00 00 .......................3....@...
06c0 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 23 00 00 00 04 00 00 00 34 00 00 00 01 00 80 00 00 ...............#.......4........
06e0 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 2c 00 00 00 08 00 00 00 35 00 00 00 01 00 80 00 00 ...............,.......5........
0700 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 bb 00 00 00 ff ff ff ff 36 00 00 00 01 80 00 00 00 ...........H...........6........
0720 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 37 00 00 00 01 40 00 00 00 ...........1...1.......7....@...
0740 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 38 00 00 00 01 00 00 00 00 .......................8........
0760 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a 00 00 80 01 00 00 00 39 00 00 00 01 00 00 00 00 ...........Q...j.......9........
0780 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 c6 00 00 00 ff ff ff ff 3a 00 00 00 01 80 00 00 00 ...........H...........:........
07a0 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 3b 00 00 00 01 40 00 00 00 ...........1...1.......;....@...
07c0 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 3c 00 00 00 01 00 00 00 00 .......................<........
07e0 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a 00 00 80 01 00 00 00 3d 00 00 00 01 00 00 00 00 ...........Q...j.......=........
0800 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 d8 00 00 00 ff ff ff ff 3e 00 00 00 01 80 00 00 00 ...........H...........>........
0820 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 3f 00 00 00 01 40 00 00 00 ...........1...1.......?....@...
0840 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 40 00 00 00 01 00 00 00 00 .......................@........
0860 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a 00 00 80 01 00 00 00 41 00 00 00 01 00 00 00 00 ...........Q...j.......A........
0880 00 00 00 00 00 00 00 4d 6f 6e 6f 49 6d 70 6f 72 74 65 72 00 50 50 74 72 3c 45 64 69 74 6f 72 45 .......MonoImporter.PPtr<EditorE
08a0 78 74 65 6e 73 69 6f 6e 3e 00 6d 5f 46 69 6c 65 49 44 00 6d 5f 50 61 74 68 49 44 00 50 50 74 72 xtension>.m_FileID.m_PathID.PPtr
08c0 3c 50 72 65 66 61 62 49 6e 73 74 61 6e 63 65 3e 00 6d 5f 45 78 74 65 72 6e 61 6c 4f 62 6a 65 63 <PrefabInstance>.m_ExternalObjec
08e0 74 73 00 53 6f 75 72 63 65 41 73 73 65 74 49 64 65 6e 74 69 66 69 65 72 00 74 79 70 65 00 61 73 ts.SourceAssetIdentifier.type.as
0900 73 65 6d 62 6c 79 00 6e 61 6d 65 00 6d 5f 55 73 65 64 46 69 6c 65 49 44 73 00 6d 5f 44 65 66 61 sembly.name.m_UsedFileIDs.m_Defa
0920 75 6c 74 52 65 66 65 72 65 6e 63 65 73 00 65 78 65 63 75 74 69 6f 6e 4f 72 64 65 72 00 69 63 6f ultReferences.executionOrder.ico
0940 6e 00 6d 5f 55 73 65 72 44 61 74 61 00 6d 5f 41 73 73 65 74 42 75 6e 64 6c 65 4e 61 6d 65 00 6d n.m_UserData.m_AssetBundleName.m
0960 5f 41 73 73 65 74 42 75 6e 64 6c 65 56 61 72 69 61 6e 74 00 00 00 00 00 73 00 00 00 00 ff ff a3 _AssetBundleVariant.....s.......
0980 47 f1 d7 dc 8f 5a 35 36 a0 3a 21 40 69 c1 4a 2a 00 00 00 81 00 00 00 05 00 00 00 15 01 00 80 37 G....Z56.:!@i.J*...............7
09a0 00 00 80 ff ff ff ff 00 00 00 00 00 80 00 00 00 00 00 00 00 00 00 00 01 00 01 00 a6 03 00 80 b2 ................................
09c0 01 00 80 04 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 00 00 00 00 45 ...............................E
09e0 04 00 80 0c 00 00 00 02 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 16 ................................
0a00 00 00 00 04 00 00 00 03 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 1f ................................
0a20 00 00 00 08 00 00 00 04 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 28 00 00 00 61 ...........................(...a
0a40 04 00 80 0c 00 00 00 05 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 16 ................................
0a60 00 00 00 04 00 00 00 06 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 1f ................................
0a80 00 00 00 08 00 00 00 07 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 86 02 00 80 72 ...............................r
0aa0 04 00 80 0c 00 00 00 08 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 16 ................................
0ac0 00 00 00 04 00 00 00 09 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 1f ................................
0ae0 00 00 00 08 00 00 00 0a 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 ab ...........................H....
0b00 01 00 80 ff ff ff ff 0b 00 00 00 01 80 08 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 ...........................1...1
0b20 00 00 80 ff ff ff ff 0c 00 00 00 01 40 08 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b ............@...................
0b40 03 00 80 04 00 00 00 0d 00 00 00 01 00 08 00 00 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a ...........................Q...j
0b60 00 00 80 01 00 00 00 0e 00 00 00 01 00 08 00 00 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 ea ...........................H....
0b80 01 00 80 ff ff ff ff 0f 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 ...........................1...1
0ba0 00 00 80 ff ff ff ff 10 00 00 00 01 40 00 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b ............@...................
0bc0 03 00 80 04 00 00 00 11 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a ...........................Q...j
0be0 00 00 80 01 00 00 00 12 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 f1 00 00 80 3d ...............................=
0c00 00 00 00 ff ff ff ff 13 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 ...........................1...1
0c20 00 00 80 ff ff ff ff 14 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b ................................
0c40 03 00 80 04 00 00 00 15 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 03 00 1f 02 00 80 6a ...............................j
0c60 00 00 80 ff ff ff ff 16 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 04 00 48 03 00 80 9b ...........................H....
0c80 00 00 80 ff ff ff ff 17 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 05 01 31 00 00 80 31 ...........................1...1
0ca0 00 00 80 ff ff ff ff 18 00 00 00 01 40 00 00 00 00 00 00 00 00 00 00 01 00 06 00 de 00 00 80 1b ............@...................
0cc0 03 00 80 04 00 00 00 19 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 06 00 51 00 00 80 6a ...........................Q...j
0ce0 00 00 80 01 00 00 00 1a 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 04 00 79 02 00 80 0a ...........................y....
0d00 03 00 80 0c 00 00 00 1b 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 05 00 de 00 00 80 16 ................................
0d20 00 00 00 04 00 00 00 1c 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 05 00 2e 03 00 80 1f ................................
0d40 00 00 00 08 00 00 00 1d 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 79 02 00 80 51 ...........................y...Q
0d60 00 00 00 0c 00 00 00 1e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 16 ................................
0d80 00 00 00 04 00 00 00 1f 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 1f ................................
0da0 00 00 00 08 00 00 00 20 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 de 00 00 80 58 ...............................X
0dc0 00 00 00 04 00 00 00 21 00 00 00 10 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 69 .......!...................H...i
0de0 00 00 00 ff ff ff ff 22 00 00 00 10 80 00 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 ......."...................1...1
0e00 00 00 80 ff ff ff ff 23 00 00 00 11 40 00 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b .......#....@...................
0e20 03 00 80 04 00 00 00 24 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a .......$...................Q...j
0e40 00 00 80 01 00 00 00 25 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 75 .......%...................H...u
0e60 00 00 00 ff ff ff ff 26 00 00 00 10 80 00 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 .......&...................1...1
0e80 00 00 80 ff ff ff ff 27 00 00 00 11 40 00 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b .......'....@...................
0ea0 03 00 80 04 00 00 00 28 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a .......(...................Q...j
0ec0 00 00 80 01 00 00 00 29 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 50 50 74 72 3c 45 64 69 74 .......)...............PPtr<Edit
0ee0 6f 72 45 78 74 65 6e 73 69 6f 6e 3e 00 6d 5f 46 69 6c 65 49 44 00 6d 5f 50 61 74 68 49 44 00 50 orExtension>.m_FileID.m_PathID.P
0f00 50 74 72 3c 50 72 65 66 61 62 49 6e 73 74 61 6e 63 65 3e 00 6d 5f 44 65 66 61 75 6c 74 52 65 66 Ptr<PrefabInstance>.m_DefaultRef
0f20 65 72 65 6e 63 65 73 00 6d 5f 49 63 6f 6e 00 6d 5f 45 78 65 63 75 74 69 6f 6e 4f 72 64 65 72 00 erences.m_Icon.m_ExecutionOrder.
0f40 6d 5f 43 6c 61 73 73 4e 61 6d 65 00 6d 5f 4e 61 6d 65 73 70 61 63 65 00 00 00 00 00 02 00 00 00 m_ClassName.m_Namespace.........
0f60 03 00 00 00 00 00 00 00 00 00 00 00 5c 00 00 00 00 00 00 00 e0 79 af 00 00 00 00 00 60 00 00 00 ............\........y......`...
0f80 a8 16 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0fa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0fc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0fe0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 e0 79 af 00 00 00 00 00 00 00 00 00 .....................y..........
1040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1080 00 00 00 00 00 00 00 00 0b 00 00 00 54 6f 67 67 6c 65 47 72 6f 75 70 00 32 16 00 00 75 73 69 6e ............ToggleGroup.2...usin
10a0 67 20 53 79 73 74 65 6d 3b 0a 75 73 69 6e 67 20 53 79 73 74 65 6d 2e 4c 69 6e 71 3b 0a 75 73 69 g.System;.using.System.Linq;.usi
10c0 6e 67 20 53 79 73 74 65 6d 2e 43 6f 6c 6c 65 63 74 69 6f 6e 73 2e 47 65 6e 65 72 69 63 3b 0a 75 ng.System.Collections.Generic;.u
10e0 73 69 6e 67 20 55 6e 69 74 79 45 6e 67 69 6e 65 2e 45 76 65 6e 74 53 79 73 74 65 6d 73 3b 0a 0a sing.UnityEngine.EventSystems;..
1100 6e 61 6d 65 73 70 61 63 65 20 55 6e 69 74 79 45 6e 67 69 6e 65 2e 55 49 0a 7b 0a 20 20 20 20 5b namespace.UnityEngine.UI.{.....[
1120 41 64 64 43 6f 6d 70 6f 6e 65 6e 74 4d 65 6e 75 28 22 55 49 2f 54 6f 67 67 6c 65 20 47 72 6f 75 AddComponentMenu("UI/Toggle.Grou
1140 70 22 2c 20 33 32 29 5d 0a 20 20 20 20 5b 44 69 73 61 6c 6c 6f 77 4d 75 6c 74 69 70 6c 65 43 6f p",.32)].....[DisallowMultipleCo
1160 6d 70 6f 6e 65 6e 74 5d 0a 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0a 20 20 20 20 2f mponent].....///.<summary>...../
1180 2f 2f 20 41 20 63 6f 6d 70 6f 6e 65 6e 74 20 74 68 61 74 20 72 65 70 72 65 73 65 6e 74 73 20 61 //.A.component.that.represents.a
11a0 20 67 72 6f 75 70 20 6f 66 20 55 49 2e 54 6f 67 67 6c 65 73 2e 0a 20 20 20 20 2f 2f 2f 20 3c 2f .group.of.UI.Toggles......///.</
11c0 73 75 6d 6d 61 72 79 3e 0a 20 20 20 20 2f 2f 2f 20 3c 72 65 6d 61 72 6b 73 3e 0a 20 20 20 20 2f summary>.....///.<remarks>...../
11e0 2f 2f 20 57 68 65 6e 20 75 73 69 6e 67 20 61 20 67 72 6f 75 70 20 72 65 66 65 72 65 6e 63 65 20 //.When.using.a.group.reference.
1200 74 68 65 20 67 72 6f 75 70 20 66 72 6f 6d 20 61 20 55 49 2e 54 6f 67 67 6c 65 2e 20 4f 6e 6c 79 the.group.from.a.UI.Toggle..Only
1220 20 6f 6e 65 20 6d 65 6d 62 65 72 20 6f 66 20 61 20 67 72 6f 75 70 20 63 61 6e 20 62 65 20 61 63 .one.member.of.a.group.can.be.ac
1240 74 69 76 65 20 61 74 20 61 20 74 69 6d 65 2e 0a 20 20 20 20 2f 2f 2f 20 3c 2f 72 65 6d 61 72 6b tive.at.a.time......///.</remark
1260 73 3e 0a 20 20 20 20 70 75 62 6c 69 63 20 63 6c 61 73 73 20 54 6f 67 67 6c 65 47 72 6f 75 70 20 s>.....public.class.ToggleGroup.
1280 3a 20 55 49 42 65 68 61 76 69 6f 75 72 0a 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 5b 53 65 72 :.UIBehaviour.....{.........[Ser
12a0 69 61 6c 69 7a 65 46 69 65 6c 64 5d 20 70 72 69 76 61 74 65 20 62 6f 6f 6c 20 6d 5f 41 6c 6c 6f ializeField].private.bool.m_Allo
12c0 77 53 77 69 74 63 68 4f 66 66 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 20 20 20 20 2f 2f 2f wSwitchOff.=.false;..........///
12e0 20 3c 73 75 6d 6d 61 72 79 3e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 49 73 20 69 74 20 61 6c 6c .<summary>.........///.Is.it.all
1300 6f 77 65 64 20 74 68 61 74 20 6e 6f 20 74 6f 67 67 6c 65 20 69 73 20 73 77 69 74 63 68 65 64 20 owed.that.no.toggle.is.switched.
1320 6f 6e 3f 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0a 20 20 20 20 20 on?.........///.</summary>......
1340 20 20 20 2f 2f 2f 20 3c 72 65 6d 61 72 6b 73 3e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 49 66 20 ...///.<remarks>.........///.If.
1360 74 68 69 73 20 73 65 74 74 69 6e 67 20 69 73 20 65 6e 61 62 6c 65 64 2c 20 70 72 65 73 73 69 6e this.setting.is.enabled,.pressin
1380 67 20 74 68 65 20 74 6f 67 67 6c 65 20 74 68 61 74 20 69 73 20 63 75 72 72 65 6e 74 6c 79 20 73 g.the.toggle.that.is.currently.s
13a0 77 69 74 63 68 65 64 20 6f 6e 20 77 69 6c 6c 20 73 77 69 74 63 68 20 69 74 20 6f 66 66 2c 20 73 witched.on.will.switch.it.off,.s
13c0 6f 20 74 68 61 74 20 6e 6f 20 74 6f 67 67 6c 65 20 69 73 20 73 77 69 74 63 68 65 64 20 6f 6e 2e o.that.no.toggle.is.switched.on.
13e0 20 49 66 20 74 68 69 73 20 73 65 74 74 69 6e 67 20 69 73 20 64 69 73 61 62 6c 65 64 2c 20 70 72 .If.this.setting.is.disabled,.pr
1400 65 73 73 69 6e 67 20 74 68 65 20 74 6f 67 67 6c 65 20 74 68 61 74 20 69 73 20 63 75 72 72 65 6e essing.the.toggle.that.is.curren
1420 74 6c 79 20 73 77 69 74 63 68 65 64 20 6f 6e 20 77 69 6c 6c 20 6e 6f 74 20 63 68 61 6e 67 65 20 tly.switched.on.will.not.change.
1440 69 74 73 20 73 74 61 74 65 2e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 4e 6f 74 65 20 74 68 61 74 its.state..........///.Note.that
1460 20 65 76 65 6e 20 69 66 20 61 6c 6c 6f 77 53 77 69 74 63 68 4f 66 66 20 69 73 20 66 61 6c 73 65 .even.if.allowSwitchOff.is.false
1480 2c 20 74 68 65 20 54 6f 67 67 6c 65 20 47 72 6f 75 70 20 77 69 6c 6c 20 6e 6f 74 20 65 6e 66 6f ,.the.Toggle.Group.will.not.enfo
14a0 72 63 65 20 69 74 73 20 63 6f 6e 73 74 72 61 69 6e 74 20 72 69 67 68 74 20 61 77 61 79 20 69 66 rce.its.constraint.right.away.if
14c0 20 6e 6f 20 74 6f 67 67 6c 65 73 20 69 6e 20 74 68 65 20 67 72 6f 75 70 20 61 72 65 20 73 77 69 .no.toggles.in.the.group.are.swi
14e0 74 63 68 65 64 20 6f 6e 20 77 68 65 6e 20 74 68 65 20 73 63 65 6e 65 20 69 73 20 6c 6f 61 64 65 tched.on.when.the.scene.is.loade
1500 64 20 6f 72 20 77 68 65 6e 20 74 68 65 20 67 72 6f 75 70 20 69 73 20 69 6e 73 74 61 6e 74 69 61 d.or.when.the.group.is.instantia
1520 74 65 64 2e 20 49 74 20 77 69 6c 6c 20 6f 6e 6c 79 20 70 72 65 76 65 6e 74 20 74 68 65 20 75 73 ted..It.will.only.prevent.the.us
1540 65 72 20 66 72 6f 6d 20 73 77 69 74 63 68 69 6e 67 20 61 20 74 6f 67 67 6c 65 20 6f 66 66 2e 0a er.from.switching.a.toggle.off..
1560 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 72 65 6d 61 72 6b 73 3e 0a 20 20 20 20 20 20 20 20 70 ........///.</remarks>.........p
1580 75 62 6c 69 63 20 62 6f 6f 6c 20 61 6c 6c 6f 77 53 77 69 74 63 68 4f 66 66 20 7b 20 67 65 74 20 ublic.bool.allowSwitchOff.{.get.
15a0 7b 20 72 65 74 75 72 6e 20 6d 5f 41 6c 6c 6f 77 53 77 69 74 63 68 4f 66 66 3b 20 7d 20 73 65 74 {.return.m_AllowSwitchOff;.}.set
15c0 20 7b 20 6d 5f 41 6c 6c 6f 77 53 77 69 74 63 68 4f 66 66 20 3d 20 76 61 6c 75 65 3b 20 7d 20 7d .{.m_AllowSwitchOff.=.value;.}.}
15e0 0a 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 4c 69 73 74 3c 54 6f 67 67 6c 65 3e ..........protected.List<Toggle>
1600 20 6d 5f 54 6f 67 67 6c 65 73 20 3d 20 6e 65 77 20 4c 69 73 74 3c 54 6f 67 67 6c 65 3e 28 29 3b .m_Toggles.=.new.List<Toggle>();
1620 0a 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 54 6f 67 67 6c 65 47 72 6f 75 70 28 ..........protected.ToggleGroup(
1640 29 0a 20 20 20 20 20 20 20 20 7b 7d 0a 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 ).........{}..........///.<summa
1660 72 79 3e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 42 65 63 61 75 73 65 20 61 6c 6c 20 74 68 65 20 ry>.........///.Because.all.the.
1680 54 6f 67 67 6c 65 73 20 68 61 76 65 20 72 65 67 69 73 74 65 72 65 64 20 74 68 65 6d 73 65 6c 76 Toggles.have.registered.themselv
16a0 65 73 20 69 6e 20 74 68 65 20 4f 6e 45 6e 61 62 6c 65 64 2c 20 53 74 61 72 74 20 73 68 6f 75 6c es.in.the.OnEnabled,.Start.shoul
16c0 64 20 63 68 65 63 6b 20 74 6f 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 6d 61 6b 65 20 73 75 72 65 d.check.to.........///.make.sure
16e0 20 61 74 20 6c 65 61 73 74 20 6f 6e 65 20 54 6f 67 67 6c 65 20 69 73 20 61 63 74 69 76 65 20 69 .at.least.one.Toggle.is.active.i
1700 6e 20 67 72 6f 75 70 73 20 74 68 61 74 20 64 6f 20 6e 6f 74 20 41 6c 6c 6f 77 53 77 69 74 63 68 n.groups.that.do.not.AllowSwitch
1720 4f 66 66 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0a 20 20 20 20 20 Off.........///.</summary>......
1740 20 20 20 70 72 6f 74 65 63 74 65 64 20 6f 76 65 72 72 69 64 65 20 76 6f 69 64 20 53 74 61 72 74 ...protected.override.void.Start
1760 28 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 6e 73 75 72 65 56 ().........{.............EnsureV
1780 61 6c 69 64 53 74 61 74 65 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 61 73 65 2e 53 74 alidState();.............base.St
17a0 61 72 74 28 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 art();.........}..........privat
17c0 65 20 76 6f 69 64 20 56 61 6c 69 64 61 74 65 54 6f 67 67 6c 65 49 73 49 6e 47 72 6f 75 70 28 54 e.void.ValidateToggleIsInGroup(T
17e0 6f 67 67 6c 65 20 74 6f 67 67 6c 65 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 oggle.toggle).........{.........
1800 20 20 20 20 69 66 20 28 74 6f 67 67 6c 65 20 3d 3d 20 6e 75 6c 6c 20 7c 7c 20 21 6d 5f 54 6f 67 ....if.(toggle.==.null.||.!m_Tog
1820 67 6c 65 73 2e 43 6f 6e 74 61 69 6e 73 28 74 6f 67 67 6c 65 29 29 0a 20 20 20 20 20 20 20 20 20 gles.Contains(toggle))..........
1840 20 20 20 20 20 20 20 74 68 72 6f 77 20 6e 65 77 20 41 72 67 75 6d 65 6e 74 45 78 63 65 70 74 69 .......throw.new.ArgumentExcepti
1860 6f 6e 28 73 74 72 69 6e 67 2e 46 6f 72 6d 61 74 28 22 54 6f 67 67 6c 65 20 7b 30 7d 20 69 73 20 on(string.Format("Toggle.{0}.is.
1880 6e 6f 74 20 70 61 72 74 20 6f 66 20 54 6f 67 67 6c 65 47 72 6f 75 70 20 7b 31 7d 22 2c 20 6e 65 not.part.of.ToggleGroup.{1}",.ne
18a0 77 20 6f 62 6a 65 63 74 5b 5d 20 7b 74 6f 67 67 6c 65 2c 20 74 68 69 73 7d 29 29 3b 0a 20 20 20 w.object[].{toggle,.this}));....
18c0 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0a 20 20 .....}..........///.<summary>...
18e0 20 20 20 20 20 20 2f 2f 2f 20 4e 6f 74 69 66 79 20 74 68 65 20 67 72 6f 75 70 20 74 68 61 74 20 ......///.Notify.the.group.that.
1900 74 68 65 20 67 69 76 65 6e 20 74 6f 67 67 6c 65 20 69 73 20 65 6e 61 62 6c 65 64 2e 0a 20 20 20 the.given.toggle.is.enabled.....
1920 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 .....///.</summary>.........///.
1940 3c 70 61 72 61 6d 20 6e 61 6d 65 3d 22 74 6f 67 67 6c 65 22 3e 54 68 65 20 74 6f 67 67 6c 65 20 <param.name="toggle">The.toggle.
1960 74 68 61 74 20 67 6f 74 20 74 72 69 67 67 65 72 65 64 20 6f 6e 2e 3c 2f 70 61 72 61 6d 3e 0a 20 that.got.triggered.on.</param>..
1980 20 20 20 20 20 20 20 2f 2f 2f 20 3c 70 61 72 61 6d 20 6e 61 6d 65 3d 22 73 65 6e 64 43 61 6c 6c .......///.<param.name="sendCall
19a0 62 61 63 6b 22 3e 49 66 20 6f 74 68 65 72 20 74 6f 67 67 6c 65 73 20 73 68 6f 75 6c 64 20 73 65 back">If.other.toggles.should.se
19c0 6e 64 20 6f 6e 56 61 6c 75 65 43 68 61 6e 67 65 64 2e 3c 2f 70 61 72 61 6d 3e 0a 20 20 20 20 20 nd.onValueChanged.</param>......
19e0 20 20 20 70 75 62 6c 69 63 20 76 6f 69 64 20 4e 6f 74 69 66 79 54 6f 67 67 6c 65 4f 6e 28 54 6f ...public.void.NotifyToggleOn(To
1a00 67 67 6c 65 20 74 6f 67 67 6c 65 2c 20 62 6f 6f 6c 20 73 65 6e 64 43 61 6c 6c 62 61 63 6b 20 3d ggle.toggle,.bool.sendCallback.=
1a20 20 74 72 75 65 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 56 61 6c .true).........{.............Val
1a40 69 64 61 74 65 54 6f 67 67 6c 65 49 73 49 6e 47 72 6f 75 70 28 74 6f 67 67 6c 65 29 3b 0a 20 20 idateToggleIsInGroup(toggle);...
1a60 20 20 20 20 20 20 20 20 20 20 2f 2f 20 64 69 73 61 62 6c 65 20 61 6c 6c 20 74 6f 67 67 6c 65 73 ..........//.disable.all.toggles
1a80 20 69 6e 20 74 68 65 20 67 72 6f 75 70 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 .in.the.group.............for.(v
1aa0 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 6d 5f 54 6f 67 67 6c 65 73 2e 43 6f 75 6e 74 3b 20 69 ar.i.=.0;.i.<.m_Toggles.Count;.i
1ac0 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 ++).............{...............
1ae0 20 20 69 66 20 28 6d 5f 54 6f 67 67 6c 65 73 5b 69 5d 20 3d 3d 20 74 6f 67 67 6c 65 29 0a 20 20 ..if.(m_Toggles[i].==.toggle)...
1b00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 69 6e 75 65 3b 0a 0a 20 20 20 ..................continue;.....
1b20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 73 65 6e 64 43 61 6c 6c 62 61 63 6b 29 0a 20 .............if.(sendCallback)..
1b40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 54 6f 67 67 6c 65 73 5b 69 5d 2e ...................m_Toggles[i].
1b60 69 73 4f 6e 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6c isOn.=.false;.................el
1b80 73 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 54 6f 67 67 6c 65 73 se.....................m_Toggles
1ba0 5b 69 5d 2e 53 65 74 49 73 4f 6e 57 69 74 68 6f 75 74 4e 6f 74 69 66 79 28 66 61 6c 73 65 29 3b [i].SetIsOnWithoutNotify(false);
1bc0 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 .............}.........}........
1be0 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 55 6e 72 65 ..///.<summary>.........///.Unre
1c00 67 69 73 74 65 72 20 61 20 74 6f 67 67 6c 65 20 66 72 6f 6d 20 74 68 65 20 67 72 6f 75 70 2e 0a gister.a.toggle.from.the.group..
1c20 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0a 20 20 20 20 20 20 20 20 2f ........///.</summary>........./
1c40 2f 2f 20 3c 70 61 72 61 6d 20 6e 61 6d 65 3d 22 74 6f 67 67 6c 65 22 3e 54 68 65 20 74 6f 67 67 //.<param.name="toggle">The.togg
1c60 6c 65 20 74 6f 20 72 65 6d 6f 76 65 2e 3c 2f 70 61 72 61 6d 3e 0a 20 20 20 20 20 20 20 20 70 75 le.to.remove.</param>.........pu
1c80 62 6c 69 63 20 76 6f 69 64 20 55 6e 72 65 67 69 73 74 65 72 54 6f 67 67 6c 65 28 54 6f 67 67 6c blic.void.UnregisterToggle(Toggl
1ca0 65 20 74 6f 67 67 6c 65 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 e.toggle).........{.............
1cc0 69 66 20 28 6d 5f 54 6f 67 67 6c 65 73 2e 43 6f 6e 74 61 69 6e 73 28 74 6f 67 67 6c 65 29 29 0a if.(m_Toggles.Contains(toggle)).
1ce0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 54 6f 67 67 6c 65 73 2e 52 65 6d 6f 76 65 ................m_Toggles.Remove
1d00 28 74 6f 67 67 6c 65 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 2f 2f 2f (toggle);.........}..........///
1d20 20 3c 73 75 6d 6d 61 72 79 3e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 52 65 67 69 73 74 65 72 20 .<summary>.........///.Register.
1d40 61 20 74 6f 67 67 6c 65 20 77 69 74 68 20 74 68 65 20 74 6f 67 67 6c 65 20 67 72 6f 75 70 20 73 a.toggle.with.the.toggle.group.s
1d60 6f 20 69 74 20 69 73 20 77 61 74 63 68 65 64 20 66 6f 72 20 63 68 61 6e 67 65 73 20 61 6e 64 20 o.it.is.watched.for.changes.and.
1d80 6e 6f 74 69 66 69 65 64 20 69 66 20 61 6e 6f 74 68 65 72 20 74 6f 67 67 6c 65 20 69 6e 20 74 68 notified.if.another.toggle.in.th
1da0 65 20 67 72 6f 75 70 20 63 68 61 6e 67 65 73 2e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 e.group.changes..........///.</s
1dc0 75 6d 6d 61 72 79 3e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 70 61 72 61 6d 20 6e 61 6d 65 3d ummary>.........///.<param.name=
1de0 22 74 6f 67 67 6c 65 22 3e 54 68 65 20 74 6f 67 67 6c 65 20 74 6f 20 72 65 67 69 73 74 65 72 20 "toggle">The.toggle.to.register.
1e00 77 69 74 68 20 74 68 65 20 67 72 6f 75 70 2e 3c 2f 70 61 72 61 6d 3e 0a 20 20 20 20 20 20 20 20 with.the.group.</param>.........
1e20 70 75 62 6c 69 63 20 76 6f 69 64 20 52 65 67 69 73 74 65 72 54 6f 67 67 6c 65 28 54 6f 67 67 6c public.void.RegisterToggle(Toggl
1e40 65 20 74 6f 67 67 6c 65 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 e.toggle).........{.............
1e60 69 66 20 28 21 6d 5f 54 6f 67 67 6c 65 73 2e 43 6f 6e 74 61 69 6e 73 28 74 6f 67 67 6c 65 29 29 if.(!m_Toggles.Contains(toggle))
1e80 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 54 6f 67 67 6c 65 73 2e 41 64 64 28 74 .................m_Toggles.Add(t
1ea0 6f 67 67 6c 65 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c oggle);.........}..........///.<
1ec0 73 75 6d 6d 61 72 79 3e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 45 6e 73 75 72 65 20 74 68 61 74 summary>.........///.Ensure.that
1ee0 20 74 68 65 20 74 6f 67 67 6c 65 20 67 72 6f 75 70 20 73 74 69 6c 6c 20 68 61 73 20 61 20 76 61 .the.toggle.group.still.has.a.va
1f00 6c 69 64 20 73 74 61 74 65 2e 20 54 68 69 73 20 69 73 20 6f 6e 6c 79 20 72 65 6c 65 76 61 6e 74 lid.state..This.is.only.relevant
1f20 20 77 68 65 6e 20 61 20 54 6f 67 67 6c 65 47 72 6f 75 70 20 69 73 20 53 74 61 72 74 65 64 0a 20 .when.a.ToggleGroup.is.Started..
1f40 20 20 20 20 20 20 20 2f 2f 2f 20 6f 72 20 61 20 54 6f 67 67 6c 65 20 68 61 73 20 62 65 65 6e 20 .......///.or.a.Toggle.has.been.
1f60 64 65 6c 65 74 65 64 20 66 72 6f 6d 20 74 68 65 20 67 72 6f 75 70 2e 0a 20 20 20 20 20 20 20 20 deleted.from.the.group..........
1f80 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 20 76 6f ///.</summary>.........public.vo
1fa0 69 64 20 45 6e 73 75 72 65 56 61 6c 69 64 53 74 61 74 65 28 29 0a 20 20 20 20 20 20 20 20 7b 0a id.EnsureValidState().........{.
1fc0 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 61 6c 6c 6f 77 53 77 69 74 63 68 4f 66 66 20 ............if.(!allowSwitchOff.
1fe0 26 26 20 21 41 6e 79 54 6f 67 67 6c 65 73 4f 6e 28 29 20 26 26 20 6d 5f 54 6f 67 67 6c 65 73 2e &&.!AnyTogglesOn().&&.m_Toggles.
2000 43 6f 75 6e 74 20 21 3d 20 30 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 Count.!=.0).............{.......
2020 20 20 20 20 20 20 20 20 20 20 6d 5f 54 6f 67 67 6c 65 73 5b 30 5d 2e 69 73 4f 6e 20 3d 20 74 72 ..........m_Toggles[0].isOn.=.tr
2040 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4e 6f 74 69 66 79 54 6f 67 67 6c 65 ue;.................NotifyToggle
2060 4f 6e 28 6d 5f 54 6f 67 67 6c 65 73 5b 30 5d 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a On(m_Toggles[0]);.............}.
2080 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>
20a0 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 41 72 65 20 61 6e 79 20 6f 66 20 74 68 65 20 74 6f 67 67 .........///.Are.any.of.the.togg
20c0 6c 65 73 20 6f 6e 3f 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 les.on?.........///.</summary>..
20e0 20 20 20 20 20 20 20 2f 2f 2f 20 3c 72 65 74 75 72 6e 73 3e 41 72 65 20 61 6e 64 20 6f 66 20 74 .......///.<returns>Are.and.of.t
2100 68 65 20 74 6f 67 67 6c 65 73 20 6f 6e 3f 3c 2f 72 65 74 75 72 6e 73 3e 0a 20 20 20 20 20 20 20 he.toggles.on?</returns>........
2120 20 70 75 62 6c 69 63 20 62 6f 6f 6c 20 41 6e 79 54 6f 67 67 6c 65 73 4f 6e 28 29 0a 20 20 20 20 .public.bool.AnyTogglesOn().....
2140 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6d 5f 54 6f 67 67 6c ....{.............return.m_Toggl
2160 65 73 2e 46 69 6e 64 28 78 20 3d 3e 20 78 2e 69 73 4f 6e 29 20 21 3d 20 6e 75 6c 6c 3b 0a 20 20 es.Find(x.=>.x.isOn).!=.null;...
2180 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0a 20 ......}..........///.<summary>..
21a0 20 20 20 20 20 20 20 2f 2f 2f 20 52 65 74 75 72 6e 73 20 74 68 65 20 74 6f 67 67 6c 65 73 20 69 .......///.Returns.the.toggles.i
21c0 6e 20 74 68 69 73 20 67 72 6f 75 70 20 74 68 61 74 20 61 72 65 20 61 63 74 69 76 65 2e 0a 20 20 n.this.group.that.are.active....
21e0 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0a 20 20 20 20 20 20 20 20 2f 2f 2f ......///.</summary>.........///
2200 20 3c 72 65 74 75 72 6e 73 3e 54 68 65 20 61 63 74 69 76 65 20 74 6f 67 67 6c 65 73 20 69 6e 20 .<returns>The.active.toggles.in.
2220 74 68 65 20 67 72 6f 75 70 2e 3c 2f 72 65 74 75 72 6e 73 3e 0a 20 20 20 20 20 20 20 20 2f 2f 2f the.group.</returns>.........///
2240 20 3c 72 65 6d 61 72 6b 73 3e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 6f 67 67 6c 65 73 20 62 .<remarks>.........///.Toggles.b
2260 65 6c 6f 6e 67 69 6e 67 20 74 6f 20 74 68 69 73 20 67 72 6f 75 70 20 62 75 74 20 61 72 65 20 6e elonging.to.this.group.but.are.n
2280 6f 74 20 61 63 74 69 76 65 20 65 69 74 68 65 72 20 62 65 63 61 75 73 65 20 74 68 65 69 72 20 47 ot.active.either.because.their.G
22a0 61 6d 65 4f 62 6a 65 63 74 20 69 73 20 69 6e 61 63 74 69 76 65 20 6f 72 20 62 65 63 61 75 73 65 ameObject.is.inactive.or.because
22c0 20 74 68 65 20 54 6f 67 67 6c 65 20 63 6f 6d 70 6f 6e 65 6e 74 20 69 73 20 64 69 73 61 62 6c 65 .the.Toggle.component.is.disable
22e0 64 2c 20 61 72 65 20 6e 6f 74 20 72 65 74 75 72 6e 65 64 20 61 73 20 70 61 72 74 20 6f 66 20 74 d,.are.not.returned.as.part.of.t
2300 68 65 20 6c 69 73 74 2e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 72 65 6d 61 72 6b 73 3e 0a he.list..........///.</remarks>.
2320 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 49 45 6e 75 6d 65 72 61 62 6c 65 3c 54 6f 67 67 6c ........public.IEnumerable<Toggl
2340 65 3e 20 41 63 74 69 76 65 54 6f 67 67 6c 65 73 28 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 e>.ActiveToggles().........{....
2360 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6d 5f 54 6f 67 67 6c 65 73 2e 57 68 65 72 65 28 .........return.m_Toggles.Where(
2380 78 20 3d 3e 20 78 2e 69 73 4f 6e 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 x.=>.x.isOn);.........}.........
23a0 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 53 77 69 74 63 .///.<summary>.........///.Switc
23c0 68 20 61 6c 6c 20 74 6f 67 67 6c 65 73 20 6f 66 66 2e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c h.all.toggles.off..........///.<
23e0 2f 73 75 6d 6d 61 72 79 3e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 72 65 6d 61 72 6b 73 3e 0a /summary>.........///.<remarks>.
2400 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 69 73 20 6d 65 74 68 6f 64 20 63 61 6e 20 62 65 20 75 ........///.This.method.can.be.u
2420 73 65 64 20 74 6f 20 73 77 69 74 63 68 20 61 6c 6c 20 74 6f 67 67 6c 65 73 20 6f 66 66 2c 20 72 sed.to.switch.all.toggles.off,.r
2440 65 67 61 72 64 6c 65 73 73 20 6f 66 20 77 68 65 74 68 65 72 20 74 68 65 20 61 6c 6c 6f 77 53 77 egardless.of.whether.the.allowSw
2460 69 74 63 68 4f 66 66 20 70 72 6f 70 65 72 74 79 20 69 73 20 65 6e 61 62 6c 65 64 20 6f 72 20 6e itchOff.property.is.enabled.or.n
2480 6f 74 2e 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 72 65 6d 61 72 6b 73 3e 0a 20 20 20 20 20 ot..........///.</remarks>......
24a0 20 20 20 70 75 62 6c 69 63 20 76 6f 69 64 20 53 65 74 41 6c 6c 54 6f 67 67 6c 65 73 4f 66 66 28 ...public.void.SetAllTogglesOff(
24c0 62 6f 6f 6c 20 73 65 6e 64 43 61 6c 6c 62 61 63 6b 20 3d 20 74 72 75 65 29 0a 20 20 20 20 20 20 bool.sendCallback.=.true).......
24e0 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 6f 6f 6c 20 6f 6c 64 41 6c 6c 6f 77 53 77 69 ..{.............bool.oldAllowSwi
2500 74 63 68 4f 66 66 20 3d 20 6d 5f 41 6c 6c 6f 77 53 77 69 74 63 68 4f 66 66 3b 0a 20 20 20 20 20 tchOff.=.m_AllowSwitchOff;......
2520 20 20 20 20 20 20 20 6d 5f 41 6c 6c 6f 77 53 77 69 74 63 68 4f 66 66 20 3d 20 74 72 75 65 3b 0a .......m_AllowSwitchOff.=.true;.
2540 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 73 65 6e 64 43 61 6c 6c 62 61 63 6b 29 0a 20 .............if.(sendCallback)..
2560 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 66 6f 72 ...........{.................for
2580 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 6d 5f 54 6f 67 67 6c 65 73 2e 43 6f 75 6e 74 .(var.i.=.0;.i.<.m_Toggles.Count
25a0 3b 20 69 2b 2b 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 54 6f 67 ;.i++).....................m_Tog
25c0 67 6c 65 73 5b 69 5d 2e 69 73 4f 6e 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 20 20 gles[i].isOn.=.false;...........
25e0 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 20 20 20 ..}.............else............
2600 20 7b 0a 20 20 20 20 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 .{.................for.(var.i.=.
2620 30 3b 20 69 20 3c 20 6d 5f 54 6f 67 67 6c 65 73 2e 43 6f 75 6e 74 3b 20 69 2b 2b 29 0a 20 20 20 0;.i.<.m_Toggles.Count;.i++)....
2640 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 54 6f 67 67 6c 65 73 5b 69 5d 2e 53 65 .................m_Toggles[i].Se
2660 74 49 73 4f 6e 57 69 74 68 6f 75 74 4e 6f 74 69 66 79 28 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 tIsOnWithoutNotify(false);......
2680 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 41 6c 6c 6f 77 53 77 69 .......}..............m_AllowSwi
26a0 74 63 68 4f 66 66 20 3d 20 6f 6c 64 41 6c 6c 6f 77 53 77 69 74 63 68 4f 66 66 3b 0a 20 20 20 20 tchOff.=.oldAllowSwitchOff;.....
26c0 20 20 20 20 7d 0a 20 20 20 20 7d 0a 7d 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ....}.....}.}...................
26e0 00 00 00 00 0b 00 00 00 54 6f 67 67 6c 65 47 72 6f 75 70 00 0e 00 00 00 55 6e 69 74 79 45 6e 67 ........ToggleGroup.....UnityEng
2700 69 6e 65 2e 55 49 00 00 ine.UI..