Version: 2017.3
public static bool Contains (int instanceID);
public static bool Contains (Object obj);

설명

Returns whether an object is contained in the current selection.

    if (Selection.Contains (gameObject))
        Debug.Log ("I'm selected!");