Example #1
0
		public void RegisterId( int bodyIdx, string uniqueID, string tag, bool emptyReplacer = false )
		{
			if( bodyIdx < 0 )
				return:

			RefreshIds():

			TemplateId templateId = new TemplateId( bodyIdx, uniqueID, tag, emptyReplacer ):
			m_registeredIds.Add( templateId ):
			m_registeredIdsDict.Add( uniqueID, templateId ):
		}
        public void RegisterId(int bodyIdx, string uniqueID, string tag)
        {
            if (bodyIdx < 0)
            {
                return;
            }

            TemplateId templateId = new TemplateId(bodyIdx, uniqueID, tag);

            m_registeredIds.Add(templateId);
            m_registeredIdsDict.Add(uniqueID, templateId);
        }