Identifies a modifier by the attribute id that it applies to and its layer index in the stack of modifiers for that attribute.
Exemple #1
0
 string getTag(ModifierLocation location)
 {
     //for (TagMap::const_iterator it = mTagMap.begin(),
     //     it_end = mTagMap.end(); it != it_end; ++it)
     //    if (it.second == location)
     //        return &it.first;
     return null;
 }
Exemple #2
0
        string getTag(ModifierLocation location)
        {
            foreach(KeyValuePair<string, ModifierLocation> pair in mTagMap)
            {
                if(pair.Value==location)
                {
                    return pair.Key;
                }
            }

            return null;
        }