public static bool step1(int instanceID, int line)
 {
     UnityEngine.Object obj = EditorUtility.InstanceIDToObject(instanceID);
     if (obj is FighterObject)
     {
         FighterWindow window = EditorWindow.GetWindow <FighterWindow>();
         window.SetFighter((FighterObject)obj);
         window.states.Clear();
         return(true);
     }
     return(false); // we did not handle the open
 }
        static void Init()
        {
            FighterWindow window = EditorWindow.GetWindow <FighterWindow>();

            window.states.Clear();
        }