protected override void InitializeData(SpellData data) { iceBoltData = data as IceBoltData; }
public override void Initialize(Vector3 startPositionParam, ITarget targetParam, SpellData dataParam) { data = dataParam as IceBoltData; target = targetParam; transformBehaviour = new TargetDirectBehaviour(targetParam, bulletSpeed); transformBehaviour.Start(transform, startPositionParam, End); }