Flash: What is and is not supported
Supported
- Full ActionScript API Access
- Lightmapping.
- Occlusion culling
- Editor Scripting (JavaScript / C# / Boo). Note: for JavaScript, use
#pragma strict.
- Custom shaders.
- Animation / skinning
- Basic types like int, string, List.
- Basic audio features, such as AudioSource / AudioListener
- Physics
- Navigation Meshes
- Substance Textures, however the textures are baked at build time so cannot be dynamically changed at runtime.
- PlayerPrefs - On Flash PlayerPrefs are stored per SWF per machine.
- UnityGUI classes that do require text input
- Particle System (Shuriken) works and is script accessible
- Asset bundles
- WWW and WWWForm
Limited support - features with potential issues
- Image Effects. Some image effects do not work on Flash.
- Realtime shadows work, but do get affected by bugs in image effects
- Untyped variables in JavaScript and implicit type conversions
- Unity GUI / Immediate mode GUI
- Any .NET specific stuff. Do not use stuff from exotic class libraries (reflection, LINQ etc).
- GUIText wil have a dramatic impact on performance
Not Currently Supported
- Unity profiler
- UnityGUI classes that require text input
- Raknet networking (if you need networking, you can write it in Action Script 3 directly, using flash API)
- Cloth
- VertexLit shaders currently do not support Spot Lights (they are treated just like point lights).
- Advanced audio features, such as audio effects
- Deferred rendering
- Terrain
Won't be supported
- Sockets - It is possible to use ActionScript sockets by implementing them in AS3.
Unavailable APIs
- UnityEngine.AccelerationEvent
- UnityEngine.Achievement
- UnityEngine.AchievementDescription
- UnityEngine.GameCenter
- UnityEngine.GcLeaderboard
- UnityEngine.IDList
- UnityEngine.ISocial
- UnityEngine.Leaderboard
- UnityEngine.LocalServices
- UnityEngine.RectOffset
- UnityEngine.Score
- UnityEngine.Security
- UnityEngine.Serialization.ListSerializationSurrogate
- UnityEngine.Serialization.UnitySurrogateSelector
- UnityEngine.Social
- UnityEngine.StackTraceUtility
- UnityEngine.TextEditor
- UnityEngine.Types
- UnityEngine.UnityException
- UnityEngine.UnityLogWriter
- UnityEngine.UserProfile
Note: The Flash export feature is currently available as a developer preview. This feature is still in development and thus the above information is subject to change.