Example #1
0
 protected override void InitializeData(SpellData data) {
     iceBoltData = data as IceBoltData;
 }
Example #2
0
 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);
 }