From 9575d1eb91e2c55b394eb4d1f1466735a7799a00 Mon Sep 17 00:00:00 2001 From: BlackMATov Date: Fri, 26 Aug 2016 23:02:18 +0700 Subject: [PATCH] controller wip --- Assembly-CSharp-Editor.csproj | 31 +++- Assembly-CSharp.csproj | 8 +- .../Resources/SwfConverterSettings.asset | 36 ----- .../Resources/SwfConverterSettings.asset.meta | 8 - .../Editor/SwfAnimationAssetEditor.cs | 22 +-- .../Editor/SwfAnimationAssetPostprocessor.cs | 8 +- .../Editor/SwfAnimationControllerEditor.cs | 46 ++++++ .../SwfAnimationControllerEditor.cs.meta | 12 ++ .../Internal/Editor/SwfAnimationEditor.cs | 25 ++- .../Internal/Editor/SwfManagerEditor.cs | 33 ++++ .../Internal/Editor/SwfManagerEditor.cs.meta | 12 ++ .../Internal/Editor/SwfPropertyDrawers.cs | 16 ++ .../Scripts/Internal/SwfConverterSettings.cs | 7 +- .../Scripts/Internal/SwfPropertyAttributes.cs | 7 +- Assets/FlashTools/Scripts/SwfAnimation.cs | 95 ++++++------ .../FlashTools/Scripts/SwfAnimationAsset.cs | 14 +- .../Scripts/SwfAnimationController.cs | 146 ++++++++++++++++++ .../Scripts/SwfAnimationController.cs.meta | 12 ++ Assets/FlashTools/Scripts/SwfManager.cs | 50 +++++- ProjectSettings/ProjectSettings.asset | 5 - ProjectSettings/ProjectVersion.txt | 2 +- unityflash.sln | 20 +-- unityflash.userprefs | 7 +- 23 files changed, 469 insertions(+), 153 deletions(-) delete mode 100644 Assets/FlashTools/Resources/SwfConverterSettings.asset delete mode 100644 Assets/FlashTools/Resources/SwfConverterSettings.asset.meta create mode 100644 Assets/FlashTools/Scripts/Internal/Editor/SwfAnimationControllerEditor.cs create mode 100644 Assets/FlashTools/Scripts/Internal/Editor/SwfAnimationControllerEditor.cs.meta create mode 100644 Assets/FlashTools/Scripts/Internal/Editor/SwfManagerEditor.cs create mode 100644 Assets/FlashTools/Scripts/Internal/Editor/SwfManagerEditor.cs.meta create mode 100644 Assets/FlashTools/Scripts/SwfAnimationController.cs create mode 100644 Assets/FlashTools/Scripts/SwfAnimationController.cs.meta diff --git a/Assembly-CSharp-Editor.csproj b/Assembly-CSharp-Editor.csproj index e03f3d2..eb963d8 100644 --- a/Assembly-CSharp-Editor.csproj +++ b/Assembly-CSharp-Editor.csproj @@ -6,7 +6,7 @@ 10.0.20506 2.0 - {C3F6CCE6-092A-767C-ECC7-83C51FCCFC00} + {7FF03E09-4B14-EFF9-4F08-36E102F327D3} Library Properties Assembly-CSharp-Editor @@ -19,7 +19,7 @@ full false Temp\bin\Debug\ - DEBUG;TRACE;UNITY_5_3_OR_NEWER;UNITY_5_3_6;UNITY_5_3;UNITY_5;ENABLE_NEW_BUGREPORTER;ENABLE_AUDIO;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_DUCK_TYPING;ENABLE_FRAME_DEBUGGER;ENABLE_GENERICS;ENABLE_HOME_SCREEN;ENABLE_IMAGEEFFECTS;ENABLE_LIGHT_PROBES_LEGACY;ENABLE_MICROPHONE;ENABLE_MULTIPLE_DISPLAYS;ENABLE_PHYSICS;ENABLE_PLUGIN_INSPECTOR;ENABLE_SHADOWS;ENABLE_SINGLE_INSTANCE_BUILD_SETTING;ENABLE_SPRITERENDERER_FLIPPING;ENABLE_SPRITES;ENABLE_SPRITE_POLYGON;ENABLE_TERRAIN;ENABLE_RAKNET;ENABLE_UNET;ENABLE_UNITYEVENTS;ENABLE_VR;ENABLE_WEBCAM;ENABLE_WWW;ENABLE_CLOUD_SERVICES;ENABLE_CLOUD_SERVICES_ADS;ENABLE_CLOUD_HUB;ENABLE_CLOUD_PROJECT_ID;ENABLE_CLOUD_SERVICES_PURCHASING;ENABLE_CLOUD_SERVICES_ANALYTICS;ENABLE_CLOUD_SERVICES_UNET;ENABLE_CLOUD_SERVICES_BUILD;ENABLE_CLOUD_LICENSE;ENABLE_EDITOR_METRICS;ENABLE_EDITOR_METRICS_CACHING;INCLUDE_DYNAMIC_GI;INCLUDE_GI;INCLUDE_IL2CPP;INCLUDE_DIRECTX12;PLATFORM_SUPPORTS_MONO;RENDER_SOFTWARE_CURSOR;ENABLE_LOCALIZATION;ENABLE_ANDROID_ATLAS_ETC1_COMPRESSION;ENABLE_EDITOR_TESTS_RUNNER;UNITY_STANDALONE_OSX;UNITY_STANDALONE;ENABLE_SUBSTANCE;ENABLE_GAMECENTER;ENABLE_TEXTUREID_MAP;ENABLE_RUNTIME_GI;ENABLE_MOVIES;ENABLE_NETWORK;ENABLE_CRUNCH_TEXTURE_COMPRESSION;ENABLE_LOG_MIXED_STACKTRACE;ENABLE_UNITYWEBREQUEST;ENABLE_CLUSTERINPUT;ENABLE_WEBSOCKET_HOST;ENABLE_MONO;ENABLE_PROFILER;UNITY_ASSERTIONS;UNITY_EDITOR;UNITY_EDITOR_64;UNITY_EDITOR_OSX;UNITY_TEAM_LICENSE;UNITY_PRO_LICENSE + DEBUG;TRACE;UNITY_5_3_OR_NEWER;UNITY_5_3_5;UNITY_5_3;UNITY_5;ENABLE_NEW_BUGREPORTER;ENABLE_AUDIO;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_DUCK_TYPING;ENABLE_FRAME_DEBUGGER;ENABLE_GENERICS;ENABLE_HOME_SCREEN;ENABLE_IMAGEEFFECTS;ENABLE_LIGHT_PROBES_LEGACY;ENABLE_MICROPHONE;ENABLE_MULTIPLE_DISPLAYS;ENABLE_PHYSICS;ENABLE_PLUGIN_INSPECTOR;ENABLE_SHADOWS;ENABLE_SINGLE_INSTANCE_BUILD_SETTING;ENABLE_SPRITERENDERER_FLIPPING;ENABLE_SPRITES;ENABLE_SPRITE_POLYGON;ENABLE_TERRAIN;ENABLE_RAKNET;ENABLE_UNET;ENABLE_UNITYEVENTS;ENABLE_VR;ENABLE_WEBCAM;ENABLE_WWW;ENABLE_CLOUD_SERVICES;ENABLE_CLOUD_SERVICES_ADS;ENABLE_CLOUD_HUB;ENABLE_CLOUD_PROJECT_ID;ENABLE_CLOUD_SERVICES_PURCHASING;ENABLE_CLOUD_SERVICES_ANALYTICS;ENABLE_CLOUD_SERVICES_UNET;ENABLE_CLOUD_SERVICES_BUILD;ENABLE_CLOUD_LICENSE;ENABLE_EDITOR_METRICS;ENABLE_EDITOR_METRICS_CACHING;INCLUDE_DYNAMIC_GI;INCLUDE_GI;INCLUDE_IL2CPP;INCLUDE_DIRECTX12;PLATFORM_SUPPORTS_MONO;RENDER_SOFTWARE_CURSOR;ENABLE_LOCALIZATION;ENABLE_ANDROID_ATLAS_ETC1_COMPRESSION;ENABLE_EDITOR_TESTS_RUNNER;UNITY_STANDALONE_OSX;UNITY_STANDALONE;ENABLE_SUBSTANCE;ENABLE_GAMECENTER;ENABLE_TEXTUREID_MAP;ENABLE_RUNTIME_GI;ENABLE_MOVIES;ENABLE_NETWORK;ENABLE_CRUNCH_TEXTURE_COMPRESSION;ENABLE_LOG_MIXED_STACKTRACE;ENABLE_UNITYWEBREQUEST;ENABLE_CLUSTERINPUT;ENABLE_WEBSOCKET_HOST;ENABLE_MONO;ENABLE_PROFILER;UNITY_ASSERTIONS;UNITY_EDITOR;UNITY_EDITOR_64;UNITY_EDITOR_OSX prompt 4 0169 @@ -47,7 +47,9 @@ + + @@ -117,17 +119,32 @@ /Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/TreeEditor/Editor/UnityEditor.TreeEditor.dll - /Users/matov/Projects/UnityFlash/Assets/FlashTools/Plugins/Ionic.Zip.Unity.dll + /Users/matov/Programming/Projects/unityflash/Assets/FlashTools/Plugins/Ionic.Zip.Unity.dll /Applications/Unity/Unity.app/Contents/Frameworks/Managed/UnityEditor.Graphs.dll + + /Applications/Unity/PlaybackEngines/AndroidPlayer/UnityEditor.Android.Extensions.dll + /Applications/Unity/PlaybackEngines/iOSSupport/UnityEditor.iOS.Extensions.dll + + /Applications/Unity/PlaybackEngines/AppleTVSupport/UnityEditor.AppleTV.Extensions.dll + + + /Applications/Unity/PlaybackEngines/TizenPlayer/UnityEditor.Tizen.Extensions.dll + + + /Applications/Unity/PlaybackEngines/STVPlayer/UnityEditor.SamsungTV.Extensions.dll + /Applications/Unity/PlaybackEngines/WebGLSupport/UnityEditor.WebGL.Extensions.dll + + /Applications/Unity/PlaybackEngines/LinuxStandaloneSupport/UnityEditor.LinuxStandalone.Extensions.dll + /Applications/Unity/PlaybackEngines/WindowsStandaloneSupport/UnityEditor.WindowsStandalone.Extensions.dll @@ -135,6 +152,12 @@ /Applications/Unity/PlaybackEngines/MacStandaloneSupport/UnityEditor.OSXStandalone.Extensions.dll + /Applications/Unity/PlaybackEngines/AppleTVSupport/UnityEditor.iOS.Extensions.Xcode.dll + + + /Applications/Unity/PlaybackEngines/AppleTVSupport/UnityEditor.iOS.Extensions.Common.dll + + /Applications/Unity/PlaybackEngines/iOSSupport/UnityEditor.iOS.Extensions.Xcode.dll @@ -143,7 +166,7 @@ - {906D3FD6-5699-A169-2DA9-91E0C813728E} Assembly-CSharp + {ED48043C-7BE9-40F3-EC3C-3D4369E54740} Assembly-CSharp