Example #1
0
        void AddEnumInfo <T>(T current, T optval, ref bool first) where T : struct, IConvertible
        {
            bool has = AssetBundleEditorHelper.HasEnum(current, optval);

            if (has)
            {
                if (!first)
                {
                    _stringBuilder.Append("|");
                }
                _stringBuilder.Append(optval.ToString());
                first = false;
            }
        }