public override void Initialize(SandarametAttackData data) { playerLocation = data.player.transform; spawnLocation = data.frontHand.transform; attackParent = data.attackParent; topMiddle = new Vector3(1f, laserHeight, 0); }
public override void Initialize(SandarametAttackData data) { attackParent = data.attackParent; playerPosition = data.player.transform; spawnPosition = data.topHand; topCollider = data.screenTop; bottomCollider = data.screenBottom; }
public override void Initialize(SandarametAttackData data) { anim = data.animator; duration = data.transformationAnim.length; hit = data.sandaramet.GetComponentInChildren <BossHit>(); sidescroll = FindObjectOfType <Sidescroll>(); data.sandaramet.GetComponentInChildren <SandarametAttackManager>().stopCurrentAttack(); }
//private List<float> originalDurations = new List<float>(); public override void Initialize(SandarametAttackData data) { //assumes each attack in attacks is already initialized }
public abstract void Initialize(SandarametAttackData data);
public override void Initialize(SandarametAttackData data) { arm = data.arm; spawnPoint = data.secondFormHand; attackParent = data.attackParent; }
public override void Initialize(SandarametAttackData data) { StalactiteSpawnerSpawner = data.SpikeSpawnerSpawner; }