The InteractiveMovieClipBehaviour implements user input functionality for Mouse/Keyboard and Touch devices on top of the MovieClipBehaviour. Mouse clicks are converted from camera space to stage space when the user interacts with the movieclip. see MovieClipBehaviour for base functionality.
Initialises base MovieClipBehaviour.Awake() | |
Frame update handler, renders the scene and handles user input etc. | |
Set interaction debugging enabled, logs mouse interactions to console. |
Set to allow mouse or keyboard interaction. | |
Set mouse over interactions. | |
Set to allow touch input. | |
Enable multiple touch events otherwise the first touch down event will only be used. | |
Set keyboard input enabled | |
Camera to use for mouse input, defaults to Camera.main or any other camera. | |
[work around] Return valid for raycast when out of bounds of collider. |
Initialises the movieClip property and mesh renderer. | |
Load movie clip with a swf linkage uri eg. some.swf:ExportName, replaces existing. | |
Frame update handler, renders the scene and handles user input etc. | |
Set a pixel perfect scale to render display objects on an orthographic camera. | |
Gets default draw scale | |
Set the MovieClip URI. | |
Renders one frame of the active movieclip and advances the timeline. | |
Generate mesh from stage display lists. | |
Set framerate ( use this instead of fps property ) | |
Alternative rendering mode for Unity 4.2 rendering issues. |
Default global draw scale to initialise the drawScale . | |
Enabled depreciated non-time drift frame timing. | |
Set the swf asset name eg. | |
Set the exported symbol name to load from the swf asset file. | |
Set the current frame to the specified label ( editor only update ). | |
Set the current frame to the specified frame ( editor only update ). | |
Set the orientation to always look at the main camera. | |
Billboard mode camera to use, defaults to Camera.main. | |
Loop timeline. | |
Flip the Y coordinates, usefull for handling coordinate between flash and uniSWF. | |
Draw scale sets the stage scale. | |
Enable live editor preview. | |
Set the blendmode. | |
Target framerate to render the MovieClip timeline. | |
Stage color transform. | |
Static object will render on Awake then remove on the first Update. | |
Faster renderer, some features may be disabled if enabled. | |
Use Time.smoothDelta for frame timings, valid if useSmoothTime is used. | |
Use Time.smoothDelta for frame timings, valid if useSmoothTime is used. | |
Render frame on awake. | |
Enable/disable mesh rendering to the scene. | |
Enable/disable frame update. | |
Active MovieClip player instance. | |
Active Stage instance. | |
Active mesh generator. | |
[Highly experimental] use drawMesh instead of MeshRenderer. | |
Get or set the current frame on the active MovieClip's timeline. | |
Get or set the depth spacing of each DisplayObject. | |
Get or set the depth spacing of each DisplayObjectContainer. | |
Indicates current renderMesh, this is valid after renderFrame is called. |