Example #1
0
 public EntityContext()
 {
     if (!SystemIndexer.Indexed)
     {
         SystemIndexer.Index();
     }
     if (!ComponentIndexer.Indexed)
     {
         ComponentIndexer.Index();
     }
 }
Example #2
0
        public EntityContext()
        {
            if (!SystemIndexer.Indexed)
            {
                SystemIndexer.Index();
            }
            if (!ComponentIndexer.Indexed)
            {
                ComponentIndexer.Index();
            }

            m_CachedEntityChanged = UpdateGroupsComponentAddedOrRemoved;
        }