void Start() { rotateRandomly = GetComponent <RotateRandomly>(); pulse = GetComponent <AnimateShaderProperty>(); findEnemyTimer = findEnemyInterval; rotateTimer = rotateDuration; shootTimer = shootInterval; dome = GameObject.FindGameObjectWithTag("Dome").transform; }
private void Start() { turnUpTheLight = GetComponent <TurnUpTheLight>(); rotateRandomly = GetComponent <RotateRandomly>(); flickerLightIntensity = GetComponent <PerlinFlickerLightIntensity>(); orbiter = GetComponent <FollowOrbit>(); animateIntensity = GetComponent <AnimateShaderColorPropertyIntensity>(); shootAtEnemyPeriodically = GetComponent <ShootAtEnemyPeriodically>(); orbiter.SetSpeed(originalOrbitSpeed); mouseDrag3D = GetComponent <MouseDrag3D>(); }
private void Start() { mouseDrag3D = GetComponent <MouseDrag3D>(); turnUpTheLight = GetComponent <TurnUpTheLight>(); rotateRandomly = GetComponent <RotateRandomly>(); }