public void ReadyCast() { chargeParticles.ChargeParticles(); acceleration = m_gyro.GetAcceleration(); attitude = m_gyro.GetAttitude(); if (acceleration.y > highestAccel.y) { highestAccel = acceleration; } }