コード例 #1
0
 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;
 }