Пример #1
0
        internal virtual void Register(AbilityBeamGenerator generator)
        {
            if (_isInitialized)
            {
                throw new InvalidOperationException("Can't initialize twice");
            }

            _isInitialized = true;

            foreach (var evt in _initializationEvents)
            {
                generator.PushToAll(evt);
            }
        }
Пример #2
0
        internal override void Register(AbilityBeamGenerator generator)
        {
            base.Register(generator);

            generator.AddCallback(AbilityConcept, abilityCallback);
        }