public override void Initialize(SandarametAttackData data)
 {
     playerLocation = data.player.transform;
     spawnLocation  = data.frontHand.transform;
     attackParent   = data.attackParent;
     topMiddle      = new Vector3(1f, laserHeight, 0);
 }
Пример #2
0
 public override void Initialize(SandarametAttackData data)
 {
     attackParent   = data.attackParent;
     playerPosition = data.player.transform;
     spawnPosition  = data.topHand;
     topCollider    = data.screenTop;
     bottomCollider = data.screenBottom;
 }
Пример #3
0
 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();
 }
Пример #4
0
    //private List<float> originalDurations = new List<float>();

    public override void Initialize(SandarametAttackData data)
    {
        //assumes each attack in attacks is already initialized
    }
Пример #5
0
 public abstract void Initialize(SandarametAttackData data);
Пример #6
0
 public override void Initialize(SandarametAttackData data)
 {
     arm          = data.arm;
     spawnPoint   = data.secondFormHand;
     attackParent = data.attackParent;
 }
Пример #7
0
 public override void Initialize(SandarametAttackData data)
 {
     StalactiteSpawnerSpawner = data.SpikeSpawnerSpawner;
 }