Exemplo n.º 1
0
 public override void Activate()
 {
     base.Activate();
     shineParticleSystem = swordDetails.shinyParticles;
     shineParticleSystem.Play();
     shineParticleSystem.emissionRate = 0;
     pitchPlayer = GetComponent <RandomPitchPlayer>();
 }
Exemplo n.º 2
0
    public override void Activate()
    {
        base.Activate();

        deformRotation = -1;

        if (firstTime)
        {
            deformRotation = 1;
            firstTime      = false;
        }

        swordInitialX = teleportObject.transform.position.x;
        pitchPlayer   = GetComponent <RandomPitchPlayer>();
    }
Exemplo n.º 3
0
 public override void Activate()
 {
     base.Activate();
     pitchPlayer = GetComponent <RandomPitchPlayer>();
 }