void Start() { body = GetComponent <SpaceGravityBody> (); killable = GetComponent <Killable> (); characterController = GetComponent <CharacterController> (); attackController = GetComponent <CharacterAttackController> (); GameObject attack = GameObject.Find("skillAttack"); initializePlayerRotation(); bpAnimator = animationBigPappada.GetComponent <Animator>(); pappadaC = pappada.GetComponent <PappadaController> (); flyParticles = flyingParticles.GetComponent <ParticleSystem> (); getHurtBigPappada = GameObject.Instantiate(getHurtBigPappadaPrefab) as GameObject; initializeVariables(); StartCoroutine("resetWeaponTrail"); }
void Start() { body = GetComponent<SpaceGravityBody> (); killable = GetComponent<Killable> (); characterController = GetComponent<CharacterController> (); attackController = GetComponent<CharacterAttackController> (); GameObject attack = GameObject.Find("skillAttack"); initializePlayerRotation (); bpAnimator = animationBigPappada.GetComponent<Animator>(); pappadaC = pappada.GetComponent<PappadaController> (); flyParticles = flyingParticles.GetComponent<ParticleSystem> (); getHurtBigPappada = GameObject.Instantiate (getHurtBigPappadaPrefab) as GameObject; initializeVariables (); StartCoroutine ("resetWeaponTrail"); }