ProjectStorms.ShipPartDestroy.Awake C# (CSharp) Méthode

Awake() public méthode

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