Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

static function Import(package: string): void;

Description

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

	import UnityEngine.Flash;
	
	ActionScript.Import("flash.utils.Dictionary");