public override void Initialize() { base.Initialize(); _entityInCurrentCoroutine = 0; _activeCoroutines = new Dictionary <UnityTile, List <int> >(); _activeIds = new HashSet <ulong>(); _idPool = new Dictionary <UnityTile, List <ulong> >(); if (_defaultStack != null) { _defaultStack.Initialize(); } }
public override void Initialize() { base.Initialize(); _entityInCurrentCoroutine = 0; _activeCoroutines = new Dictionary <UnityTile, List <int> >(); foreach (var filter in Filters) { if (filter != null) { filter.Initialize(); } } if (_defaultStack != null) { _defaultStack.Initialize(); } foreach (var item in Stacks) { if (item != null && item.Stack != null) { item.Types = item.Type.Split(','); item.Stack.Initialize(); } } }