summaryrefslogtreecommitdiff
path: root/Library/Artifacts/c5/c5ef4406066fa155df064ba50454a72b
blob: f98fbc88c4cc1f14227cf313b897b3784f86ce21 (plain)
ofshex dumpascii
0000 00 00 0f 81 00 00 4b 78 00 00 00 15 00 00 10 00 00 00 00 00 32 30 31 39 2e 33 2e 36 66 31 00 fe ......Kx............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 18 3b 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 54 69 6d 65 6c 69 6e 65 49 6e 73 70 65 63 74 6f 72 55 74 69 ............TimelineInspectorUti
10a0 6c 69 74 79 88 3a 00 00 75 73 69 6e 67 20 53 79 73 74 65 6d 3b 0a 75 73 69 6e 67 20 53 79 73 74 lity.:..using.System;.using.Syst
10c0 65 6d 2e 4c 69 6e 71 3b 0a 75 73 69 6e 67 20 55 6e 69 74 79 45 6e 67 69 6e 65 3b 0a 75 73 69 6e em.Linq;.using.UnityEngine;.usin
10e0 67 20 55 6e 69 74 79 45 6e 67 69 6e 65 2e 54 69 6d 65 6c 69 6e 65 3b 0a 0a 6e 61 6d 65 73 70 61 g.UnityEngine.Timeline;..namespa
1100 63 65 20 55 6e 69 74 79 45 64 69 74 6f 72 2e 54 69 6d 65 6c 69 6e 65 0a 7b 0a 20 20 20 20 5b 46 ce.UnityEditor.Timeline.{.....[F
1120 6c 61 67 73 5d 0a 20 20 20 20 65 6e 75 6d 20 49 6e 70 75 74 45 76 65 6e 74 0a 20 20 20 20 7b 0a lags].....enum.InputEvent.....{.
1140 20 20 20 20 20 20 20 20 4e 6f 6e 65 20 3d 20 30 2c 0a 20 20 20 20 20 20 20 20 44 72 61 67 45 6e ........None.=.0,.........DragEn
1160 74 65 72 20 3d 20 31 2c 0a 20 20 20 20 20 20 20 20 44 72 61 67 45 78 69 74 20 3d 20 32 2c 0a 20 ter.=.1,.........DragExit.=.2,..
1180 20 20 20 20 20 20 20 44 72 61 67 20 3d 20 34 2c 0a 20 20 20 20 20 20 20 20 4b 65 79 62 6f 61 72 .......Drag.=.4,.........Keyboar
11a0 64 49 6e 70 75 74 20 3d 20 38 0a 20 20 20 20 7d 0a 0a 20 20 20 20 73 74 61 74 69 63 20 63 6c 61 dInput.=.8.....}......static.cla
11c0 73 73 20 49 6e 70 75 74 45 76 65 6e 74 4d 65 74 68 6f 64 73 0a 20 20 20 20 7b 0a 20 20 20 20 20 ss.InputEventMethods.....{......
11e0 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 62 6f 6f 6c 20 49 6e 70 75 74 48 61 73 42 65 ...public.static.bool.InputHasBe
1200 67 75 6e 28 74 68 69 73 20 49 6e 70 75 74 45 76 65 6e 74 20 65 76 74 29 0a 20 20 20 20 20 20 20 gun(this.InputEvent.evt)........
1220 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 65 76 74 20 3d 3d 20 49 6e 70 .{.............return.evt.==.Inp
1240 75 74 45 76 65 6e 74 2e 44 72 61 67 45 6e 74 65 72 20 7c 7c 20 65 76 74 20 3d 3d 20 49 6e 70 75 utEvent.DragEnter.||.evt.==.Inpu
1260 74 45 76 65 6e 74 2e 4b 65 79 62 6f 61 72 64 49 6e 70 75 74 3b 0a 20 20 20 20 20 20 20 20 7d 0a tEvent.KeyboardInput;.........}.
1280 20 20 20 20 7d 0a 0a 20 20 20 20 73 74 61 74 69 63 20 63 6c 61 73 73 20 54 69 6d 65 6c 69 6e 65 ....}......static.class.Timeline
12a0 49 6e 73 70 65 63 74 6f 72 55 74 69 6c 69 74 79 0a 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 69 InspectorUtility.....{.........i
12c0 6e 74 65 72 6e 61 6c 20 73 74 61 74 69 63 20 63 6c 61 73 73 20 53 74 79 6c 65 73 0a 20 20 20 20 nternal.static.class.Styles.....
12e0 20 20 20 20 7b 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 ....{.............public.static.
1300 72 65 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 53 65 63 6f 6e 64 73 50 72 65 66 69 readonly.GUIContent.SecondsPrefi
1320 78 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 x.=.EditorGUIUtility.TrTextConte
1340 6e 74 28 22 73 22 2c 20 22 53 65 63 6f 6e 64 73 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 nt("s",."Seconds");.............
1360 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 65 6e public.static.readonly.GUIConten
1380 74 20 46 72 61 6d 65 73 50 72 65 66 69 78 20 3d 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 t.FramesPrefix.=.EditorGUIUtilit
13a0 79 2e 54 72 54 65 78 74 43 6f 6e 74 65 6e 74 28 22 66 22 2c 20 22 46 72 61 6d 65 73 22 29 3b 0a y.TrTextContent("f",."Frames");.
13c0 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 ........}..........public.static
13e0 20 76 6f 69 64 20 54 69 6d 65 46 69 65 6c 64 28 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 .void.TimeField(SerializedProper
1400 74 79 20 70 72 6f 70 65 72 74 79 2c 20 47 55 49 43 6f 6e 74 65 6e 74 20 6c 61 62 65 6c 2c 20 62 ty.property,.GUIContent.label,.b
1420 6f 6f 6c 20 72 65 61 64 4f 6e 6c 79 2c 20 64 6f 75 62 6c 65 20 66 72 61 6d 65 52 61 74 65 2c 20 ool.readOnly,.double.frameRate,.
1440 64 6f 75 62 6c 65 20 6d 69 6e 56 61 6c 75 65 2c 20 64 6f 75 62 6c 65 20 6d 61 78 56 61 6c 75 65 double.minValue,.double.maxValue
1460 2c 20 72 65 66 20 49 6e 70 75 74 45 76 65 6e 74 20 69 6e 70 75 74 45 76 65 6e 74 29 0a 20 20 20 ,.ref.InputEvent.inputEvent)....
1480 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 72 65 63 74 20 3d 20 45 64 .....{.............var.rect.=.Ed
14a0 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 47 65 74 43 6f 6e 74 72 6f 6c 52 65 63 74 28 29 3b 0a itorGUILayout.GetControlRect();.
14c0 20 20 20 20 20 20 20 20 20 20 20 20 54 69 6d 65 46 69 65 6c 64 28 72 65 63 74 2c 20 70 72 6f 70 ............TimeField(rect,.prop
14e0 65 72 74 79 2c 20 6c 61 62 65 6c 2c 20 72 65 61 64 4f 6e 6c 79 2c 20 66 72 61 6d 65 52 61 74 65 erty,.label,.readOnly,.frameRate
1500 2c 20 6d 69 6e 56 61 6c 75 65 2c 20 6d 61 78 56 61 6c 75 65 2c 20 72 65 66 20 69 6e 70 75 74 45 ,.minValue,.maxValue,.ref.inputE
1520 76 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 44 69 73 vent);.........}..........//.Dis
1540 70 6c 61 79 20 54 69 6d 65 20 72 65 6c 61 74 65 64 20 70 72 6f 70 65 72 74 69 65 73 20 69 6e 20 play.Time.related.properties.in.
1560 66 72 61 6d 65 73 20 61 6e 64 20 73 65 63 6f 6e 64 73 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 frames.and.seconds.........publi
1580 63 20 73 74 61 74 69 63 20 76 6f 69 64 20 54 69 6d 65 46 69 65 6c 64 28 52 65 63 74 20 72 65 63 c.static.void.TimeField(Rect.rec
15a0 74 2c 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 70 72 6f 70 65 72 74 79 2c 20 t,.SerializedProperty.property,.
15c0 47 55 49 43 6f 6e 74 65 6e 74 20 6c 61 62 65 6c 2c 20 62 6f 6f 6c 20 72 65 61 64 4f 6e 6c 79 2c GUIContent.label,.bool.readOnly,
15e0 20 64 6f 75 62 6c 65 20 66 72 61 6d 65 52 61 74 65 2c 20 64 6f 75 62 6c 65 20 6d 69 6e 56 61 6c .double.frameRate,.double.minVal
1600 75 65 2c 20 64 6f 75 62 6c 65 20 6d 61 78 56 61 6c 75 65 2c 20 72 65 66 20 49 6e 70 75 74 45 76 ue,.double.maxValue,.ref.InputEv
1620 65 6e 74 20 69 6e 70 75 74 45 76 65 6e 74 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 ent.inputEvent).........{.......
1640 20 20 20 20 20 20 47 55 49 43 6f 6e 74 65 6e 74 20 74 69 74 6c 65 20 3d 20 45 64 69 74 6f 72 47 ......GUIContent.title.=.EditorG
1660 55 49 2e 42 65 67 69 6e 50 72 6f 70 65 72 74 79 28 72 65 63 74 2c 20 6c 61 62 65 6c 2c 20 70 72 UI.BeginProperty(rect,.label,.pr
1680 6f 70 65 72 74 79 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 20 3d 20 45 64 69 74 operty);.............rect.=.Edit
16a0 6f 72 47 55 49 2e 50 72 65 66 69 78 4c 61 62 65 6c 28 72 65 63 74 2c 20 74 69 74 6c 65 29 3b 0a orGUI.PrefixLabel(rect,.title);.
16c0 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 20 69 6e 64 65 6e 74 4c 65 76 65 6c 20 3d 20 45 .............int.indentLevel.=.E
16e0 64 69 74 6f 72 47 55 49 2e 69 6e 64 65 6e 74 4c 65 76 65 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 ditorGUI.indentLevel;...........
1700 20 20 66 6c 6f 61 74 20 6c 61 62 65 6c 57 69 64 74 68 20 3d 20 45 64 69 74 6f 72 47 55 49 55 74 ..float.labelWidth.=.EditorGUIUt
1720 69 6c 69 74 79 2e 6c 61 62 65 6c 57 69 64 74 68 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 ility.labelWidth;.............Ed
1740 69 74 6f 72 47 55 49 2e 69 6e 64 65 6e 74 4c 65 76 65 6c 20 3d 20 30 3b 0a 20 20 20 20 20 20 20 itorGUI.indentLevel.=.0;........
1760 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 6c 61 62 65 6c 57 69 64 74 68 .....EditorGUIUtility.labelWidth
1780 20 3d 20 28 69 6e 74 29 45 64 69 74 6f 72 47 55 49 2e 6b 4d 69 6e 69 4c 61 62 65 6c 57 3b 0a 20 .=.(int)EditorGUI.kMiniLabelW;..
17a0 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 65 64 56 61 ...........using.(new.GUIMixedVa
17c0 6c 75 65 53 63 6f 70 65 28 70 72 6f 70 65 72 74 79 2e 68 61 73 4d 75 6c 74 69 70 6c 65 44 69 66 lueScope(property.hasMultipleDif
17e0 66 65 72 65 6e 74 56 61 6c 75 65 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 ferentValues)).............{....
1800 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 73 65 63 6f 6e 64 73 52 65 63 74 20 3d 20 6e .............var.secondsRect.=.n
1820 65 77 20 52 65 63 74 28 72 65 63 74 2e 78 4d 69 6e 2c 20 72 65 63 74 2e 79 4d 69 6e 2c 20 72 65 ew.Rect(rect.xMin,.rect.yMin,.re
1840 63 74 2e 77 69 64 74 68 20 2f 20 32 20 2d 20 45 64 69 74 6f 72 47 55 49 2e 6b 53 70 61 63 69 6e ct.width./.2.-.EditorGUI.kSpacin
1860 67 53 75 62 4c 61 62 65 6c 2c 20 72 65 63 74 2e 68 65 69 67 68 74 29 3b 0a 20 20 20 20 20 20 20 gSubLabel,.rect.height);........
1880 20 20 20 20 20 20 20 20 20 76 61 72 20 66 72 61 6d 65 73 52 65 63 74 20 3d 20 6e 65 77 20 52 65 .........var.framesRect.=.new.Re
18a0 63 74 28 72 65 63 74 2e 78 4d 69 6e 20 2b 20 72 65 63 74 2e 77 69 64 74 68 20 2f 20 32 2c 20 72 ct(rect.xMin.+.rect.width./.2,.r
18c0 65 63 74 2e 79 4d 69 6e 2c 20 72 65 63 74 2e 77 69 64 74 68 20 2f 20 32 2c 20 72 65 63 74 2e 68 ect.yMin,.rect.width./.2,.rect.h
18e0 65 69 67 68 74 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 72 65 61 eight);..................if.(rea
1900 64 4f 6e 6c 79 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 dOnly).................{........
1920 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 46 6c 6f 61 74 46 69 65 6c .............EditorGUI.FloatFiel
1940 64 28 73 65 63 6f 6e 64 73 52 65 63 74 2c 20 53 74 79 6c 65 73 2e 53 65 63 6f 6e 64 73 50 72 65 d(secondsRect,.Styles.SecondsPre
1960 66 69 78 2c 20 28 66 6c 6f 61 74 29 70 72 6f 70 65 72 74 79 2e 64 6f 75 62 6c 65 56 61 6c 75 65 fix,.(float)property.doubleValue
1980 2c 20 45 64 69 74 6f 72 53 74 79 6c 65 73 2e 6c 61 62 65 6c 29 3b 0a 20 20 20 20 20 20 20 20 20 ,.EditorStyles.label);..........
19a0 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 65 6c 73 65 0a 20 20 .......}.................else...
19c0 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 20 20 ..............{.................
19e0 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()
1a00 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 44 65 6c 61 79 65 64 41 6e 64 ;.....................DelayedAnd
1a20 44 72 61 67 67 61 62 6c 65 44 6f 75 62 6c 65 46 69 65 6c 64 28 73 65 63 6f 6e 64 73 52 65 63 74 DraggableDoubleField(secondsRect
1a40 2c 20 53 74 79 6c 65 73 2e 53 65 63 6f 6e 64 73 50 72 65 66 69 78 2c 20 70 72 6f 70 65 72 74 79 ,.Styles.SecondsPrefix,.property
1a60 2c 20 72 65 66 20 69 6e 70 75 74 45 76 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ,.ref.inputEvent);..............
1a80 20 20 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 .......if.(EditorGUI.EndChangeCh
1aa0 65 63 6b 28 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 eck()).....................{....
1ac0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 6f 70 65 72 74 79 2e 64 6f .....................property.do
1ae0 75 62 6c 65 56 61 6c 75 65 20 3d 20 43 6c 61 6d 70 28 70 72 6f 70 65 72 74 79 2e 64 6f 75 62 6c ubleValue.=.Clamp(property.doubl
1b00 65 56 61 6c 75 65 2c 20 6d 69 6e 56 61 6c 75 65 2c 20 6d 61 78 56 61 6c 75 65 29 3b 0a 20 20 20 eValue,.minValue,.maxValue);....
1b20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 .................}..............
1b40 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 66 72 61 6d 65 52 ...}..................if.(frameR
1b60 61 74 65 20 3e 20 54 69 6d 65 55 74 69 6c 69 74 79 2e 6b 54 69 6d 65 45 70 73 69 6c 6f 6e 29 0a ate.>.TimeUtility.kTimeEpsilon).
1b80 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 ................{...............
1ba0 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
1bc0 28 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 6f 75 62 6c 65 20 ();......................double.
1be0 74 69 6d 65 20 3d 20 70 72 6f 70 65 72 74 79 2e 64 6f 75 62 6c 65 56 61 6c 75 65 3b 0a 20 20 20 time.=.property.doubleValue;....
1c00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 20 66 72 61 6d 65 73 20 3d 20 54 69 .................int.frames.=.Ti
1c20 6d 65 55 74 69 6c 69 74 79 2e 54 6f 46 72 61 6d 65 73 28 74 69 6d 65 2c 20 66 72 61 6d 65 52 61 meUtility.ToFrames(time,.frameRa
1c40 74 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 6f 75 62 6c 65 20 te);.....................double.
1c60 65 78 61 63 74 46 72 61 6d 65 73 20 3d 20 54 69 6d 65 55 74 69 6c 69 74 79 2e 54 6f 45 78 61 63 exactFrames.=.TimeUtility.ToExac
1c80 74 46 72 61 6d 65 73 28 74 69 6d 65 2c 20 66 72 61 6d 65 52 61 74 65 29 3b 0a 20 20 20 20 20 20 tFrames(time,.frameRate);.......
1ca0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 6f 6f 6c 20 75 73 65 49 6e 74 46 69 65 6c 64 20 3d ..............bool.useIntField.=
1cc0 20 54 69 6d 65 55 74 69 6c 69 74 79 2e 4f 6e 46 72 61 6d 65 42 6f 75 6e 64 61 72 79 28 74 69 6d .TimeUtility.OnFrameBoundary(tim
1ce0 65 2c 20 66 72 61 6d 65 52 61 74 65 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 e,.frameRate);..................
1d00 20 20 20 20 69 66 20 28 72 65 61 64 4f 6e 6c 79 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ....if.(readOnly)...............
1d20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ......{.........................
1d40 69 66 20 28 75 73 65 49 6e 74 46 69 65 6c 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 if.(useIntField)................
1d60 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 49 6e 74 46 69 65 6c 64 28 .............EditorGUI.IntField(
1d80 66 72 61 6d 65 73 52 65 63 74 2c 20 53 74 79 6c 65 73 2e 46 72 61 6d 65 73 50 72 65 66 69 78 2c framesRect,.Styles.FramesPrefix,
1da0 20 66 72 61 6d 65 73 2c 20 45 64 69 74 6f 72 53 74 79 6c 65 73 2e 6c 61 62 65 6c 29 3b 0a 20 20 .frames,.EditorStyles.label);...
1dc0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 ......................else......
1de0 20 20 20 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 49 .......................EditorGUI
1e00 2e 44 6f 75 62 6c 65 46 69 65 6c 64 28 66 72 61 6d 65 73 52 65 63 74 2c 20 53 74 79 6c 65 73 2e .DoubleField(framesRect,.Styles.
1e20 46 72 61 6d 65 73 50 72 65 66 69 78 2c 20 65 78 61 63 74 46 72 61 6d 65 73 2c 20 45 64 69 74 6f FramesPrefix,.exactFrames,.Edito
1e40 72 53 74 79 6c 65 73 2e 6c 61 62 65 6c 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 rStyles.label);.................
1e60 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 ....}.....................else..
1e80 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 20 20 20 20 ...................{............
1ea0 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 75 73 65 49 6e 74 46 69 65 6c 64 29 0a 20 20 .............if.(useIntField)...
1ec0 20 20 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 20 ......................{.........
1ee0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 20 6e 65 77 46 72 61 6d 65 ....................int.newFrame
1f00 73 20 3d 20 44 65 6c 61 79 65 64 41 6e 64 44 72 61 67 67 61 62 6c 65 49 6e 74 46 69 65 6c 64 28 s.=.DelayedAndDraggableIntField(
1f20 66 72 61 6d 65 73 52 65 63 74 2c 20 53 74 79 6c 65 73 2e 46 72 61 6d 65 73 50 72 65 66 69 78 2c framesRect,.Styles.FramesPrefix,
1f40 20 66 72 61 6d 65 73 2c 20 72 65 66 20 69 6e 70 75 74 45 76 65 6e 74 29 3b 0a 20 20 20 20 20 20 .frames,.ref.inputEvent);.......
1f60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 69 6d 65 20 3d 20 4d 61 74 ......................time.=.Mat
1f80 68 2e 4d 61 78 28 30 2c 20 54 69 6d 65 55 74 69 6c 69 74 79 2e 46 72 6f 6d 46 72 61 6d 65 73 28 h.Max(0,.TimeUtility.FromFrames(
1fa0 6e 65 77 46 72 61 6d 65 73 2c 20 66 72 61 6d 65 52 61 74 65 29 29 3b 0a 20 20 20 20 20 20 20 20 newFrames,.frameRate));.........
1fc0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................}...............
1fe0 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 20 20 20 20 20 20 ..........else..................
2000 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .......{........................
2020 20 20 20 20 20 64 6f 75 62 6c 65 20 6e 65 77 45 78 61 63 74 46 72 61 6d 65 73 20 3d 20 44 65 6c .....double.newExactFrames.=.Del
2040 61 79 65 64 41 6e 64 44 72 61 67 67 61 62 6c 65 44 6f 75 62 6c 65 46 69 65 6c 64 28 66 72 61 6d ayedAndDraggableDoubleField(fram
2060 65 73 52 65 63 74 2c 20 53 74 79 6c 65 73 2e 46 72 61 6d 65 73 50 72 65 66 69 78 2c 20 65 78 61 esRect,.Styles.FramesPrefix,.exa
2080 63 74 46 72 61 6d 65 73 2c 20 72 65 66 20 69 6e 70 75 74 45 76 65 6e 74 29 3b 0a 20 20 20 20 20 ctFrames,.ref.inputEvent);......
20a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 69 6d 65 20 3d 20 4d 61 .......................time.=.Ma
20c0 74 68 2e 4d 61 78 28 30 2c 20 54 69 6d 65 55 74 69 6c 69 74 79 2e 46 72 6f 6d 46 72 61 6d 65 73 th.Max(0,.TimeUtility.FromFrames
20e0 28 28 69 6e 74 29 4d 61 74 68 2e 46 6c 6f 6f 72 28 6e 65 77 45 78 61 63 74 46 72 61 6d 65 73 29 ((int)Math.Floor(newExactFrames)
2100 2c 20 66 72 61 6d 65 52 61 74 65 29 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ,.frameRate));..................
2120 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 20 20 20 20 7d 0a 0a .......}.....................}..
2140 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 45 64 69 74 6f 72 47 55 ....................if.(EditorGU
2160 49 2e 45 6e 64 43 68 61 6e 67 65 43 68 65 63 6b 28 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 I.EndChangeCheck()).............
2180 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ........{.......................
21a0 20 20 70 72 6f 70 65 72 74 79 2e 64 6f 75 62 6c 65 56 61 6c 75 65 20 3d 20 43 6c 61 6d 70 28 74 ..property.doubleValue.=.Clamp(t
21c0 69 6d 65 2c 20 6d 69 6e 56 61 6c 75 65 2c 20 6d 61 78 56 61 6c 75 65 29 3b 0a 20 20 20 20 20 20 ime,.minValue,.maxValue);.......
21e0 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 ..............}.................
2200 7d 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 2e 69 6e 64 }..................EditorGUI.ind
2220 65 6e 74 4c 65 76 65 6c 20 3d 20 69 6e 64 65 6e 74 4c 65 76 65 6c 3b 0a 20 20 20 20 20 20 20 20 entLevel.=.indentLevel;.........
2240 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 6c 61 62 65 6c 57 69 ........EditorGUIUtility.labelWi
2260 64 74 68 20 3d 20 6c 61 62 65 6c 57 69 64 74 68 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 dth.=.labelWidth;...............
2280 20 20 45 64 69 74 6f 72 47 55 49 2e 45 6e 64 50 72 6f 70 65 72 74 79 28 29 3b 0a 20 20 20 20 20 ..EditorGUI.EndProperty();......
22a0 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 20 70 75 62 6c .......}.........}..........publ
22c0 69 63 20 73 74 61 74 69 63 20 64 6f 75 62 6c 65 20 54 69 6d 65 46 69 65 6c 64 55 73 69 6e 67 54 ic.static.double.TimeFieldUsingT
22e0 69 6d 65 52 65 66 65 72 65 6e 63 65 28 0a 20 20 20 20 20 20 20 20 20 20 20 20 47 55 49 43 6f 6e imeReference(.............GUICon
2300 74 65 6e 74 20 6c 61 62 65 6c 2c 20 64 6f 75 62 6c 65 20 74 69 6d 65 2c 20 62 6f 6f 6c 20 72 65 tent.label,.double.time,.bool.re
2320 61 64 4f 6e 6c 79 2c 20 62 6f 6f 6c 20 73 68 6f 77 4d 69 78 65 64 2c 20 64 6f 75 62 6c 65 20 66 adOnly,.bool.showMixed,.double.f
2340 72 61 6d 65 52 61 74 65 2c 20 64 6f 75 62 6c 65 20 6d 69 6e 56 61 6c 75 65 2c 0a 20 20 20 20 20 rameRate,.double.minValue,......
2360 20 20 20 20 20 20 20 64 6f 75 62 6c 65 20 6d 61 78 56 61 6c 75 65 2c 20 72 65 66 20 49 6e 70 75 .......double.maxValue,.ref.Inpu
2380 74 45 76 65 6e 74 20 69 6e 70 75 74 45 76 65 6e 74 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 tEvent.inputEvent).........{....
23a0 20 20 20 20 20 20 20 20 20 76 61 72 20 73 74 61 74 65 20 3d 20 54 69 6d 65 6c 69 6e 65 57 69 6e .........var.state.=.TimelineWin
23c0 64 6f 77 2e 69 6e 73 74 61 6e 63 65 2e 73 74 61 74 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 dow.instance.state;.............
23e0 76 61 72 20 6e 65 65 64 73 54 69 6d 65 43 6f 6e 76 65 72 73 69 6f 6e 20 3d 20 73 74 61 74 65 20 var.needsTimeConversion.=.state.
2400 21 3d 20 6e 75 6c 6c 20 26 26 20 73 74 61 74 65 2e 74 69 6d 65 52 65 66 65 72 65 6e 63 65 4d 6f !=.null.&&.state.timeReferenceMo
2420 64 65 20 3d 3d 20 54 69 6d 65 52 65 66 65 72 65 6e 63 65 4d 6f 64 65 2e 47 6c 6f 62 61 6c 3b 0a de.==.TimeReferenceMode.Global;.
2440 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6e 65 65 64 73 54 69 6d 65 43 6f 6e 76 65 72 .............if.(needsTimeConver
2460 73 69 6f 6e 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 69 6d 65 20 3d 20 73 74 61 sion).................time.=.sta
2480 74 65 2e 65 64 69 74 53 65 71 75 65 6e 63 65 2e 54 6f 47 6c 6f 62 61 6c 54 69 6d 65 28 74 69 6d te.editSequence.ToGlobalTime(tim
24a0 65 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 74 20 3d 20 54 69 6d 65 46 69 65 e);..............var.t.=.TimeFie
24c0 6c 64 28 6c 61 62 65 6c 2c 20 74 69 6d 65 2c 20 72 65 61 64 4f 6e 6c 79 2c 20 73 68 6f 77 4d 69 ld(label,.time,.readOnly,.showMi
24e0 78 65 64 2c 20 66 72 61 6d 65 52 61 74 65 2c 20 6d 69 6e 56 61 6c 75 65 2c 20 6d 61 78 56 61 6c xed,.frameRate,.minValue,.maxVal
2500 75 65 2c 20 72 65 66 20 69 6e 70 75 74 45 76 65 6e 74 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 ue,.ref.inputEvent);............
2520 20 20 69 66 20 28 6e 65 65 64 73 54 69 6d 65 43 6f 6e 76 65 72 73 69 6f 6e 29 0a 20 20 20 20 20 ..if.(needsTimeConversion)......
2540 20 20 20 20 20 20 20 20 20 20 20 74 20 3d 20 73 74 61 74 65 2e 65 64 69 74 53 65 71 75 65 6e 63 ...........t.=.state.editSequenc
2560 65 2e 54 6f 4c 6f 63 61 6c 54 69 6d 65 28 74 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 e.ToLocalTime(t);..............r
2580 65 74 75 72 6e 20 74 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 70 75 62 6c eturn.t;.........}..........publ
25a0 69 63 20 73 74 61 74 69 63 20 64 6f 75 62 6c 65 20 44 75 72 61 74 69 6f 6e 46 69 65 6c 64 55 73 ic.static.double.DurationFieldUs
25c0 69 6e 67 54 69 6d 65 52 65 66 65 72 65 6e 63 65 28 0a 20 20 20 20 20 20 20 20 20 20 20 20 47 55 ingTimeReference(.............GU
25e0 49 43 6f 6e 74 65 6e 74 20 6c 61 62 65 6c 2c 20 64 6f 75 62 6c 65 20 73 74 61 72 74 2c 20 64 6f IContent.label,.double.start,.do
2600 75 62 6c 65 20 65 6e 64 2c 20 62 6f 6f 6c 20 72 65 61 64 4f 6e 6c 79 2c 20 62 6f 6f 6c 20 73 68 uble.end,.bool.readOnly,.bool.sh
2620 6f 77 4d 69 78 65 64 2c 20 64 6f 75 62 6c 65 20 66 72 61 6d 65 52 61 74 65 2c 0a 20 20 20 20 20 owMixed,.double.frameRate,......
2640 20 20 20 20 20 20 20 64 6f 75 62 6c 65 20 6d 69 6e 56 61 6c 75 65 2c 20 64 6f 75 62 6c 65 20 6d .......double.minValue,.double.m
2660 61 78 56 61 6c 75 65 2c 20 72 65 66 20 49 6e 70 75 74 45 76 65 6e 74 20 69 6e 70 75 74 45 76 65 axValue,.ref.InputEvent.inputEve
2680 6e 74 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 73 74 nt).........{.............var.st
26a0 61 74 65 20 3d 20 54 69 6d 65 6c 69 6e 65 57 69 6e 64 6f 77 2e 69 6e 73 74 61 6e 63 65 2e 73 74 ate.=.TimelineWindow.instance.st
26c0 61 74 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6e 65 65 64 73 54 69 6d 65 43 6f ate;.............var.needsTimeCo
26e0 6e 76 65 72 73 69 6f 6e 20 3d 20 73 74 61 74 65 20 21 3d 20 6e 75 6c 6c 20 26 26 20 73 74 61 74 nversion.=.state.!=.null.&&.stat
2700 65 2e 74 69 6d 65 52 65 66 65 72 65 6e 63 65 4d 6f 64 65 20 3d 3d 20 54 69 6d 65 52 65 66 65 72 e.timeReferenceMode.==.TimeRefer
2720 65 6e 63 65 4d 6f 64 65 2e 47 6c 6f 62 61 6c 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 enceMode.Global;..............if
2740 20 28 6e 65 65 64 73 54 69 6d 65 43 6f 6e 76 65 72 73 69 6f 6e 29 0a 20 20 20 20 20 20 20 20 20 .(needsTimeConversion)..........
2760 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 74 61 72 74 20 3d 20 73 74 61 ...{.................start.=.sta
2780 74 65 2e 65 64 69 74 53 65 71 75 65 6e 63 65 2e 54 6f 47 6c 6f 62 61 6c 54 69 6d 65 28 73 74 61 te.editSequence.ToGlobalTime(sta
27a0 72 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6e 64 20 3d 20 73 74 61 74 65 rt);.................end.=.state
27c0 2e 65 64 69 74 53 65 71 75 65 6e 63 65 2e 54 6f 47 6c 6f 62 61 6c 54 69 6d 65 28 65 6e 64 29 3b .editSequence.ToGlobalTime(end);
27e0 0a 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 20 76 61 72 20 .............}..............var.
2800 64 75 72 61 74 69 6f 6e 20 3d 20 65 6e 64 20 2d 20 73 74 61 72 74 3b 0a 0a 20 20 20 20 20 20 20 duration.=.end.-.start;.........
2820 20 20 20 20 20 76 61 72 20 74 20 3d 20 54 69 6d 65 46 69 65 6c 64 28 6c 61 62 65 6c 2c 20 64 75 .....var.t.=.TimeField(label,.du
2840 72 61 74 69 6f 6e 2c 20 72 65 61 64 4f 6e 6c 79 2c 20 73 68 6f 77 4d 69 78 65 64 2c 20 66 72 61 ration,.readOnly,.showMixed,.fra
2860 6d 65 52 61 74 65 2c 20 6d 69 6e 56 61 6c 75 65 2c 20 6d 61 78 56 61 6c 75 65 2c 20 72 65 66 20 meRate,.minValue,.maxValue,.ref.
2880 69 6e 70 75 74 45 76 65 6e 74 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6e 64 20 3d 20 inputEvent);..............end.=.
28a0 73 74 61 72 74 20 2b 20 74 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6e 65 65 64 start.+.t;..............if.(need
28c0 73 54 69 6d 65 43 6f 6e 76 65 72 73 69 6f 6e 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 sTimeConversion).............{..
28e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 74 61 72 74 20 3d 20 73 74 61 74 65 2e 65 64 69 ...............start.=.state.edi
2900 74 53 65 71 75 65 6e 63 65 2e 54 6f 4c 6f 63 61 6c 54 69 6d 65 28 73 74 61 72 74 29 3b 0a 20 20 tSequence.ToLocalTime(start);...
2920 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6e 64 20 3d 20 73 74 61 74 65 2e 65 64 69 74 53 65 ..............end.=.state.editSe
2940 71 75 65 6e 63 65 2e 54 6f 4c 6f 63 61 6c 54 69 6d 65 28 65 6e 64 29 3b 0a 20 20 20 20 20 20 20 quence.ToLocalTime(end);........
2960 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 65 6e 64 20 2d .....}..............return.end.-
2980 20 73 74 61 72 74 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 .start;.........}..........publi
29a0 63 20 73 74 61 74 69 63 20 64 6f 75 62 6c 65 20 54 69 6d 65 46 69 65 6c 64 28 52 65 63 74 20 72 c.static.double.TimeField(Rect.r
29c0 65 63 74 2c 20 47 55 49 43 6f 6e 74 65 6e 74 20 6c 61 62 65 6c 2c 20 64 6f 75 62 6c 65 20 74 69 ect,.GUIContent.label,.double.ti
29e0 6d 65 2c 20 62 6f 6f 6c 20 72 65 61 64 4f 6e 6c 79 2c 20 62 6f 6f 6c 20 73 68 6f 77 4d 69 78 65 me,.bool.readOnly,.bool.showMixe
2a00 64 2c 20 64 6f 75 62 6c 65 20 66 72 61 6d 65 52 61 74 65 2c 20 64 6f 75 62 6c 65 20 6d 69 6e 56 d,.double.frameRate,.double.minV
2a20 61 6c 75 65 2c 20 64 6f 75 62 6c 65 20 6d 61 78 56 61 6c 75 65 2c 20 72 65 66 20 49 6e 70 75 74 alue,.double.maxValue,.ref.Input
2a40 45 76 65 6e 74 20 69 6e 70 75 74 45 76 65 6e 74 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 Event.inputEvent).........{.....
2a60 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 42 65 67 69 6e 48 6f 72 ........EditorGUILayout.BeginHor
2a80 69 7a 6f 6e 74 61 6c 28 6c 61 62 65 6c 2c 20 47 55 49 53 74 79 6c 65 2e 6e 6f 6e 65 29 3b 0a 20 izontal(label,.GUIStyle.none);..
2aa0 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 20 3d 20 45 64 69 74 6f 72 47 55 49 2e 50 72 65 66 ...........rect.=.EditorGUI.Pref
2ac0 69 78 4c 61 62 65 6c 28 72 65 63 74 2c 20 6c 61 62 65 6c 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 ixLabel(rect,.label);...........
2ae0 20 20 20 69 6e 74 20 69 6e 64 65 6e 74 4c 65 76 65 6c 20 3d 20 45 64 69 74 6f 72 47 55 49 2e 69 ...int.indentLevel.=.EditorGUI.i
2b00 6e 64 65 6e 74 4c 65 76 65 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6c 6f 61 74 20 6c 61 ndentLevel;.............float.la
2b20 62 65 6c 57 69 64 74 68 20 3d 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 6c 61 62 65 belWidth.=.EditorGUIUtility.labe
2b40 6c 57 69 64 74 68 3b 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 lWidth;.............EditorGUI.in
2b60 64 65 6e 74 4c 65 76 65 6c 20 3d 20 30 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f dentLevel.=.0;.............Edito
2b80 72 47 55 49 55 74 69 6c 69 74 79 2e 6c 61 62 65 6c 57 69 64 74 68 20 3d 20 28 69 6e 74 29 45 64 rGUIUtility.labelWidth.=.(int)Ed
2ba0 69 74 6f 72 47 55 49 2e 6b 4d 69 6e 69 4c 61 62 65 6c 57 3b 0a 20 20 20 20 20 20 20 20 20 20 20 itorGUI.kMiniLabelW;............
2bc0 20 75 73 69 6e 67 20 28 6e 65 77 20 47 55 49 4d 69 78 65 64 56 61 6c 75 65 53 63 6f 70 65 28 73 .using.(new.GUIMixedValueScope(s
2be0 68 6f 77 4d 69 78 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 howMixed)).............{........
2c00 20 20 20 20 20 20 20 20 20 76 61 72 20 73 65 63 6f 6e 64 73 52 65 63 74 20 3d 20 6e 65 77 20 52 .........var.secondsRect.=.new.R
2c20 65 63 74 28 72 65 63 74 2e 78 4d 69 6e 2c 20 72 65 63 74 2e 79 4d 69 6e 2c 20 72 65 63 74 2e 77 ect(rect.xMin,.rect.yMin,.rect.w
2c40 69 64 74 68 20 2f 20 32 20 2d 20 45 64 69 74 6f 72 47 55 49 2e 6b 53 70 61 63 69 6e 67 53 75 62 idth./.2.-.EditorGUI.kSpacingSub
2c60 4c 61 62 65 6c 2c 20 72 65 63 74 2e 68 65 69 67 68 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 Label,.rect.height);............
2c80 20 20 20 20 20 76 61 72 20 66 72 61 6d 65 73 52 65 63 74 20 3d 20 6e 65 77 20 52 65 63 74 28 72 .....var.framesRect.=.new.Rect(r
2ca0 65 63 74 2e 78 4d 69 6e 20 2b 20 72 65 63 74 2e 77 69 64 74 68 20 2f 20 32 2c 20 72 65 63 74 2e ect.xMin.+.rect.width./.2,.rect.
2cc0 79 4d 69 6e 2c 20 72 65 63 74 2e 77 69 64 74 68 20 2f 20 32 2c 20 72 65 63 74 2e 68 65 69 67 68 yMin,.rect.width./.2,.rect.heigh
2ce0 74 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 72 65 61 64 4f 6e 6c t);..................if.(readOnl
2d00 79 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 y).................{............
2d20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 46 6c 6f 61 74 46 69 65 6c 64 28 73 65 .........EditorGUI.FloatField(se
2d40 63 6f 6e 64 73 52 65 63 74 2c 20 53 74 79 6c 65 73 2e 53 65 63 6f 6e 64 73 50 72 65 66 69 78 2c condsRect,.Styles.SecondsPrefix,
2d60 20 28 66 6c 6f 61 74 29 74 69 6d 65 2c 20 45 64 69 74 6f 72 53 74 79 6c 65 73 2e 6c 61 62 65 6c .(float)time,.EditorStyles.label
2d80 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 );.................}............
2da0 20 20 20 20 20 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 .....else.................{.....
2dc0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 69 6d 65 20 3d 20 44 65 6c 61 79 65 64 41 6e ................time.=.DelayedAn
2de0 64 44 72 61 67 67 61 62 6c 65 44 6f 75 62 6c 65 46 69 65 6c 64 28 73 65 63 6f 6e 64 73 52 65 63 dDraggableDoubleField(secondsRec
2e00 74 2c 20 53 74 79 6c 65 73 2e 53 65 63 6f 6e 64 73 50 72 65 66 69 78 2c 20 74 69 6d 65 2c 20 72 t,.Styles.SecondsPrefix,.time,.r
2e20 65 66 20 69 6e 70 75 74 45 76 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ef.inputEvent);.................
2e40 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 66 72 61 6d 65 52 61 74 65 }..................if.(frameRate
2e60 20 3e 20 54 69 6d 65 55 74 69 6c 69 74 79 2e 6b 54 69 6d 65 45 70 73 69 6c 6f 6e 29 0a 20 20 20 .>.TimeUtility.kTimeEpsilon)....
2e80 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .............{..................
2ea0 20 20 20 69 6e 74 20 66 72 61 6d 65 73 20 3d 20 54 69 6d 65 55 74 69 6c 69 74 79 2e 54 6f 46 72 ...int.frames.=.TimeUtility.ToFr
2ec0 61 6d 65 73 28 74 69 6d 65 2c 20 66 72 61 6d 65 52 61 74 65 29 3b 0a 20 20 20 20 20 20 20 20 20 ames(time,.frameRate);..........
2ee0 20 20 20 20 20 20 20 20 20 20 20 64 6f 75 62 6c 65 20 65 78 61 63 74 46 72 61 6d 65 73 20 3d 20 ...........double.exactFrames.=.
2f00 54 69 6d 65 55 74 69 6c 69 74 79 2e 54 6f 45 78 61 63 74 46 72 61 6d 65 73 28 74 69 6d 65 2c 20 TimeUtility.ToExactFrames(time,.
2f20 66 72 61 6d 65 52 61 74 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 frameRate);.....................
2f40 62 6f 6f 6c 20 75 73 65 49 6e 74 46 69 65 6c 64 20 3d 20 54 69 6d 65 55 74 69 6c 69 74 79 2e 4f bool.useIntField.=.TimeUtility.O
2f60 6e 46 72 61 6d 65 42 6f 75 6e 64 61 72 79 28 74 69 6d 65 2c 20 66 72 61 6d 65 52 61 74 65 29 3b nFrameBoundary(time,.frameRate);
2f80 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 72 65 61 64 4f 6e 6c .....................if.(readOnl
2fa0 79 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 y).....................{........
2fc0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 75 73 65 49 6e 74 46 69 65 6c 64 .................if.(useIntField
2fe0 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 ).............................Ed
3000 69 74 6f 72 47 55 49 2e 49 6e 74 46 69 65 6c 64 28 66 72 61 6d 65 73 52 65 63 74 2c 20 53 74 79 itorGUI.IntField(framesRect,.Sty
3020 6c 65 73 2e 46 72 61 6d 65 73 50 72 65 66 69 78 2c 20 66 72 61 6d 65 73 2c 20 45 64 69 74 6f 72 les.FramesPrefix,.frames,.Editor
3040 53 74 79 6c 65 73 2e 6c 61 62 65 6c 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 Styles.label);..................
3060 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .......else.....................
3080 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 46 6c 6f 61 74 46 69 65 6c 64 28 66 72 61 ........EditorGUI.FloatField(fra
30a0 6d 65 73 52 65 63 74 2c 20 53 74 79 6c 65 73 2e 46 72 61 6d 65 73 50 72 65 66 69 78 2c 20 28 66 mesRect,.Styles.FramesPrefix,.(f
30c0 6c 6f 61 74 29 65 78 61 63 74 46 72 61 6d 65 73 2c 20 45 64 69 74 6f 72 53 74 79 6c 65 73 2e 6c loat)exactFrames,.EditorStyles.l
30e0 61 62 65 6c 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 20 abel);.....................}....
3100 20 20 20 20 20 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 .................else...........
3120 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ..........{.....................
3140 20 20 20 20 64 6f 75 62 6c 65 20 6e 65 77 54 69 6d 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 ....double.newTime;.............
3160 20 20 20 20 20 20 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 ............EditorGUI.BeginChang
3180 65 43 68 65 63 6b 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 eCheck();.......................
31a0 20 20 69 66 20 28 75 73 65 49 6e 74 46 69 65 6c 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ..if.(useIntField)..............
31c0 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ...........{....................
31e0 20 20 20 20 20 20 20 20 20 69 6e 74 20 6e 65 77 46 72 61 6d 65 73 20 3d 20 44 65 6c 61 79 65 64 .........int.newFrames.=.Delayed
3200 41 6e 64 44 72 61 67 67 61 62 6c 65 49 6e 74 46 69 65 6c 64 28 66 72 61 6d 65 73 52 65 63 74 2c AndDraggableIntField(framesRect,
3220 20 53 74 79 6c 65 73 2e 46 72 61 6d 65 73 50 72 65 66 69 78 2c 20 66 72 61 6d 65 73 2c 20 72 65 .Styles.FramesPrefix,.frames,.re
3240 66 20 69 6e 70 75 74 45 76 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 f.inputEvent);..................
3260 20 20 20 20 20 20 20 20 20 20 20 6e 65 77 54 69 6d 65 20 3d 20 4d 61 74 68 2e 4d 61 78 28 30 2c ...........newTime.=.Math.Max(0,
3280 20 54 69 6d 65 55 74 69 6c 69 74 79 2e 46 72 6f 6d 46 72 61 6d 65 73 28 6e 65 77 46 72 61 6d 65 .TimeUtility.FromFrames(newFrame
32a0 73 2c 20 66 72 61 6d 65 52 61 74 65 29 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 s,.frameRate));.................
32c0 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 20 20 20 20 20 20 ........}.......................
32e0 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b ..else.........................{
3300 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 6f 75 .............................dou
3320 62 6c 65 20 6e 65 77 45 78 61 63 74 46 72 61 6d 65 73 20 3d 20 44 65 6c 61 79 65 64 41 6e 64 44 ble.newExactFrames.=.DelayedAndD
3340 72 61 67 67 61 62 6c 65 44 6f 75 62 6c 65 46 69 65 6c 64 28 66 72 61 6d 65 73 52 65 63 74 2c 20 raggableDoubleField(framesRect,.
3360 53 74 79 6c 65 73 2e 46 72 61 6d 65 73 50 72 65 66 69 78 2c 20 65 78 61 63 74 46 72 61 6d 65 73 Styles.FramesPrefix,.exactFrames
3380 2c 20 72 65 66 20 69 6e 70 75 74 45 76 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ,.ref.inputEvent);..............
33a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 77 54 69 6d 65 20 3d 20 4d 61 74 68 2e 4d 61 ...............newTime.=.Math.Ma
33c0 78 28 30 2c 20 54 69 6d 65 55 74 69 6c 69 74 79 2e 46 72 6f 6d 46 72 61 6d 65 73 28 28 69 6e 74 x(0,.TimeUtility.FromFrames((int
33e0 29 4d 61 74 68 2e 46 6c 6f 6f 72 28 6e 65 77 45 78 61 63 74 46 72 61 6d 65 73 29 2c 20 66 72 61 )Math.Floor(newExactFrames),.fra
3400 6d 65 52 61 74 65 29 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 meRate));.......................
3420 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 ..}..........................if.
3440 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 29 29 0a 20 20 20 (EditorGUI.EndChangeCheck())....
3460 20 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 20 20 .....................{..........
3480 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 69 6d 65 20 3d 20 6e 65 77 54 69 6d ...................time.=.newTim
34a0 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 e;.........................}....
34c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 .................}..............
34e0 20 20 20 7d 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 4c ...}..................EditorGUIL
3500 61 79 6f 75 74 2e 45 6e 64 48 6f 72 69 7a 6f 6e 74 61 6c 28 29 3b 0a 20 20 20 20 20 20 20 20 20 ayout.EndHorizontal();..........
3520 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 65 6c 20 3d 20 69 .......EditorGUI.indentLevel.=.i
3540 6e 64 65 6e 74 4c 65 76 65 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 ndentLevel;.................Edit
3560 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 6c 61 62 65 6c 57 69 64 74 68 20 3d 20 6c 61 62 65 6c 57 orGUIUtility.labelWidth.=.labelW
3580 69 64 74 68 3b 0a 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 idth;.............}.............
35a0 20 72 65 74 75 72 6e 20 43 6c 61 6d 70 28 74 69 6d 65 2c 20 6d 69 6e 56 61 6c 75 65 2c 20 6d 61 .return.Clamp(time,.minValue,.ma
35c0 78 56 61 6c 75 65 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 70 75 62 6c xValue);.........}..........publ
35e0 69 63 20 73 74 61 74 69 63 20 64 6f 75 62 6c 65 20 54 69 6d 65 46 69 65 6c 64 28 47 55 49 43 6f ic.static.double.TimeField(GUICo
3600 6e 74 65 6e 74 20 6c 61 62 65 6c 2c 20 64 6f 75 62 6c 65 20 74 69 6d 65 2c 20 62 6f 6f 6c 20 72 ntent.label,.double.time,.bool.r
3620 65 61 64 4f 6e 6c 79 2c 20 62 6f 6f 6c 20 73 68 6f 77 4d 69 78 65 64 2c 20 64 6f 75 62 6c 65 20 eadOnly,.bool.showMixed,.double.
3640 66 72 61 6d 65 52 61 74 65 2c 20 64 6f 75 62 6c 65 20 6d 69 6e 56 61 6c 75 65 2c 20 64 6f 75 62 frameRate,.double.minValue,.doub
3660 6c 65 20 6d 61 78 56 61 6c 75 65 2c 20 72 65 66 20 49 6e 70 75 74 45 76 65 6e 74 20 69 6e 70 75 le.maxValue,.ref.InputEvent.inpu
3680 74 45 76 65 6e 74 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 tEvent).........{.............va
36a0 72 20 72 65 63 74 20 3d 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 47 65 74 43 6f 6e 74 r.rect.=.EditorGUILayout.GetCont
36c0 72 6f 6c 52 65 63 74 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 54 69 rolRect();.............return.Ti
36e0 6d 65 46 69 65 6c 64 28 72 65 63 74 2c 20 6c 61 62 65 6c 2c 20 74 69 6d 65 2c 20 72 65 61 64 4f meField(rect,.label,.time,.readO
3700 6e 6c 79 2c 20 73 68 6f 77 4d 69 78 65 64 2c 20 66 72 61 6d 65 52 61 74 65 2c 20 6d 69 6e 56 61 nly,.showMixed,.frameRate,.minVa
3720 6c 75 65 2c 20 6d 61 78 56 61 6c 75 65 2c 20 72 65 66 20 69 6e 70 75 74 45 76 65 6e 74 29 3b 0a lue,.maxValue,.ref.inputEvent);.
3740 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 73 74 61 74 69 63 20 49 6e 70 75 74 45 ........}..........static.InputE
3760 76 65 6e 74 20 49 6e 70 75 74 45 76 65 6e 74 54 79 70 65 28 52 65 63 74 20 72 65 63 74 2c 20 69 vent.InputEventType(Rect.rect,.i
3780 6e 74 20 69 64 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 nt.id).........{.............var
37a0 20 65 76 74 20 3d 20 45 76 65 6e 74 2e 63 75 72 72 65 6e 74 3b 0a 20 20 20 20 20 20 20 20 20 20 .evt.=.Event.current;...........
37c0 20 20 73 77 69 74 63 68 20 28 65 76 74 2e 47 65 74 54 79 70 65 46 6f 72 43 6f 6e 74 72 6f 6c 28 ..switch.(evt.GetTypeForControl(
37e0 69 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 20 20 id)).............{..............
3800 20 20 20 63 61 73 65 20 45 76 65 6e 74 54 79 70 65 2e 4d 6f 75 73 65 44 6f 77 6e 3a 0a 20 20 20 ...case.EventType.MouseDown:....
3820 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 72 65 63 74 2e 43 6f 6e 74 61 69 .................if.(rect.Contai
3840 6e 73 28 65 76 74 2e 6d 6f 75 73 65 50 6f 73 69 74 69 6f 6e 29 20 26 26 20 65 76 74 2e 62 75 74 ns(evt.mousePosition).&&.evt.but
3860 74 6f 6e 20 3d 3d 20 30 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a ton.==.0).....................{.
3880 20 20 20 20 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 20 49 ........................return.I
38a0 6e 70 75 74 45 76 65 6e 74 2e 44 72 61 67 45 6e 74 65 72 3b 0a 20 20 20 20 20 20 20 20 20 20 20 nputEvent.DragEnter;............
38c0 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 20 20 20 20 62 .........}.....................b
38e0 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 45 76 65 6e 74 reak;.................case.Event
3900 54 79 70 65 2e 4d 6f 75 73 65 55 70 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 Type.MouseUp:...................
3920 20 20 69 66 20 28 47 55 49 55 74 69 6c 69 74 79 2e 68 6f 74 43 6f 6e 74 72 6f 6c 20 3d 3d 20 69 ..if.(GUIUtility.hotControl.==.i
3940 64 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 d).....................{........
3960 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 49 6e 70 75 74 45 76 65 .................return.InputEve
3980 6e 74 2e 44 72 61 67 45 78 69 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 nt.DragExit;....................
39a0 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 .}.....................break;...
39c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 45 76 65 6e 74 54 79 70 65 2e 4d 6f 75 ..............case.EventType.Mou
39e0 73 65 44 72 61 67 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 seDrag:.....................if.(
3a00 47 55 49 55 74 69 6c 69 74 79 2e 68 6f 74 43 6f 6e 74 72 6f 6c 20 3d 3d 20 69 64 29 0a 20 20 20 GUIUtility.hotControl.==.id)....
3a20 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 20 20 20 20 20 20 .................{..............
3a40 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 49 6e 70 75 74 45 76 65 6e 74 2e 44 72 61 ...........return.InputEvent.Dra
3a60 67 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 20 20 20 20 20 g;.....................}........
3a80 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 .............break;.............
3aa0 20 20 20 20 63 61 73 65 20 45 76 65 6e 74 54 79 70 65 2e 4b 65 79 44 6f 77 6e 3a 0a 20 20 20 20 ....case.EventType.KeyDown:.....
3ac0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 47 55 49 55 74 69 6c 69 74 79 2e 68 ................if.(GUIUtility.h
3ae0 6f 74 43 6f 6e 74 72 6f 6c 20 3d 3d 20 69 64 20 26 26 20 65 76 74 2e 6b 65 79 43 6f 64 65 20 3d otControl.==.id.&&.evt.keyCode.=
3b00 3d 20 4b 65 79 43 6f 64 65 2e 45 73 63 61 70 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 =.KeyCode.Escape)...............
3b20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ......{.........................
3b40 72 65 74 75 72 6e 20 49 6e 70 75 74 45 76 65 6e 74 2e 44 72 61 67 45 78 69 74 3b 0a 20 20 20 20 return.InputEvent.DragExit;.....
3b60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................}...............
3b80 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 ......break;.............}......
3ba0 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 49 6e 70 75 74 45 76 65 6e 74 2e 4e 6f 6e 65 3b 0a 20 .......return.InputEvent.None;..
3bc0 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 73 74 61 74 69 63 20 64 6f 75 62 6c 65 20 .......}..........static.double.
3be0 44 65 6c 61 79 65 64 41 6e 64 44 72 61 67 67 61 62 6c 65 44 6f 75 62 6c 65 46 69 65 6c 64 28 52 DelayedAndDraggableDoubleField(R
3c00 65 63 74 20 72 65 63 74 2c 20 47 55 49 43 6f 6e 74 65 6e 74 20 6c 61 62 65 6c 2c 20 64 6f 75 62 ect.rect,.GUIContent.label,.doub
3c20 6c 65 20 76 61 6c 75 65 2c 20 72 65 66 20 49 6e 70 75 74 45 76 65 6e 74 20 69 6e 70 75 74 45 76 le.value,.ref.InputEvent.inputEv
3c40 65 6e 74 2c 20 64 6f 75 62 6c 65 20 64 72 61 67 53 65 6e 73 69 74 69 76 69 74 79 29 0a 20 20 20 ent,.double.dragSensitivity)....
3c60 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 69 64 20 3d 20 47 55 49 55 .....{.............var.id.=.GUIU
3c80 74 69 6c 69 74 79 2e 47 65 74 43 6f 6e 74 72 6f 6c 49 44 28 46 6f 63 75 73 54 79 70 65 2e 4b 65 tility.GetControlID(FocusType.Ke
3ca0 79 62 6f 61 72 64 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 66 69 65 6c 64 52 65 yboard);.............var.fieldRe
3cc0 63 74 20 3d 20 45 64 69 74 6f 72 47 55 49 2e 50 72 65 66 69 78 4c 61 62 65 6c 28 72 65 63 74 2c ct.=.EditorGUI.PrefixLabel(rect,
3ce0 20 69 64 2c 20 6c 61 62 65 6c 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 2e 78 4d .id,.label);.............rect.xM
3d00 61 78 20 3d 20 66 69 65 6c 64 52 65 63 74 2e 78 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 64 ax.=.fieldRect.x;..............d
3d20 6f 75 62 6c 65 20 72 65 66 56 61 6c 75 65 20 3d 20 76 61 6c 75 65 3b 0a 20 20 20 20 20 20 20 20 ouble.refValue.=.value;.........
3d40 20 20 20 20 6c 6f 6e 67 20 64 75 6d 6d 79 20 3d 20 30 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 ....long.dummy.=.0;.............
3d60 20 69 6e 70 75 74 45 76 65 6e 74 20 7c 3d 20 49 6e 70 75 74 45 76 65 6e 74 54 79 70 65 28 72 65 .inputEvent.|=.InputEventType(re
3d80 63 74 2c 20 69 64 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e ct,.id);..............EditorGUI.
3da0 44 72 61 67 4e 75 6d 62 65 72 56 61 6c 75 65 28 72 65 63 74 2c 20 69 64 2c 20 74 72 75 65 2c 20 DragNumberValue(rect,.id,.true,.
3dc0 72 65 66 20 72 65 66 56 61 6c 75 65 2c 20 72 65 66 20 64 75 6d 6d 79 2c 20 64 72 61 67 53 65 6e ref.refValue,.ref.dummy,.dragSen
3de0 73 69 74 69 76 69 74 79 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 sitivity);..............EditorGU
3e00 49 2e 42 65 67 69 6e 43 68 61 6e 67 65 43 68 65 63 6b 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 I.BeginChangeCheck();...........
3e20 20 20 76 61 72 20 72 65 73 75 6c 74 20 3d 20 45 64 69 74 6f 72 47 55 49 2e 44 65 6c 61 79 65 64 ..var.result.=.EditorGUI.Delayed
3e40 44 6f 75 62 6c 65 46 69 65 6c 64 49 6e 74 65 72 6e 61 6c 28 66 69 65 6c 64 52 65 63 74 2c 20 47 DoubleFieldInternal(fieldRect,.G
3e60 55 49 43 6f 6e 74 65 6e 74 2e 6e 6f 6e 65 2c 20 72 65 66 56 61 6c 75 65 2c 20 45 64 69 74 6f 72 UIContent.none,.refValue,.Editor
3e80 53 74 79 6c 65 73 2e 6e 75 6d 62 65 72 46 69 65 6c 64 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 Styles.numberField);............
3ea0 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 29 29 .if.(EditorGUI.EndChangeCheck())
3ec0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 70 75 74 45 76 65 6e 74 20 7c 3d 20 49 .................inputEvent.|=.I
3ee0 6e 70 75 74 45 76 65 6e 74 2e 4b 65 79 62 6f 61 72 64 49 6e 70 75 74 3b 0a 0a 20 20 20 20 20 20 nputEvent.KeyboardInput;........
3f00 20 20 20 20 20 20 72 65 74 75 72 6e 20 72 65 73 75 6c 74 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a ......return.result;.........}..
3f20 20 20 20 20 20 20 20 20 73 74 61 74 69 63 20 69 6e 74 20 44 65 6c 61 79 65 64 41 6e 64 44 72 61 ........static.int.DelayedAndDra
3f40 67 67 61 62 6c 65 49 6e 74 46 69 65 6c 64 28 52 65 63 74 20 72 65 63 74 2c 20 47 55 49 43 6f 6e ggableIntField(Rect.rect,.GUICon
3f60 74 65 6e 74 20 6c 61 62 65 6c 2c 20 69 6e 74 20 76 61 6c 75 65 2c 20 72 65 66 20 49 6e 70 75 74 tent.label,.int.value,.ref.Input
3f80 45 76 65 6e 74 20 69 6e 70 75 74 45 76 65 6e 74 2c 20 6c 6f 6e 67 20 64 72 61 67 53 65 6e 73 69 Event.inputEvent,.long.dragSensi
3fa0 74 69 76 69 74 79 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 tivity).........{.............va
3fc0 72 20 69 64 20 3d 20 47 55 49 55 74 69 6c 69 74 79 2e 47 65 74 43 6f 6e 74 72 6f 6c 49 44 28 46 r.id.=.GUIUtility.GetControlID(F
3fe0 6f 63 75 73 54 79 70 65 2e 4b 65 79 62 6f 61 72 64 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 ocusType.Keyboard);.............
4000 76 61 72 20 66 69 65 6c 64 52 65 63 74 20 3d 20 45 64 69 74 6f 72 47 55 49 2e 50 72 65 66 69 78 var.fieldRect.=.EditorGUI.Prefix
4020 4c 61 62 65 6c 28 72 65 63 74 2c 20 69 64 2c 20 6c 61 62 65 6c 29 3b 0a 20 20 20 20 20 20 20 20 Label(rect,.id,.label);.........
4040 20 20 20 20 72 65 63 74 2e 78 4d 61 78 20 3d 20 66 69 65 6c 64 52 65 63 74 2e 78 3b 0a 0a 20 20 ....rect.xMax.=.fieldRect.x;....
4060 20 20 20 20 20 20 20 20 20 20 64 6f 75 62 6c 65 20 64 75 6d 6d 79 20 3d 20 30 2e 30 3b 0a 20 20 ..........double.dummy.=.0.0;...
4080 20 20 20 20 20 20 20 20 20 20 6c 6f 6e 67 20 72 65 66 56 61 6c 75 65 20 3d 20 76 61 6c 75 65 3b ..........long.refValue.=.value;
40a0 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 70 75 74 45 76 65 6e 74 20 7c 3d 20 49 6e 70 75 ..............inputEvent.|=.Inpu
40c0 74 45 76 65 6e 74 54 79 70 65 28 72 65 63 74 2c 20 69 64 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 tEventType(rect,.id);...........
40e0 20 20 20 45 64 69 74 6f 72 47 55 49 2e 44 72 61 67 4e 75 6d 62 65 72 56 61 6c 75 65 28 72 65 63 ...EditorGUI.DragNumberValue(rec
4100 74 2c 20 69 64 2c 20 66 61 6c 73 65 2c 20 72 65 66 20 64 75 6d 6d 79 2c 20 72 65 66 20 72 65 66 t,.id,.false,.ref.dummy,.ref.ref
4120 56 61 6c 75 65 2c 20 64 72 61 67 53 65 6e 73 69 74 69 76 69 74 79 29 3b 0a 0a 20 20 20 20 20 20 Value,.dragSensitivity);........
4140 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
4160 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 72 65 73 75 6c 74 20 3d 20 45 64 69 ();.............var.result.=.Edi
4180 74 6f 72 47 55 49 2e 44 65 6c 61 79 65 64 49 6e 74 46 69 65 6c 64 49 6e 74 65 72 6e 61 6c 28 66 torGUI.DelayedIntFieldInternal(f
41a0 69 65 6c 64 52 65 63 74 2c 20 47 55 49 43 6f 6e 74 65 6e 74 2e 6e 6f 6e 65 2c 20 28 69 6e 74 29 ieldRect,.GUIContent.none,.(int)
41c0 72 65 66 56 61 6c 75 65 2c 20 45 64 69 74 6f 72 53 74 79 6c 65 73 2e 6e 75 6d 62 65 72 46 69 65 refValue,.EditorStyles.numberFie
41e0 6c 64 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 45 64 69 74 6f 72 47 55 49 2e 45 ld);.............if.(EditorGUI.E
4200 6e 64 43 68 61 6e 67 65 43 68 65 63 6b 28 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ndChangeCheck())................
4220 20 69 6e 70 75 74 45 76 65 6e 74 20 7c 3d 20 49 6e 70 75 74 45 76 65 6e 74 2e 4b 65 79 62 6f 61 .inputEvent.|=.InputEvent.Keyboa
4240 72 64 49 6e 70 75 74 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 72 65 73 rdInput;..............return.res
4260 75 6c 74 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 69 6e 74 65 72 6e 61 6c ult;.........}..........internal
4280 20 73 74 61 74 69 63 20 64 6f 75 62 6c 65 20 44 65 6c 61 79 65 64 41 6e 64 44 72 61 67 67 61 62 .static.double.DelayedAndDraggab
42a0 6c 65 44 6f 75 62 6c 65 46 69 65 6c 64 28 47 55 49 43 6f 6e 74 65 6e 74 20 6c 61 62 65 6c 2c 20 leDoubleField(GUIContent.label,.
42c0 64 6f 75 62 6c 65 20 76 61 6c 75 65 2c 20 72 65 66 20 49 6e 70 75 74 45 76 65 6e 74 20 61 63 74 double.value,.ref.InputEvent.act
42e0 69 6f 6e 2c 20 64 6f 75 62 6c 65 20 64 72 61 67 53 65 6e 73 69 74 69 76 69 74 79 29 0a 20 20 20 ion,.double.dragSensitivity)....
4300 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 72 20 3d 20 45 64 69 74 6f .....{.............var.r.=.Edito
4320 72 47 55 49 4c 61 79 6f 75 74 2e 73 5f 4c 61 73 74 52 65 63 74 20 3d 20 45 64 69 74 6f 72 47 55 rGUILayout.s_LastRect.=.EditorGU
4340 49 4c 61 79 6f 75 74 2e 47 65 74 43 6f 6e 74 72 6f 6c 52 65 63 74 28 66 61 6c 73 65 2c 20 45 64 ILayout.GetControlRect(false,.Ed
4360 69 74 6f 72 47 55 49 2e 6b 53 69 6e 67 6c 65 4c 69 6e 65 48 65 69 67 68 74 29 3b 0a 20 20 20 20 itorGUI.kSingleLineHeight);.....
4380 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 44 65 6c 61 79 65 64 41 6e 64 44 72 61 67 67 61 62 ........return.DelayedAndDraggab
43a0 6c 65 44 6f 75 62 6c 65 46 69 65 6c 64 28 72 2c 20 6c 61 62 65 6c 2c 20 76 61 6c 75 65 2c 20 72 leDoubleField(r,.label,.value,.r
43c0 65 66 20 61 63 74 69 6f 6e 2c 20 64 72 61 67 53 65 6e 73 69 74 69 76 69 74 79 29 3b 0a 20 20 20 ef.action,.dragSensitivity);....
43e0 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 73 74 61 74 69 63 20 76 6f 69 64 20 44 65 6c 61 .....}..........static.void.Dela
4400 79 65 64 41 6e 64 44 72 61 67 67 61 62 6c 65 44 6f 75 62 6c 65 46 69 65 6c 64 28 52 65 63 74 20 yedAndDraggableDoubleField(Rect.
4420 72 65 63 74 2c 20 47 55 49 43 6f 6e 74 65 6e 74 20 6c 61 62 65 6c 2c 20 53 65 72 69 61 6c 69 7a rect,.GUIContent.label,.Serializ
4440 65 64 50 72 6f 70 65 72 74 79 20 70 72 6f 70 65 72 74 79 2c 20 72 65 66 20 49 6e 70 75 74 45 76 edProperty.property,.ref.InputEv
4460 65 6e 74 20 69 6e 70 75 74 45 76 65 6e 74 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 ent.inputEvent).........{.......
4480 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
44a0 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6e 65 77 56 61 6c 75 65 20 3d 20 44 ();.............var.newValue.=.D
44c0 65 6c 61 79 65 64 41 6e 64 44 72 61 67 67 61 62 6c 65 44 6f 75 62 6c 65 46 69 65 6c 64 28 72 65 elayedAndDraggableDoubleField(re
44e0 63 74 2c 20 6c 61 62 65 6c 2c 20 70 72 6f 70 65 72 74 79 2e 64 6f 75 62 6c 65 56 61 6c 75 65 2c ct,.label,.property.doubleValue,
4500 20 72 65 66 20 69 6e 70 75 74 45 76 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 .ref.inputEvent);.............if
4520 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 29 29 0a 20 20 .(EditorGUI.EndChangeCheck())...
4540 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 6f 70 65 72 74 79 2e 64 6f 75 62 6c 65 56 61 6c ..............property.doubleVal
4560 75 65 20 3d 20 6e 65 77 56 61 6c 75 65 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 ue.=.newValue;.........}........
4580 20 20 73 74 61 74 69 63 20 64 6f 75 62 6c 65 20 44 65 6c 61 79 65 64 41 6e 64 44 72 61 67 67 61 ..static.double.DelayedAndDragga
45a0 62 6c 65 44 6f 75 62 6c 65 46 69 65 6c 64 28 52 65 63 74 20 72 65 63 74 2c 20 47 55 49 43 6f 6e bleDoubleField(Rect.rect,.GUICon
45c0 74 65 6e 74 20 6c 61 62 65 6c 2c 20 64 6f 75 62 6c 65 20 76 61 6c 75 65 2c 20 72 65 66 20 49 6e tent.label,.double.value,.ref.In
45e0 70 75 74 45 76 65 6e 74 20 69 6e 70 75 74 45 76 65 6e 74 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 putEvent.inputEvent).........{..
4600 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 64 72 61 67 53 65 6e 73 69 74 69 76 69 74 79 20 3d ...........var.dragSensitivity.=
4620 20 4e 75 6d 65 72 69 63 46 69 65 6c 64 44 72 61 67 67 65 72 55 74 69 6c 69 74 79 2e 43 61 6c 63 .NumericFieldDraggerUtility.Calc
4640 75 6c 61 74 65 46 6c 6f 61 74 44 72 61 67 53 65 6e 73 69 74 69 76 69 74 79 28 76 61 6c 75 65 29 ulateFloatDragSensitivity(value)
4660 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 44 65 6c 61 79 65 64 41 6e 64 44 ;.............return.DelayedAndD
4680 72 61 67 67 61 62 6c 65 44 6f 75 62 6c 65 46 69 65 6c 64 28 72 65 63 74 2c 20 6c 61 62 65 6c 2c raggableDoubleField(rect,.label,
46a0 20 76 61 6c 75 65 2c 20 72 65 66 20 69 6e 70 75 74 45 76 65 6e 74 2c 20 64 72 61 67 53 65 6e 73 .value,.ref.inputEvent,.dragSens
46c0 69 74 69 76 69 74 79 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 73 74 61 itivity);.........}..........sta
46e0 74 69 63 20 69 6e 74 20 44 65 6c 61 79 65 64 41 6e 64 44 72 61 67 67 61 62 6c 65 49 6e 74 46 69 tic.int.DelayedAndDraggableIntFi
4700 65 6c 64 28 52 65 63 74 20 72 65 63 74 2c 20 47 55 49 43 6f 6e 74 65 6e 74 20 6c 61 62 65 6c 2c eld(Rect.rect,.GUIContent.label,
4720 20 69 6e 74 20 76 61 6c 75 65 2c 20 72 65 66 20 49 6e 70 75 74 45 76 65 6e 74 20 69 6e 70 75 74 .int.value,.ref.InputEvent.input
4740 45 76 65 6e 74 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 Event).........{.............var
4760 20 64 72 61 67 53 65 6e 73 69 74 69 76 69 74 79 20 3d 20 4e 75 6d 65 72 69 63 46 69 65 6c 64 44 .dragSensitivity.=.NumericFieldD
4780 72 61 67 67 65 72 55 74 69 6c 69 74 79 2e 43 61 6c 63 75 6c 61 74 65 49 6e 74 44 72 61 67 53 65 raggerUtility.CalculateIntDragSe
47a0 6e 73 69 74 69 76 69 74 79 28 76 61 6c 75 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 nsitivity(value);.............re
47c0 74 75 72 6e 20 44 65 6c 61 79 65 64 41 6e 64 44 72 61 67 67 61 62 6c 65 49 6e 74 46 69 65 6c 64 turn.DelayedAndDraggableIntField
47e0 28 72 65 63 74 2c 20 6c 61 62 65 6c 2c 20 76 61 6c 75 65 2c 20 72 65 66 20 69 6e 70 75 74 45 76 (rect,.label,.value,.ref.inputEv
4800 65 6e 74 2c 20 64 72 61 67 53 65 6e 73 69 74 69 76 69 74 79 29 3b 0a 20 20 20 20 20 20 20 20 7d ent,.dragSensitivity);.........}
4820 0a 0a 20 20 20 20 20 20 20 20 69 6e 74 65 72 6e 61 6c 20 73 74 61 74 69 63 20 54 20 43 6c 61 6d ..........internal.static.T.Clam
4840 70 3c 54 3e 28 74 68 69 73 20 54 20 76 61 6c 2c 20 54 20 6d 69 6e 2c 20 54 20 6d 61 78 29 20 77 p<T>(this.T.val,.T.min,.T.max).w
4860 68 65 72 65 20 54 20 3a 20 49 43 6f 6d 70 61 72 61 62 6c 65 3c 54 3e 0a 20 20 20 20 20 20 20 20 here.T.:.IComparable<T>.........
4880 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 76 61 6c 2e 43 6f 6d 70 61 72 65 54 6f 28 {.............if.(val.CompareTo(
48a0 6d 69 6e 29 20 3c 20 30 29 20 72 65 74 75 72 6e 20 6d 69 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 min).<.0).return.min;...........
48c0 20 20 69 66 20 28 76 61 6c 2e 43 6f 6d 70 61 72 65 54 6f 28 6d 61 78 29 20 3e 20 30 29 20 72 65 ..if.(val.CompareTo(max).>.0).re
48e0 74 75 72 6e 20 6d 61 78 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 76 61 6c turn.max;.............return.val
4900 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 ;.........}..........public.stat
4920 69 63 20 45 64 69 74 6f 72 20 47 65 74 49 6e 73 70 65 63 74 6f 72 46 6f 72 4f 62 6a 65 63 74 73 ic.Editor.GetInspectorForObjects
4940 28 55 6e 69 74 79 45 6e 67 69 6e 65 2e 4f 62 6a 65 63 74 5b 5d 20 6f 62 6a 65 63 74 73 29 0a 20 (UnityEngine.Object[].objects)..
4960 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 63 72 65 61 74 65 20 63 .......{.............//.create.c
4980 61 63 68 65 64 20 65 64 69 74 6f 72 20 74 68 72 6f 77 73 20 6f 6e 20 61 73 73 65 6d 62 6c 79 20 ached.editor.throws.on.assembly.
49a0 72 65 6c 6f 61 64 2e 2e 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 72 79 0a 20 20 20 20 20 20 reload................try.......
49c0 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6f 62 6a 65 ......{.................if.(obje
49e0 63 74 73 2e 41 6e 79 28 78 20 3d 3e 20 78 20 21 3d 20 6e 75 6c 6c 29 29 0a 20 20 20 20 20 20 20 cts.Any(x.=>.x.!=.null))........
4a00 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 .........{.....................v
4a20 61 72 20 64 69 72 65 63 74 6f 72 20 3d 20 54 69 6d 65 6c 69 6e 65 57 69 6e 64 6f 77 2e 69 6e 73 ar.director.=.TimelineWindow.ins
4a40 74 61 6e 63 65 2e 73 74 61 74 65 2e 65 64 69 74 53 65 71 75 65 6e 63 65 2e 64 69 72 65 63 74 6f tance.state.editSequence.directo
4a60 72 3b 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 20 45 64 r;.....................return.Ed
4a80 69 74 6f 72 2e 43 72 65 61 74 65 45 64 69 74 6f 72 57 69 74 68 43 6f 6e 74 65 78 74 28 6f 62 6a itor.CreateEditorWithContext(obj
4aa0 65 63 74 73 2c 20 64 69 72 65 63 74 6f 72 2c 20 6e 75 6c 6c 29 3b 0a 20 20 20 20 20 20 20 20 20 ects,.director,.null);..........
4ac0 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 .......}.............}..........
4ae0 20 20 20 63 61 74 63 68 20 28 45 78 63 65 70 74 69 6f 6e 29 0a 20 20 20 20 20 20 20 20 20 20 20 ...catch.(Exception)............
4b00 20 7b 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 20 20 .{}..............return.null;...
4b20 20 20 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 ......}.....}.}.................
4b40 00 00 00 00 18 00 00 00 54 69 6d 65 6c 69 6e 65 49 6e 73 70 65 63 74 6f 72 55 74 69 6c 69 74 79 ........TimelineInspectorUtility
4b60 14 00 00 00 55 6e 69 74 79 45 64 69 74 6f 72 2e 54 69 6d 65 6c 69 6e 65 ....UnityEditor.Timeline