Пример #1
0
        private void spawnAttack(AttackPattern attackPattern)
        {
            var attack = UnityHelper.Instantiate(AttackPrefab).GetComponent <AttackBehaviour>();

            attack.Initialize(attackPattern);
        }