コード例 #1
0
        /// <summary>
        /// Cache the component references.
        /// </summary>
        protected override void Awake()
        {
            base.Awake();

            m_Inventory    = GetComponent <Inventory>();
            m_HeightChange = GetComponent <HeightChange>();
        }
コード例 #2
0
ファイル: Vault.cs プロジェクト: TopKekstar/IAV
        /// <summary>
        /// Cache the component references and initialize the default values.
        /// </summary>
        protected override void Awake()
        {
            base.Awake();

            m_Rigidbody    = GetComponent <Rigidbody>();
            m_HeightChange = GetComponent <HeightChange>();

            m_MatchTargetWeightMask = new MatchTargetWeightMask(Vector3.one, 0);
        }