FlashPlayer.TargetVersion

static var TargetVersion : String

Description

Get a string representing the version of the Flash Player which the current project has been compiled against.

JavaScript
import UnityEngine.Flash;

var playerVersion = FlashPlayer.TargetVersion;

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

public class example : MonoBehaviour {
public string playerVersion = FlashPlayer.TargetVersion;
}

import UnityEngine.Flash
import UnityEngine
import System.Collections

class example(MonoBehaviour):

public playerVersion as string = FlashPlayer.TargetVersion