ProjectStorms.AirshipControlBehaviour.Awake C# (CSharp) Method

Awake() public method

public Awake ( ) : void
return void
        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>();
        }