// Use this for initialization void Start() { input = biometricController.GetComponent("BiometricInputClient") as BiometricInputClient; smoke = GameObject.Find("Smoke").GetComponent("ParticleEmitter") as ParticleEmitter; inner = GameObject.Find("InnerCore").GetComponent("ParticleEmitter") as ParticleEmitter; outer = GameObject.Find("OuterCore").GetComponent("ParticleEmitter") as ParticleEmitter; flameLight = GameObject.Find("Lightsource").GetComponent("Light") as Light; }
// Use this for initialization void Start() { meditationMultiplier = 4; maximumLevitationPower = (Mathf.Abs(Physics.gravity.y))*100/requiredMeditation; maximumLevitationHeight = 15; input = biometricController.GetComponent("BiometricInputClient") as BiometricInputClient; rigid = this.GetComponent("Rigidbody") as Rigidbody; initialHeight = this.transform.position.y; }