コード例 #1
0
        /// <summary>
        ///     Updates the <see cref="PGIModel" /> to match a change in the <see cref="PlayerSaveData" />.
        /// </summary>
        private void PlayerDataUpdated( PlayerSaveData saveData )
        {
            if( !m_keepSyncedWithInventory ) { return; }

            PGI_Unsub();

            ClearDisplay();
            Display();

            PGI_Sub();
        }
コード例 #2
0
 private void SaveDataChanged( PlayerSaveData playerSaveData )
 {
     // TODO
     Image.sprite = m_fallback;
     throw new NotImplementedException();
 }
コード例 #3
0
 private void SaveDataChanged( PlayerSaveData playerSaveData )
 {
     Text.text = string.Format( m_displayFormat, playerSaveData.PlayerName );
 }