This version of Unity is unsupported.

Application.isEditor

public static bool isEditor;

Description

This has the same functionality as Application.isEditor and also mimics platform-specific behavior in the Unity Editor.