Version: 2018.2
public static long activeElapsedTime ;

Description

Returns total time there was user iteraction in the Editor since the beginning of a session.