summaryrefslogtreecommitdiff
path: root/Library/Artifacts/a9/a91e925f57859fca59972219d231203e
blob: 271df4000a4992a54ebccd8653d054131b3b5503 (plain)
ofshex dumpascii
0000 00 00 0f 81 00 00 38 a0 00 00 00 15 00 00 10 00 00 00 00 00 32 30 31 39 2e 33 2e 36 66 31 00 fe ......8.............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 40 28 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 18 00 00 00 43 6f 6e 74 72 6f 6c 50 6c 61 79 61 62 6c 65 49 6e 73 70 65 ............ControlPlayableInspe
10a0 63 74 6f 72 b0 27 00 00 75 73 69 6e 67 20 53 79 73 74 65 6d 2e 43 6f 6c 6c 65 63 74 69 6f 6e 73 ctor.'..using.System.Collections
10c0 2e 47 65 6e 65 72 69 63 3b 0a 75 73 69 6e 67 20 53 79 73 74 65 6d 2e 4c 69 6e 71 3b 0a 75 73 69 .Generic;.using.System.Linq;.usi
10e0 6e 67 20 55 6e 69 74 79 45 6e 67 69 6e 65 3b 0a 75 73 69 6e 67 20 55 6e 69 74 79 45 6e 67 69 6e ng.UnityEngine;.using.UnityEngin
1100 65 2e 50 6c 61 79 61 62 6c 65 73 3b 0a 75 73 69 6e 67 20 55 6e 69 74 79 45 6e 67 69 6e 65 2e 54 e.Playables;.using.UnityEngine.T
1120 69 6d 65 6c 69 6e 65 3b 0a 0a 6e 61 6d 65 73 70 61 63 65 20 55 6e 69 74 79 45 64 69 74 6f 72 2e imeline;..namespace.UnityEditor.
1140 54 69 6d 65 6c 69 6e 65 0a 7b 0a 20 20 20 20 5b 43 75 73 74 6f 6d 45 64 69 74 6f 72 28 74 79 70 Timeline.{.....[CustomEditor(typ
1160 65 6f 66 28 43 6f 6e 74 72 6f 6c 50 6c 61 79 61 62 6c 65 41 73 73 65 74 29 29 2c 20 43 61 6e 45 eof(ControlPlayableAsset)),.CanE
1180 64 69 74 4d 75 6c 74 69 70 6c 65 4f 62 6a 65 63 74 73 5d 0a 20 20 20 20 63 6c 61 73 73 20 43 6f ditMultipleObjects].....class.Co
11a0 6e 74 72 6f 6c 50 6c 61 79 61 62 6c 65 49 6e 73 70 65 63 74 6f 72 20 3a 20 45 64 69 74 6f 72 0a ntrolPlayableInspector.:.Editor.
11c0 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 73 74 61 74 69 63 20 63 6c 61 73 73 20 53 74 79 6c 65 ....{.........static.class.Style
11e0 73 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 74 61 74 69 63 20 73 s.........{.............static.s
1200 74 72 69 6e 67 20 73 5f 44 69 73 61 62 6c 65 64 42 65 63 61 75 73 65 4f 66 53 65 6c 66 43 6f 6e tring.s_DisabledBecauseOfSelfCon
1220 74 72 6f 6c 54 6f 6f 6c 74 69 70 20 3d 20 22 4d 75 73 74 20 62 65 20 64 69 73 61 62 6c 65 64 20 trolTooltip.=."Must.be.disabled.
1240 77 68 65 6e 20 74 68 65 20 53 6f 75 72 63 65 20 47 61 6d 65 20 4f 62 6a 65 63 74 20 72 65 66 65 when.the.Source.Game.Object.refe
1260 72 65 6e 63 65 73 20 74 68 65 20 73 61 6d 65 20 50 6c 61 79 61 62 6c 65 44 69 72 65 63 74 6f 72 rences.the.same.PlayableDirector
1280 20 63 6f 6d 70 6f 6e 65 6e 74 20 74 68 61 74 20 69 73 20 62 65 69 6e 67 20 63 6f 6e 74 72 6f 6c .component.that.is.being.control
12a0 6c 65 64 22 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 led";.............public.static.
12c0 72 65 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 61 63 74 69 76 61 74 69 6f 6e 43 6f readonly.GUIContent.activationCo
12e0 6e 74 65 6e 74 20 3d 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 54 72 54 65 78 74 43 ntent.=.EditorGUIUtility.TrTextC
1300 6f 6e 74 65 6e 74 28 22 43 6f 6e 74 72 6f 6c 20 41 63 74 69 76 61 74 69 6f 6e 22 2c 20 22 57 68 ontent("Control.Activation",."Wh
1320 65 6e 20 63 68 65 63 6b 65 64 20 74 68 65 20 63 6c 69 70 20 77 69 6c 6c 20 63 6f 6e 74 72 6f 6c en.checked.the.clip.will.control
1340 20 74 68 65 20 61 63 74 69 76 65 20 73 74 61 74 65 20 6f 66 20 74 68 65 20 73 6f 75 72 63 65 20 .the.active.state.of.the.source.
1360 67 61 6d 65 20 6f 62 6a 65 63 74 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 75 62 6c 69 game.object");.............publi
1380 63 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 61 63 74 c.static.readonly.GUIContent.act
13a0 69 76 61 74 69 6f 6e 44 69 73 61 62 6c 65 64 43 6f 6e 74 65 6e 74 20 3d 20 45 64 69 74 6f 72 47 ivationDisabledContent.=.EditorG
13c0 55 49 55 74 69 6c 69 74 79 2e 54 65 78 74 43 6f 6e 74 65 6e 74 28 22 43 6f 6e 74 72 6f 6c 20 41 UIUtility.TextContent("Control.A
13e0 63 74 69 76 61 74 69 6f 6e 7c 22 20 2b 20 73 5f 44 69 73 61 62 6c 65 64 42 65 63 61 75 73 65 4f ctivation|".+.s_DisabledBecauseO
1400 66 53 65 6c 66 43 6f 6e 74 72 6f 6c 54 6f 6f 6c 74 69 70 29 3b 0a 20 20 20 20 20 20 20 20 20 20 fSelfControlTooltip);...........
1420 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 ..public.static.readonly.GUICont
1440 65 6e 74 20 70 72 65 66 61 62 43 6f 6e 74 65 6e 74 20 3d 20 45 64 69 74 6f 72 47 55 49 55 74 69 ent.prefabContent.=.EditorGUIUti
1460 6c 69 74 79 2e 54 72 54 65 78 74 43 6f 6e 74 65 6e 74 28 22 50 72 65 66 61 62 22 2c 20 22 41 20 lity.TrTextContent("Prefab",."A.
1480 70 72 65 66 61 62 20 74 6f 20 69 6e 73 74 61 6e 74 69 61 74 65 20 61 73 20 61 20 63 68 69 6c 64 prefab.to.instantiate.as.a.child
14a0 20 6f 62 6a 65 63 74 20 6f 66 20 74 68 65 20 73 6f 75 72 63 65 20 67 61 6d 65 20 6f 62 6a 65 63 .object.of.the.source.game.objec
14c0 74 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 72 t");.............public.static.r
14e0 65 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 61 64 76 61 6e 63 65 64 43 6f 6e 74 65 eadonly.GUIContent.advancedConte
1500 6e 74 20 3d 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 54 72 54 65 78 74 43 6f 6e 74 nt.=.EditorGUIUtility.TrTextCont
1520 65 6e 74 28 22 41 64 76 61 6e 63 65 64 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 75 62 ent("Advanced");.............pub
1540 6c 69 63 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 75 lic.static.readonly.GUIContent.u
1560 70 64 61 74 65 50 61 72 74 69 63 6c 65 53 79 73 74 65 6d 73 43 6f 6e 74 65 6e 74 20 3d 20 45 64 pdateParticleSystemsContent.=.Ed
1580 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 54 72 54 65 78 74 43 6f 6e 74 65 6e 74 28 22 43 6f itorGUIUtility.TrTextContent("Co
15a0 6e 74 72 6f 6c 20 50 61 72 74 69 63 6c 65 20 53 79 73 74 65 6d 73 22 2c 20 22 53 79 6e 63 68 72 ntrol.Particle.Systems",."Synchr
15c0 6f 6e 69 7a 65 20 74 68 65 20 74 69 6d 65 20 62 65 74 77 65 65 6e 20 74 68 65 20 63 6c 69 70 20 onize.the.time.between.the.clip.
15e0 61 6e 64 20 61 6e 79 20 70 61 72 74 69 63 6c 65 20 73 79 73 74 65 6d 73 20 6f 6e 20 74 68 65 20 and.any.particle.systems.on.the.
1600 67 61 6d 65 20 6f 62 6a 65 63 74 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 75 62 6c 69 game.object");.............publi
1620 63 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 75 70 64 c.static.readonly.GUIContent.upd
1640 61 74 65 50 6c 61 79 61 62 6c 65 44 69 72 65 63 74 6f 72 43 6f 6e 74 65 6e 74 20 3d 20 45 64 69 atePlayableDirectorContent.=.Edi
1660 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 54 72 54 65 78 74 43 6f 6e 74 65 6e 74 28 22 43 6f 6e torGUIUtility.TrTextContent("Con
1680 74 72 6f 6c 20 50 6c 61 79 61 62 6c 65 20 44 69 72 65 63 74 6f 72 73 22 2c 20 22 53 79 6e 63 68 trol.Playable.Directors",."Synch
16a0 72 6f 6e 69 7a 65 20 74 68 65 20 74 69 6d 65 20 62 65 74 77 65 65 6e 20 74 68 65 20 63 6c 69 70 ronize.the.time.between.the.clip
16c0 20 61 6e 64 20 61 6e 79 20 70 6c 61 79 61 62 6c 65 20 64 69 72 65 63 74 6f 72 73 20 6f 6e 20 74 .and.any.playable.directors.on.t
16e0 68 65 20 67 61 6d 65 20 6f 62 6a 65 63 74 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 75 he.game.object");.............pu
1700 62 6c 69 63 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 blic.static.readonly.GUIContent.
1720 75 70 64 61 74 65 50 6c 61 79 61 62 6c 65 44 69 72 65 63 74 6f 72 44 69 73 61 62 6c 65 64 43 6f updatePlayableDirectorDisabledCo
1740 6e 74 65 6e 74 20 3d 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 54 65 78 74 43 6f 6e ntent.=.EditorGUIUtility.TextCon
1760 74 65 6e 74 28 22 43 6f 6e 74 72 6f 6c 20 50 6c 61 79 61 62 6c 65 20 44 69 72 65 63 74 6f 72 73 tent("Control.Playable.Directors
1780 7c 22 20 2b 20 73 5f 44 69 73 61 62 6c 65 64 42 65 63 61 75 73 65 4f 66 53 65 6c 66 43 6f 6e 74 |".+.s_DisabledBecauseOfSelfCont
17a0 72 6f 6c 54 6f 6f 6c 74 69 70 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 rolTooltip);.............public.
17c0 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 75 70 64 61 74 static.readonly.GUIContent.updat
17e0 65 49 54 69 6d 65 43 6f 6e 74 72 6f 6c 43 6f 6e 74 65 6e 74 20 3d 20 45 64 69 74 6f 72 47 55 49 eITimeControlContent.=.EditorGUI
1800 55 74 69 6c 69 74 79 2e 54 72 54 65 78 74 43 6f 6e 74 65 6e 74 28 22 43 6f 6e 74 72 6f 6c 20 49 Utility.TrTextContent("Control.I
1820 54 69 6d 65 43 6f 6e 74 72 6f 6c 22 2c 20 22 53 79 6e 63 68 72 6f 6e 69 7a 65 20 74 68 65 20 74 TimeControl",."Synchronize.the.t
1840 69 6d 65 20 62 65 74 77 65 65 6e 20 74 68 65 20 63 6c 69 70 20 61 6e 64 20 61 6e 79 20 53 63 72 ime.between.the.clip.and.any.Scr
1860 69 70 74 20 74 68 61 74 20 69 6d 70 6c 65 6d 65 6e 74 73 20 74 68 65 20 49 54 69 6d 65 43 6f 6e ipt.that.implements.the.ITimeCon
1880 74 72 6f 6c 20 69 6e 74 65 72 66 61 63 65 20 6f 6e 20 74 68 65 20 67 61 6d 65 20 6f 62 6a 65 63 trol.interface.on.the.game.objec
18a0 74 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 72 t");.............public.static.r
18c0 65 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 75 70 64 61 74 65 48 69 65 72 61 72 63 eadonly.GUIContent.updateHierarc
18e0 68 79 20 3d 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 54 72 54 65 78 74 43 6f 6e 74 hy.=.EditorGUIUtility.TrTextCont
1900 65 6e 74 28 22 43 6f 6e 74 72 6f 6c 20 43 68 69 6c 64 72 65 6e 22 2c 20 22 53 65 61 72 63 68 20 ent("Control.Children",."Search.
1920 63 68 69 6c 64 20 67 61 6d 65 20 6f 62 6a 65 63 74 73 20 66 6f 72 20 70 61 72 74 69 63 6c 65 20 child.game.objects.for.particle.
1940 73 79 73 74 65 6d 73 20 61 6e 64 20 70 6c 61 79 61 62 6c 65 20 64 69 72 65 63 74 6f 72 73 22 29 systems.and.playable.directors")
1960 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 72 65 61 64 ;.............public.static.read
1980 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 72 61 6e 64 6f 6d 53 65 65 64 43 6f 6e 74 65 6e only.GUIContent.randomSeedConten
19a0 74 20 3d 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 54 72 54 65 78 74 43 6f 6e 74 65 t.=.EditorGUIUtility.TrTextConte
19c0 6e 74 28 22 52 61 6e 64 6f 6d 20 53 65 65 64 22 2c 20 22 41 20 72 61 6e 64 6f 6d 20 73 65 65 64 nt("Random.Seed",."A.random.seed
19e0 20 74 6f 20 70 72 6f 76 69 64 65 20 74 68 65 20 70 61 72 74 69 63 6c 65 20 73 79 73 74 65 6d 73 .to.provide.the.particle.systems
1a00 20 66 6f 72 20 63 6f 6e 73 69 73 74 65 6e 74 20 70 72 65 76 69 65 77 73 2e 20 54 68 69 73 20 77 .for.consistent.previews..This.w
1a20 69 6c 6c 20 6f 6e 6c 79 20 62 65 20 75 73 65 64 20 6f 6e 20 70 61 72 74 69 63 6c 65 20 73 79 73 ill.only.be.used.on.particle.sys
1a40 74 65 6d 73 20 77 68 65 72 65 20 41 75 74 6f 52 61 6e 64 6f 6d 53 65 65 64 20 69 73 20 6f 6e 2e tems.where.AutoRandomSeed.is.on.
1a60 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 72 65 ");.............public.static.re
1a80 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 70 6f 73 74 50 6c 61 79 61 62 6c 65 43 6f adonly.GUIContent.postPlayableCo
1aa0 6e 74 65 6e 74 20 3d 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 54 72 54 65 78 74 43 ntent.=.EditorGUIUtility.TrTextC
1ac0 6f 6e 74 65 6e 74 28 22 50 6f 73 74 20 50 6c 61 79 62 61 63 6b 22 2c 20 22 54 68 65 20 61 63 74 ontent("Post.Playback",."The.act
1ae0 69 76 65 20 73 74 61 74 65 20 74 6f 20 74 68 65 20 6c 65 61 76 65 20 74 68 65 20 67 61 6d 65 20 ive.state.to.the.leave.the.game.
1b00 6f 62 6a 65 63 74 20 77 68 65 6e 20 74 68 65 20 74 69 6d 65 6c 69 6e 65 20 69 73 20 66 69 6e 69 object.when.the.timeline.is.fini
1b20 73 68 65 64 2e 20 5c 6e 5c 6e 52 65 76 65 72 74 20 77 69 6c 6c 20 6c 65 61 76 65 20 74 68 65 20 shed..\n\nRevert.will.leave.the.
1b40 67 61 6d 65 20 6f 62 6a 65 63 74 20 69 6e 20 74 68 65 20 73 74 61 74 65 20 69 74 20 77 61 73 20 game.object.in.the.state.it.was.
1b60 70 72 69 6f 72 20 74 6f 20 74 68 65 20 74 69 6d 65 6c 69 6e 65 20 62 65 69 6e 67 20 72 75 6e 22 prior.to.the.timeline.being.run"
1b80 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 53 65 72 69 61 6c 69 7a 65 64 );.........}..........Serialized
1ba0 50 72 6f 70 65 72 74 79 20 6d 5f 53 6f 75 72 63 65 4f 62 6a 65 63 74 3b 0a 20 20 20 20 20 20 20 Property.m_SourceObject;........
1bc0 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 6d 5f 50 72 65 66 61 62 4f 62 6a 65 .SerializedProperty.m_PrefabObje
1be0 63 74 3b 0a 20 20 20 20 20 20 20 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 6d ct;.........SerializedProperty.m
1c00 5f 55 70 64 61 74 65 50 61 72 74 69 63 6c 65 3b 0a 20 20 20 20 20 20 20 20 53 65 72 69 61 6c 69 _UpdateParticle;.........Seriali
1c20 7a 65 64 50 72 6f 70 65 72 74 79 20 6d 5f 55 70 64 61 74 65 44 69 72 65 63 74 6f 72 3b 0a 20 20 zedProperty.m_UpdateDirector;...
1c40 20 20 20 20 20 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 6d 5f 55 70 64 61 74 ......SerializedProperty.m_Updat
1c60 65 49 54 69 6d 65 43 6f 6e 74 72 6f 6c 3b 0a 20 20 20 20 20 20 20 20 53 65 72 69 61 6c 69 7a 65 eITimeControl;.........Serialize
1c80 64 50 72 6f 70 65 72 74 79 20 6d 5f 53 65 61 72 63 68 48 69 65 72 61 72 63 68 79 3b 0a 20 20 20 dProperty.m_SearchHierarchy;....
1ca0 20 20 20 20 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 6d 5f 55 73 65 41 63 74 .....SerializedProperty.m_UseAct
1cc0 69 76 61 74 69 6f 6e 3b 0a 20 20 20 20 20 20 20 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 ivation;.........SerializedPrope
1ce0 72 74 79 20 6d 5f 50 6f 73 74 50 6c 61 79 62 61 63 6b 3b 0a 20 20 20 20 20 20 20 20 53 65 72 69 rty.m_PostPlayback;.........Seri
1d00 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 6d 5f 52 61 6e 64 6f 6d 53 65 65 64 3b 0a 20 20 20 alizedProperty.m_RandomSeed;....
1d20 20 20 20 20 20 62 6f 6f 6c 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 43 79 63 6c 65 52 .....bool...............m_CycleR
1d40 65 66 65 72 65 6e 63 65 3b 0a 0a 0a 20 20 20 20 20 20 20 20 47 55 49 43 6f 6e 74 65 6e 74 20 6d eference;...........GUIContent.m
1d60 5f 53 6f 75 72 63 65 4f 62 6a 65 63 74 4c 61 62 65 6c 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 _SourceObjectLabel.=.new.GUICont
1d80 65 6e 74 28 29 3b 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 74 68 65 20 64 69 72 65 63 74 6f 72 20 ent();..........//.the.director.
1da0 74 68 61 74 20 74 68 65 20 73 65 6c 65 63 74 69 6f 6e 20 77 61 73 20 6d 61 64 65 20 77 69 74 68 that.the.selection.was.made.with
1dc0 2e 20 4e 6f 72 6d 61 6c 6c 79 20 74 68 69 73 20 6d 61 74 63 68 65 73 20 74 68 65 20 61 63 74 69 ..Normally.this.matches.the.acti
1de0 76 65 20 64 69 72 65 63 74 6f 72 20 69 6e 20 74 69 6d 65 6c 69 6e 65 2c 0a 20 20 20 20 20 20 20 ve.director.in.timeline,........
1e00 20 2f 2f 20 20 62 75 74 20 70 65 72 73 69 73 74 73 20 69 66 20 74 68 65 20 61 63 74 69 76 65 20 .//..but.persists.if.the.active.
1e20 74 69 6d 65 6c 69 6e 65 20 63 68 61 6e 67 65 73 20 28 63 61 73 65 20 39 36 32 35 31 36 29 0a 20 timeline.changes.(case.962516)..
1e40 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 50 6c 61 79 61 62 6c 65 44 69 72 65 63 74 6f 72 20 .......private.PlayableDirector.
1e60 63 6f 6e 74 65 78 74 44 69 72 65 63 74 6f 72 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 contextDirector.........{.......
1e80 20 20 20 20 20 20 67 65 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 ......get.............{.........
1ea0 20 20 20 20 20 20 20 20 69 66 20 28 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 20 3d 3d 20 ........if.(serializedObject.==.
1ec0 6e 75 6c 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e null).....................return
1ee0 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 73 65 .null;.................return.se
1f00 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 63 6f 6e 74 65 78 74 20 61 73 20 50 6c 61 79 61 62 rializedObject.context.as.Playab
1f20 6c 65 44 69 72 65 63 74 6f 72 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 leDirector;.............}.......
1f40 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 76 6f 69 64 20 4f 6e 45 6e 61 62 6c ..}..........public.void.OnEnabl
1f60 65 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 69 66 20 28 74 61 e().........{.............if.(ta
1f80 72 67 65 74 20 3d 3d 20 6e 75 6c 6c 29 20 2f 2f 20 63 61 73 65 20 39 34 36 30 38 30 0a 20 20 20 rget.==.null).//.case.946080....
1fa0 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 20 20 20 20 .............return;............
1fc0 20 20 6d 5f 53 6f 75 72 63 65 4f 62 6a 65 63 74 20 3d 20 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a ..m_SourceObject.=.serializedObj
1fe0 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 73 6f 75 72 63 65 47 61 6d 65 4f 62 6a 65 ect.FindProperty("sourceGameObje
2000 63 74 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 50 72 65 66 61 62 4f 62 6a 65 63 74 ct");.............m_PrefabObject
2020 20 3d 20 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 .=.serializedObject.FindProperty
2040 28 22 70 72 65 66 61 62 47 61 6d 65 4f 62 6a 65 63 74 22 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 ("prefabGameObject");...........
2060 20 20 20 6d 5f 55 70 64 61 74 65 50 61 72 74 69 63 6c 65 20 3d 20 73 65 72 69 61 6c 69 7a 65 64 ...m_UpdateParticle.=.serialized
2080 4f 62 6a 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 75 70 64 61 74 65 50 61 72 74 69 Object.FindProperty("updateParti
20a0 63 6c 65 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 55 70 64 61 74 65 44 69 72 65 63 cle");.............m_UpdateDirec
20c0 74 6f 72 20 3d 20 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 tor.=.serializedObject.FindPrope
20e0 72 74 79 28 22 75 70 64 61 74 65 44 69 72 65 63 74 6f 72 22 29 3b 0a 20 20 20 20 20 20 20 20 20 rty("updateDirector");..........
2100 20 20 20 6d 5f 55 70 64 61 74 65 49 54 69 6d 65 43 6f 6e 74 72 6f 6c 20 3d 20 73 65 72 69 61 6c ...m_UpdateITimeControl.=.serial
2120 69 7a 65 64 4f 62 6a 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 75 70 64 61 74 65 49 izedObject.FindProperty("updateI
2140 54 69 6d 65 43 6f 6e 74 72 6f 6c 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 53 65 61 TimeControl");.............m_Sea
2160 72 63 68 48 69 65 72 61 72 63 68 79 20 3d 20 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e rchHierarchy.=.serializedObject.
2180 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 73 65 61 72 63 68 48 69 65 72 61 72 63 68 79 22 29 3b FindProperty("searchHierarchy");
21a0 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 55 73 65 41 63 74 69 76 61 74 69 6f 6e 20 3d 20 73 .............m_UseActivation.=.s
21c0 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 61 63 erializedObject.FindProperty("ac
21e0 74 69 76 65 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 50 6f 73 74 50 6c 61 79 62 61 tive");.............m_PostPlayba
2200 63 6b 20 3d 20 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 72 ck.=.serializedObject.FindProper
2220 74 79 28 22 70 6f 73 74 50 6c 61 79 62 61 63 6b 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 ty("postPlayback");.............
2240 6d 5f 52 61 6e 64 6f 6d 53 65 65 64 20 3d 20 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e m_RandomSeed.=.serializedObject.
2260 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 70 61 72 74 69 63 6c 65 52 61 6e 64 6f 6d 53 65 65 64 FindProperty("particleRandomSeed
2280 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 43 68 65 63 6b 46 6f 72 43 79 63 6c 69 63 52 65 ");.............CheckForCyclicRe
22a0 66 65 72 65 6e 63 65 28 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 70 75 ference();.........}..........pu
22c0 62 6c 69 63 20 6f 76 65 72 72 69 64 65 20 76 6f 69 64 20 4f 6e 49 6e 73 70 65 63 74 6f 72 47 55 blic.override.void.OnInspectorGU
22e0 49 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 69 66 20 28 74 61 I().........{.............if.(ta
2300 72 67 65 74 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 72 65 rget.==.null).................re
2320 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a turn;..............serializedObj
2340 65 63 74 2e 55 70 64 61 74 65 28 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 53 6f 75 ect.Update();..............m_Sou
2360 72 63 65 4f 62 6a 65 63 74 4c 61 62 65 6c 2e 74 65 78 74 20 3d 20 6d 5f 53 6f 75 72 63 65 4f 62 rceObjectLabel.text.=.m_SourceOb
2380 6a 65 63 74 2e 64 69 73 70 6c 61 79 4e 61 6d 65 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 ject.displayName;..............i
23a0 66 20 28 6d 5f 50 72 65 66 61 62 4f 62 6a 65 63 74 2e 6f 62 6a 65 63 74 52 65 66 65 72 65 6e 63 f.(m_PrefabObject.objectReferenc
23c0 65 56 61 6c 75 65 20 21 3d 20 6e 75 6c 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 eValue.!=.null).................
23e0 6d 5f 53 6f 75 72 63 65 4f 62 6a 65 63 74 4c 61 62 65 6c 2e 74 65 78 74 20 3d 20 22 50 61 72 65 m_SourceObjectLabel.text.=."Pare
2400 6e 74 20 4f 62 6a 65 63 74 22 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 6f 6f 6c 20 73 65 nt.Object";..............bool.se
2420 6c 66 43 6f 6e 74 72 6f 6c 6c 65 64 20 3d 20 66 61 6c 73 65 3b 0a 0a 0a 20 20 20 20 20 20 20 20 lfControlled.=.false;...........
2440 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 42 65 67 69 6e 43 68 61 6e 67 65 43 68 65 63 6b 28 29 ....EditorGUI.BeginChangeCheck()
2460 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 75 73 69 6e 67 20 28 6e 65 77 20 47 55 49 4d 69 78 ;..............using.(new.GUIMix
2480 65 64 56 61 6c 75 65 53 63 6f 70 65 28 6d 5f 53 6f 75 72 63 65 4f 62 6a 65 63 74 2e 68 61 73 4d edValueScope(m_SourceObject.hasM
24a0 75 6c 74 69 70 6c 65 44 69 66 66 65 72 65 6e 74 56 61 6c 75 65 73 29 29 0a 20 20 20 20 20 20 20 ultipleDifferentValues))........
24c0 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 50 72 6f 70 65 72 74 .........EditorGUILayout.Propert
24e0 79 46 69 65 6c 64 28 6d 5f 53 6f 75 72 63 65 4f 62 6a 65 63 74 2c 20 6d 5f 53 6f 75 72 63 65 4f yField(m_SourceObject,.m_SourceO
2500 62 6a 65 63 74 4c 61 62 65 6c 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 73 6f bjectLabel);..............var.so
2520 75 72 63 65 47 61 6d 65 4f 62 6a 65 63 74 20 3d 20 6d 5f 53 6f 75 72 63 65 4f 62 6a 65 63 74 2e urceGameObject.=.m_SourceObject.
2540 65 78 70 6f 73 65 64 52 65 66 65 72 65 6e 63 65 56 61 6c 75 65 20 61 73 20 47 61 6d 65 4f 62 6a exposedReferenceValue.as.GameObj
2560 65 63 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 65 6c 66 43 6f 6e 74 72 6f 6c 6c 65 64 20 ect;.............selfControlled.
2580 3d 20 6d 5f 50 72 65 66 61 62 4f 62 6a 65 63 74 2e 6f 62 6a 65 63 74 52 65 66 65 72 65 6e 63 65 =.m_PrefabObject.objectReference
25a0 56 61 6c 75 65 20 3d 3d 20 6e 75 6c 6c 20 26 26 20 54 69 6d 65 6c 69 6e 65 57 69 6e 64 6f 77 2e Value.==.null.&&.TimelineWindow.
25c0 69 6e 73 74 61 6e 63 65 20 21 3d 20 6e 75 6c 6c 20 26 26 20 54 69 6d 65 6c 69 6e 65 57 69 6e 64 instance.!=.null.&&.TimelineWind
25e0 6f 77 2e 69 6e 73 74 61 6e 63 65 2e 73 74 61 74 65 20 21 3d 20 6e 75 6c 6c 20 26 26 0a 20 20 20 ow.instance.state.!=.null.&&....
2600 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 65 78 74 44 69 72 65 63 74 6f 72 20 21 3d 20 .............contextDirector.!=.
2620 6e 75 6c 6c 20 26 26 20 73 6f 75 72 63 65 47 61 6d 65 4f 62 6a 65 63 74 20 3d 3d 20 63 6f 6e 74 null.&&.sourceGameObject.==.cont
2640 65 78 74 44 69 72 65 63 74 6f 72 2e 67 61 6d 65 4f 62 6a 65 63 74 3b 0a 0a 20 20 20 20 20 20 20 extDirector.gameObject;.........
2660 20 20 20 20 20 69 66 20 28 45 64 69 74 6f 72 47 55 49 2e 45 6e 64 43 68 61 6e 67 65 43 68 65 63 .....if.(EditorGUI.EndChangeChec
2680 6b 28 29 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 k()).............{..............
26a0 20 20 20 43 68 65 63 6b 46 6f 72 43 79 63 6c 69 63 52 65 66 65 72 65 6e 63 65 28 29 3b 0a 20 20 ...CheckForCyclicReference();...
26c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 73 65 6c 66 43 6f 6e 74 72 6f 6c 6c 65 ..............if.(!selfControlle
26e0 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 44 69 73 61 62 6c 65 50 6c d).....................DisablePl
2700 61 79 4f 6e 41 77 61 6b 65 28 73 6f 75 72 63 65 47 61 6d 65 4f 62 6a 65 63 74 29 3b 0a 20 20 20 ayOnAwake(sourceGameObject);....
2720 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 73 65 6c 66 .........}..............if.(self
2740 43 6f 6e 74 72 6f 6c 6c 65 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 Controlled).............{.......
2760 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 48 65 6c 70 42 6f ..........EditorGUILayout.HelpBo
2780 78 28 22 54 68 65 20 61 73 73 69 67 6e 65 64 20 47 61 6d 65 4f 62 6a 65 63 74 20 72 65 66 65 72 x("The.assigned.GameObject.refer
27a0 65 6e 63 65 73 20 74 68 65 20 73 61 6d 65 20 50 6c 61 79 61 62 6c 65 44 69 72 65 63 74 6f 72 20 ences.the.same.PlayableDirector.
27c0 63 6f 6d 70 6f 6e 65 6e 74 20 62 65 69 6e 67 20 63 6f 6e 74 72 6f 6c 6c 65 64 2e 22 2c 20 4d 65 component.being.controlled.",.Me
27e0 73 73 61 67 65 54 79 70 65 2e 57 61 72 6e 69 6e 67 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 ssageType.Warning);.............
2800 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 6d 5f 43 79 63 6c 65 52 65 }.............else.if.(m_CycleRe
2820 66 65 72 65 6e 63 65 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 ference).............{..........
2840 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 48 65 6c 70 42 6f 78 28 22 .......EditorGUILayout.HelpBox("
2860 54 68 65 20 61 73 73 69 67 6e 65 64 20 47 61 6d 65 4f 62 6a 65 63 74 20 63 6f 6e 74 61 69 6e 73 The.assigned.GameObject.contains
2880 20 61 20 50 6c 61 79 61 62 6c 65 44 69 72 65 63 74 6f 72 20 63 6f 6d 70 6f 6e 65 6e 74 20 74 68 .a.PlayableDirector.component.th
28a0 61 74 20 72 65 73 75 6c 74 73 20 69 6e 20 61 20 63 69 72 63 75 6c 61 72 20 72 65 66 65 72 65 6e at.results.in.a.circular.referen
28c0 63 65 2e 22 2c 20 4d 65 73 73 61 67 65 54 79 70 65 2e 57 61 72 6e 69 6e 67 29 3b 0a 20 20 20 20 ce.",.MessageType.Warning);.....
28e0 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 ........}..............EditorGUI
2900 2e 69 6e 64 65 6e 74 4c 65 76 65 6c 2b 2b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 .indentLevel++;.............Edit
2920 6f 72 47 55 49 4c 61 79 6f 75 74 2e 50 72 6f 70 65 72 74 79 46 69 65 6c 64 28 6d 5f 50 72 65 66 orGUILayout.PropertyField(m_Pref
2940 61 62 4f 62 6a 65 63 74 2c 20 53 74 79 6c 65 73 2e 70 72 65 66 61 62 43 6f 6e 74 65 6e 74 29 3b abObject,.Styles.prefabContent);
2960 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 69 6e 64 65 6e 74 4c 65 76 .............EditorGUI.indentLev
2980 65 6c 2d 2d 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 75 73 69 6e 67 20 28 6e 65 77 20 45 64 el--;..............using.(new.Ed
29a0 69 74 6f 72 47 55 49 2e 44 69 73 61 62 6c 65 64 53 63 6f 70 65 28 73 65 6c 66 43 6f 6e 74 72 6f itorGUI.DisabledScope(selfContro
29c0 6c 6c 65 64 29 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 lled)).............{............
29e0 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 50 72 6f 70 65 72 74 79 46 69 65 .....EditorGUILayout.PropertyFie
2a00 6c 64 28 6d 5f 55 73 65 41 63 74 69 76 61 74 69 6f 6e 2c 20 73 65 6c 66 43 6f 6e 74 72 6f 6c 6c ld(m_UseActivation,.selfControll
2a20 65 64 20 3f 20 53 74 79 6c 65 73 2e 61 63 74 69 76 61 74 69 6f 6e 44 69 73 61 62 6c 65 64 43 6f ed.?.Styles.activationDisabledCo
2a40 6e 74 65 6e 74 20 3a 20 53 74 79 6c 65 73 2e 61 63 74 69 76 61 74 69 6f 6e 43 6f 6e 74 65 6e 74 ntent.:.Styles.activationContent
2a60 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d 5f 55 73 65 41 63 74 69 );.................if.(m_UseActi
2a80 76 61 74 69 6f 6e 2e 62 6f 6f 6c 56 61 6c 75 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 vation.boolValue)...............
2aa0 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 ..{.....................EditorGU
2ac0 49 2e 69 6e 64 65 6e 74 4c 65 76 65 6c 2b 2b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 I.indentLevel++;................
2ae0 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 50 72 6f 70 65 72 74 79 46 69 65 .....EditorGUILayout.PropertyFie
2b00 6c 64 28 6d 5f 50 6f 73 74 50 6c 61 79 62 61 63 6b 2c 20 53 74 79 6c 65 73 2e 70 6f 73 74 50 6c ld(m_PostPlayback,.Styles.postPl
2b20 61 79 61 62 6c 65 43 6f 6e 74 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ayableContent);.................
2b40 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 69 6e 64 65 6e 74 4c 65 76 65 6c 2d 2d 3b 0a 20 20 20 ....EditorGUI.indentLevel--;....
2b60 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 7d 0a 0a 20 20 .............}.............}....
2b80 20 20 20 20 20 20 20 20 20 20 6d 5f 53 6f 75 72 63 65 4f 62 6a 65 63 74 2e 69 73 45 78 70 61 6e ..........m_SourceObject.isExpan
2ba0 64 65 64 20 3d 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 46 6f 6c 64 6f 75 74 28 6d 5f ded.=.EditorGUILayout.Foldout(m_
2bc0 53 6f 75 72 63 65 4f 62 6a 65 63 74 2e 69 73 45 78 70 61 6e 64 65 64 2c 20 53 74 79 6c 65 73 2e SourceObject.isExpanded,.Styles.
2be0 61 64 76 61 6e 63 65 64 43 6f 6e 74 65 6e 74 2c 20 74 72 75 65 29 3b 0a 0a 20 20 20 20 20 20 20 advancedContent,.true);.........
2c00 20 20 20 20 20 69 66 20 28 6d 5f 53 6f 75 72 63 65 4f 62 6a 65 63 74 2e 69 73 45 78 70 61 6e 64 .....if.(m_SourceObject.isExpand
2c20 65 64 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 ed).............{...............
2c40 20 20 45 64 69 74 6f 72 47 55 49 2e 69 6e 64 65 6e 74 4c 65 76 65 6c 2b 2b 3b 0a 0a 20 20 20 20 ..EditorGUI.indentLevel++;......
2c60 20 20 20 20 20 20 20 20 20 20 20 20 75 73 69 6e 67 20 28 6e 65 77 20 45 64 69 74 6f 72 47 55 49 ............using.(new.EditorGUI
2c80 2e 44 69 73 61 62 6c 65 64 53 63 6f 70 65 28 73 65 6c 66 43 6f 6e 74 72 6f 6c 6c 65 64 20 26 26 .DisabledScope(selfControlled.&&
2ca0 20 21 6d 5f 53 65 61 72 63 68 48 69 65 72 61 72 63 68 79 2e 62 6f 6f 6c 56 61 6c 75 65 29 29 0a .!m_SearchHierarchy.boolValue)).
2cc0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................{...............
2ce0 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 42 65 67 69 6e 43 68 61 6e 67 65 43 68 65 63 6b ......EditorGUI.BeginChangeCheck
2d00 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 ();.....................EditorGU
2d20 49 4c 61 79 6f 75 74 2e 50 72 6f 70 65 72 74 79 46 69 65 6c 64 28 6d 5f 55 70 64 61 74 65 44 69 ILayout.PropertyField(m_UpdateDi
2d40 72 65 63 74 6f 72 2c 20 73 65 6c 66 43 6f 6e 74 72 6f 6c 6c 65 64 20 3f 20 53 74 79 6c 65 73 2e rector,.selfControlled.?.Styles.
2d60 75 70 64 61 74 65 50 6c 61 79 61 62 6c 65 44 69 72 65 63 74 6f 72 44 69 73 61 62 6c 65 64 43 6f updatePlayableDirectorDisabledCo
2d80 6e 74 65 6e 74 20 3a 20 53 74 79 6c 65 73 2e 75 70 64 61 74 65 50 6c 61 79 61 62 6c 65 44 69 72 ntent.:.Styles.updatePlayableDir
2da0 65 63 74 6f 72 43 6f 6e 74 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ectorContent);..................
2dc0 20 20 20 69 66 20 28 45 64 69 74 6f 72 47 55 49 2e 45 6e 64 43 68 61 6e 67 65 43 68 65 63 6b 28 ...if.(EditorGUI.EndChangeCheck(
2de0 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 )).....................{........
2e00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 68 65 63 6b 46 6f 72 43 79 63 6c 69 63 52 .................CheckForCyclicR
2e20 65 66 65 72 65 6e 63 65 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 eference();.....................
2e40 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 }.................}.............
2e60 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 50 72 6f 70 65 72 74 79 46 69 65 .....EditorGUILayout.PropertyFie
2e80 6c 64 28 6d 5f 55 70 64 61 74 65 50 61 72 74 69 63 6c 65 2c 20 53 74 79 6c 65 73 2e 75 70 64 61 ld(m_UpdateParticle,.Styles.upda
2ea0 74 65 50 61 72 74 69 63 6c 65 53 79 73 74 65 6d 73 43 6f 6e 74 65 6e 74 29 3b 0a 20 20 20 20 20 teParticleSystemsContent);......
2ec0 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d 5f 55 70 64 61 74 65 50 61 72 74 69 63 6c 65 2e ...........if.(m_UpdateParticle.
2ee0 62 6f 6f 6c 56 61 6c 75 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 boolValue).................{....
2f00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 69 6e 64 65 6e .................EditorGUI.inden
2f20 74 4c 65 76 65 6c 2b 2b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 tLevel++;.....................Ed
2f40 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 50 72 6f 70 65 72 74 79 46 69 65 6c 64 28 6d 5f 52 61 itorGUILayout.PropertyField(m_Ra
2f60 6e 64 6f 6d 53 65 65 64 2c 20 53 74 79 6c 65 73 2e 72 61 6e 64 6f 6d 53 65 65 64 43 6f 6e 74 65 ndomSeed,.Styles.randomSeedConte
2f80 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 nt);.....................EditorG
2fa0 55 49 2e 69 6e 64 65 6e 74 4c 65 76 65 6c 2d 2d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 UI.indentLevel--;...............
2fc0 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 4c 61 79 ..}.................EditorGUILay
2fe0 6f 75 74 2e 50 72 6f 70 65 72 74 79 46 69 65 6c 64 28 6d 5f 55 70 64 61 74 65 49 54 69 6d 65 43 out.PropertyField(m_UpdateITimeC
3000 6f 6e 74 72 6f 6c 2c 20 53 74 79 6c 65 73 2e 75 70 64 61 74 65 49 54 69 6d 65 43 6f 6e 74 72 6f ontrol,.Styles.updateITimeContro
3020 6c 43 6f 6e 74 65 6e 74 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 lContent);..................Edit
3040 6f 72 47 55 49 4c 61 79 6f 75 74 2e 50 72 6f 70 65 72 74 79 46 69 65 6c 64 28 6d 5f 53 65 61 72 orGUILayout.PropertyField(m_Sear
3060 63 68 48 69 65 72 61 72 63 68 79 2c 20 53 74 79 6c 65 73 2e 75 70 64 61 74 65 48 69 65 72 61 72 chHierarchy,.Styles.updateHierar
3080 63 68 79 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 chy);..................EditorGUI
30a0 2e 69 6e 64 65 6e 74 4c 65 76 65 6c 2d 2d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 .indentLevel--;.............}...
30c0 20 20 20 20 20 20 20 20 20 20 20 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 41 70 70 6c ...........serializedObject.Appl
30e0 79 4d 6f 64 69 66 69 65 64 50 72 6f 70 65 72 74 69 65 73 28 29 3b 0a 20 20 20 20 20 20 20 20 7d yModifiedProperties();.........}
3100 0a 0a 20 20 20 20 20 20 20 20 2f 2f 0a 20 20 20 20 20 20 20 20 2f 2f 20 46 69 78 20 66 6f 72 20 ..........//.........//.Fix.for.
3120 61 20 77 6f 72 6b 66 6c 6f 77 20 69 73 73 75 65 20 77 68 65 72 65 20 73 63 65 6e 65 20 6f 62 6a a.workflow.issue.where.scene.obj
3140 65 63 74 73 20 77 69 74 68 20 64 69 72 65 63 74 6f 72 73 20 68 61 76 65 20 70 6c 61 79 20 6f 6e ects.with.directors.have.play.on
3160 20 61 77 61 6b 65 20 62 79 20 64 65 66 61 75 6c 74 20 65 6e 61 62 6c 65 64 2e 0a 20 20 20 20 20 .awake.by.default.enabled.......
3180 20 20 20 2f 2f 20 20 54 68 69 73 20 63 61 75 73 65 73 20 63 6f 6e 66 75 73 69 6f 6e 20 77 68 65 ...//..This.causes.confusion.whe
31a0 6e 20 74 68 65 20 64 69 72 65 63 74 6f 72 20 69 73 20 70 6c 61 79 65 64 20 77 69 74 68 69 6e 20 n.the.director.is.played.within.
31c0 61 6e 6f 74 68 65 72 20 64 69 72 65 63 74 6f 72 2c 20 73 6f 20 77 65 20 64 69 73 61 62 6c 65 20 another.director,.so.we.disable.
31e0 69 74 20 6f 6e 20 61 73 73 69 67 6e 6d 65 6e 74 0a 20 20 20 20 20 20 20 20 2f 2f 20 20 74 6f 20 it.on.assignment.........//..to.
3200 61 76 6f 69 64 20 74 68 65 20 69 73 73 75 65 2c 20 62 75 74 20 6e 6f 74 20 66 6f 72 63 65 20 74 avoid.the.issue,.but.not.force.t
3220 68 65 20 69 73 73 75 65 20 6f 6e 20 74 68 65 20 75 73 65 72 0a 20 20 20 20 20 20 20 20 70 75 62 he.issue.on.the.user.........pub
3240 6c 69 63 20 76 6f 69 64 20 44 69 73 61 62 6c 65 50 6c 61 79 4f 6e 41 77 61 6b 65 28 47 61 6d 65 lic.void.DisablePlayOnAwake(Game
3260 4f 62 6a 65 63 74 20 73 6f 75 72 63 65 4f 62 6a 65 63 74 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 Object.sourceObject).........{..
3280 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 73 6f 75 72 63 65 4f 62 6a 65 63 74 20 21 3d 20 6e ...........if.(sourceObject.!=.n
32a0 75 6c 6c 20 26 26 20 6d 5f 55 70 64 61 74 65 44 69 72 65 63 74 6f 72 2e 62 6f 6f 6c 56 61 6c 75 ull.&&.m_UpdateDirector.boolValu
32c0 65 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 20 e).............{................
32e0 20 69 66 20 28 6d 5f 53 65 61 72 63 68 48 69 65 72 61 72 63 68 79 2e 62 6f 6f 6c 56 61 6c 75 65 .if.(m_SearchHierarchy.boolValue
3300 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 ).................{.............
3320 20 20 20 20 20 20 20 20 76 61 72 20 64 69 72 65 63 74 6f 72 73 20 3d 20 73 6f 75 72 63 65 4f 62 ........var.directors.=.sourceOb
3340 6a 65 63 74 2e 47 65 74 43 6f 6d 70 6f 6e 65 6e 74 73 49 6e 43 68 69 6c 64 72 65 6e 3c 50 6c 61 ject.GetComponentsInChildren<Pla
3360 79 61 62 6c 65 44 69 72 65 63 74 6f 72 3e 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 yableDirector>();...............
3380 20 20 20 20 20 20 66 6f 72 65 61 63 68 20 28 76 61 72 20 64 20 69 6e 20 64 69 72 65 63 74 6f 72 ......foreach.(var.d.in.director
33a0 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 s).....................{........
33c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 44 69 73 61 62 6c 65 50 6c 61 79 4f 6e 41 77 .................DisablePlayOnAw
33e0 61 6b 65 28 64 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 ake(d);.....................}...
3400 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ..............}.................
3420 65 6c 73 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 else.................{..........
3440 20 20 20 20 20 20 20 20 20 20 20 44 69 73 61 62 6c 65 50 6c 61 79 4f 6e 41 77 61 6b 65 28 73 6f ...........DisablePlayOnAwake(so
3460 75 72 63 65 4f 62 6a 65 63 74 2e 47 65 74 43 6f 6d 70 6f 6e 65 6e 74 3c 50 6c 61 79 61 62 6c 65 urceObject.GetComponent<Playable
3480 44 69 72 65 63 74 6f 72 3e 28 29 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a Director>());.................}.
34a0 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 20 ............}.........}.........
34c0 20 70 75 62 6c 69 63 20 76 6f 69 64 20 44 69 73 61 62 6c 65 50 6c 61 79 4f 6e 41 77 61 6b 65 28 .public.void.DisablePlayOnAwake(
34e0 50 6c 61 79 61 62 6c 65 44 69 72 65 63 74 6f 72 20 64 69 72 65 63 74 6f 72 29 0a 20 20 20 20 20 PlayableDirector.director)......
3500 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 64 69 72 65 63 74 6f 72 20 3d 3d ...{.............if.(director.==
3520 20 6e 75 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 3b 0a 20 .null).................return;..
3540 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6f 62 6a 20 3d 20 6e 65 77 20 53 65 72 69 61 6c 69 ...........var.obj.=.new.Seriali
3560 7a 65 64 4f 62 6a 65 63 74 28 64 69 72 65 63 74 6f 72 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 zedObject(director);............
3580 20 76 61 72 20 70 72 6f 70 20 3d 20 6f 62 6a 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 6d 5f .var.prop.=.obj.FindProperty("m_
35a0 49 6e 69 74 69 61 6c 53 74 61 74 65 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 72 6f 70 InitialState");.............prop
35c0 2e 65 6e 75 6d 56 61 6c 75 65 49 6e 64 65 78 20 3d 20 28 69 6e 74 29 50 6c 61 79 53 74 61 74 65 .enumValueIndex.=.(int)PlayState
35e0 2e 50 61 75 73 65 64 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6f 62 6a 2e 41 70 70 6c 79 4d 6f .Paused;.............obj.ApplyMo
3600 64 69 66 69 65 64 50 72 6f 70 65 72 74 69 65 73 28 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 difiedProperties();.........}...
3620 20 20 20 20 20 20 20 76 6f 69 64 20 43 68 65 63 6b 46 6f 72 43 79 63 6c 69 63 52 65 66 65 72 65 .......void.CheckForCyclicRefere
3640 6e 63 65 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 73 65 72 69 nce().........{.............seri
3660 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 41 70 70 6c 79 4d 6f 64 69 66 69 65 64 50 72 6f 70 65 72 alizedObject.ApplyModifiedProper
3680 74 69 65 73 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 43 79 63 6c 65 52 65 66 65 72 ties();.............m_CycleRefer
36a0 65 6e 63 65 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 79 61 ence.=.false;..............Playa
36c0 62 6c 65 44 69 72 65 63 74 6f 72 20 64 69 72 65 63 74 6f 72 20 3d 20 63 6f 6e 74 65 78 74 44 69 bleDirector.director.=.contextDi
36e0 72 65 63 74 6f 72 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 63 6f 6e 74 65 78 74 44 rector;.............if.(contextD
3700 69 72 65 63 74 6f 72 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 irector.==.null)................
3720 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 65 61 63 68 20 28 76 .return;..............foreach.(v
3740 61 72 20 61 73 73 65 74 20 69 6e 20 74 61 72 67 65 74 73 2e 4f 66 54 79 70 65 3c 43 6f 6e 74 72 ar.asset.in.targets.OfType<Contr
3760 6f 6c 50 6c 61 79 61 62 6c 65 41 73 73 65 74 3e 28 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 olPlayableAsset>()).............
3780 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 43 6f 6e 74 72 6f 6c 50 6c 61 {.................if.(ControlPla
37a0 79 61 62 6c 65 55 74 69 6c 69 74 79 2e 44 65 74 65 63 74 43 79 63 6c 65 28 61 73 73 65 74 2c 20 yableUtility.DetectCycle(asset,.
37c0 64 69 72 65 63 74 6f 72 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 director)).................{....
37e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 43 79 63 6c 65 52 65 66 65 72 65 6e 63 .................m_CycleReferenc
3800 65 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 e.=.true;.....................re
3820 74 75 72 6e 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 turn;.................}.........
3840 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 7d 0a 00 00 00 00 00 00 00 00 ....}.........}.....}.}.........
3860 00 00 00 00 00 00 00 00 00 00 00 00 18 00 00 00 43 6f 6e 74 72 6f 6c 50 6c 61 79 61 62 6c 65 49 ................ControlPlayableI
3880 6e 73 70 65 63 74 6f 72 14 00 00 00 55 6e 69 74 79 45 64 69 74 6f 72 2e 54 69 6d 65 6c 69 6e 65 nspector....UnityEditor.Timeline