/*
             * そのオブジェクトがExpandOptionで除外リストに入っているかをチェックする
             * 入っていたらtrueを返す
             */
            public bool CheckExcludeObject(Transform transform)
            {
                bool result = false;

                if (expandOption.exclude_object_list == null)
                {
                    return(false);
                }
                string fullPath = GameObjectUtil.GetFullPath(transform);

                for (int i = 0; i < expandOption.exclude_object_list.Length; i++)
                {
                    string excludeObject = expandOption.exclude_object_list[i];

                    /*
                     * スラッシュがある場合はフルパス比較
                     */
                    if (excludeObject.IndexOf("/") != -1)
                    {
                        if (fullPath == excludeObject)
                        {
                            result = true;
                        }
                    }

                    /*
                     * **がある場合はオブジェクトの名前にその文字が含まれているか
                     */
                    else if (excludeObject.IndexOf("**") == 0)
                    {
                        if (transform.name.IndexOf(excludeObject.Replace("**", "")) != -1)
                        {
                            result = true;
                        }
                    }

                    /*
                     * ***がある場合はフルパスの中にその文字が含まれているか
                     */
                    else if (excludeObject.IndexOf("***") == 0)
                    {
                        if (fullPath.IndexOf(excludeObject.Replace("**", "")) != -1)
                        {
                            result = true;
                        }
                    }

                    /*
                     * 特になにもない場合はそのオブジェクトの名前と比較
                     */
                    else
                    {
                        if (transform.name == excludeObject)
                        {
                            result = true;
                        }
                    }
                }
                return(result);
            }