void Awake() { m_myRigid = GetComponent<Rigidbody>(); m_anim = GetComponent<Animator>(); m_shipStates = GetComponent<StateManager>(); m_passTray = GetComponentInChildren<PassengerTray>(); }
void Awake() { m_trans = transform; m_rb = GetComponent<Rigidbody>(); m_shipTray = GetComponentInChildren<PassengerTray>(); m_shipStates = GetComponent<StateManager>(); m_bumpVelSqr = bumpVelThreshold * bumpVelThreshold; }
void Awake() { // Get Rigidbody variables m_myRigid = GetComponent<Rigidbody>(); m_trans = transform; m_myRigid.mass = adjustableMass; m_startShipMass = adjustableMass; m_anim = GetComponent<Animator>(); m_shipPartDestroy = GetComponent<ShipPartDestroy>(); m_shipStallScript = GetComponent<AirshipStallingBehaviour>(); m_shipStates = GetComponent<StateManager>(); m_tray = GetComponentInChildren<PassengerTray>(); }
public void Awake() { m_rigidBody = GetComponent<Rigidbody>(); m_passTray = GetComponentInChildren<PassengerTray>(); }