inEditor

public static bool inEditor ;

説明

Editor内であるかどうかのフラグ