void Awake() { shooterControl = turret.GetComponent <ShooterControl>(); turretControl = turret.GetComponent <TurretControl>(); hoodControl = hood.GetComponent <HoodControl>(); flywheelControl = flywheel.GetComponent <FlywheelControl>(); intakeControl = intake.GetComponent <IntakeControl>(); }
void Awake() { turretControl = turret.GetComponent <TurretControl>(); hoodControl = hood.GetComponent <HoodControl>(); flywheelControl = flywheel.GetComponent <FlywheelControl>(); intakeControl = intake.GetComponent <IntakeControl>(); timer = Time.time; }
void Awake() { flywheelData = flywheel.GetComponent <FlywheelControl>(); }