void Awake() { m_trans = transform; m_rb = GetComponent<Rigidbody>(); m_shipTray = GetComponentInChildren<PassengerTray>(); m_shipStates = GetComponent<StateManager>(); m_bumpVelSqr = bumpVelThreshold * bumpVelThreshold; }