Esempio n. 1
0
        void AfterGroupCreated(ComponentGroup group)
        {
            group.SetFilterChangedRequiredVersion(m_LastSystemVersion);
#if ENABLE_UNITY_COLLECTIONS_CHECKS
            group.DisallowDisposing = "ComponentGroup.Dispose() may not be called on a ComponentGroup created with ComponentSystem.GetComponentGroup. The ComponentGroup will automatically be disposed by the ComponentSystem.";
#endif

            ArrayUtilityAdd(ref m_ComponentGroups, group);
        }