コード例 #1
0
        static NamedExclusiveGroup()
        {
#if DEBUG
            GroupNamesMap.idToName[(uint)Group] = $"{name} ID {(uint)Group}";
#endif
            GroupHashMap.RegisterGroup(Group, $"{name}");
        }
コード例 #2
0
        static NamedExclusiveGroup()
        {
#if DEBUG && !PROFILE_SVELTO
            GroupNamesMap.idToName[Group] = $"{name} ID {Group.id}";
#endif
            //The hashname is independent from the actual group ID. this is fundamental because it is want
            //guarantees the hash to be the same across different machines
            GroupHashMap.RegisterGroup(Group, $"{name}");
        }