ActionScript.Import

static function Import (package : String) : void

Description

Causes an import directive to be emitted in the ActionScript code generated for the current type.

JavaScript
    import UnityEngine.Flash;

ActionScript.Import("flash.utils.Dictionary");

using UnityEngine.Flash;
using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
void Example() {
ActionScript.Import("flash.utils.Dictionary");
}
}

import UnityEngine.Flash
import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Example():
ActionScript.Import('flash.utils.Dictionary')