diff --git a/Editor/Solana/Metaplex/CandyMachineManager/Upload/Methods/Bundlr/BundlrUploader.cs b/Editor/Solana/Metaplex/CandyMachineManager/Upload/Methods/Bundlr/BundlrUploader.cs index 322f3f55..f06ee867 100644 --- a/Editor/Solana/Metaplex/CandyMachineManager/Upload/Methods/Bundlr/BundlrUploader.cs +++ b/Editor/Solana/Metaplex/CandyMachineManager/Upload/Methods/Bundlr/BundlrUploader.cs @@ -140,7 +140,7 @@ public override async Task Prepare( { Debug.Log("Attempting to fund Bundlr address."); var fundsRequired = (ulong)Mathf.CeilToInt(FUND_PADDING * (lamportsFee - balance)); - Debug.LogFormat("Additonal funds required: {0}", fundsRequired); + Debug.LogFormat("Additional funds required: {0}", fundsRequired); var funded = await bundlrClient.FundBundlrAddress(payer, rpcClient, bundlrAddress, fundsRequired); if (!funded) { diff --git a/Runtime/Plugins/HideIf/Editor/HideIfAttributeDrawer.cs b/Runtime/Plugins/HideIf/Editor/HideIfAttributeDrawer.cs index 30fe75d5..eb534fa8 100644 --- a/Runtime/Plugins/HideIf/Editor/HideIfAttributeDrawer.cs +++ b/Runtime/Plugins/HideIf/Editor/HideIfAttributeDrawer.cs @@ -14,7 +14,7 @@ public abstract class HidingAttributeDrawer : PropertyDrawer { /// /// Checks if a property is set to be hidden by a HideIfAttribute. /// - /// Usefull for other property drawers that should respect the HideIfAttribute + /// Useful for other property drawers that should respect the HideIfAttribute /// public static bool CheckShouldHide(SerializedProperty property) { try { diff --git a/Runtime/Plugins/NativeWebSocket/NativeWebSocket.jslib b/Runtime/Plugins/NativeWebSocket/NativeWebSocket.jslib index 052f2132..ebb76506 100644 --- a/Runtime/Plugins/NativeWebSocket/NativeWebSocket.jslib +++ b/Runtime/Plugins/NativeWebSocket/NativeWebSocket.jslib @@ -194,7 +194,7 @@ var LibraryWebSocket = { instance.ws.onerror = function(ev) { if (webSocketState.debug) - console.log("[JSLIB WebSocket] Error occured."); + console.log("[JSLIB WebSocket] Error occurred."); if (webSocketState.onError) { diff --git a/Runtime/Plugins/Web3AuthSDK/Types/SecurePlayerPrefs.cs b/Runtime/Plugins/Web3AuthSDK/Types/SecurePlayerPrefs.cs index 1d620416..2a921259 100644 --- a/Runtime/Plugins/Web3AuthSDK/Types/SecurePlayerPrefs.cs +++ b/Runtime/Plugins/Web3AuthSDK/Types/SecurePlayerPrefs.cs @@ -387,7 +387,7 @@ public static bool HasKey(string key) * Writes all modified preferences to disk. * * By default Unity writes preferences to disk on Application Quit. - * In case when the game crashes or otherwise prematuraly exits, + * In case when the game crashes or otherwise prematurely exits, * you might want to write the PlayerPrefs at sensible 'checkpoints' * in your game. This function will write to disk potentially causing * a small hiccup, therefore it is not recommended to call during actual gameplay. diff --git a/Samples~/Solana Wallet/Prefabs/ui/token_item.prefab b/Samples~/Solana Wallet/Prefabs/ui/token_item.prefab index 00fa6b0e..896a4861 100644 --- a/Samples~/Solana Wallet/Prefabs/ui/token_item.prefab +++ b/Samples~/Solana Wallet/Prefabs/ui/token_item.prefab @@ -510,7 +510,7 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: pub_txt: {fileID: 6269036518311638642} - ammount_txt: {fileID: 6269036518382588404} + amount_txt: {fileID: 6269036518382588404} logo: {fileID: 0} transferButton: {fileID: 4931489023722635100} --- !u!114 &4931489023722635100 diff --git a/Samples~/Solana Wallet/Scripts/example/simple_screen_manager/utility/TokenItem.cs b/Samples~/Solana Wallet/Scripts/example/simple_screen_manager/utility/TokenItem.cs index a7b411ba..e7d4d3a5 100644 --- a/Samples~/Solana Wallet/Scripts/example/simple_screen_manager/utility/TokenItem.cs +++ b/Samples~/Solana Wallet/Scripts/example/simple_screen_manager/utility/TokenItem.cs @@ -18,7 +18,7 @@ namespace Solana.Unity.SDK.Example public class TokenItem : MonoBehaviour { public TextMeshProUGUI pub_txt; - public TextMeshProUGUI ammount_txt; + public TextMeshProUGUI amount_txt; public RawImage logo; @@ -47,7 +47,7 @@ public async UniTask InitializeData(TokenAccount tokenAccount, SimpleScreen scre { await UniTask.SwitchToMainThread(); _nft = nftData; - ammount_txt.text = ""; + amount_txt.text = ""; pub_txt.text = nftData.metaplexData?.data?.offchainData?.name; if (logo != null) @@ -57,7 +57,7 @@ public async UniTask InitializeData(TokenAccount tokenAccount, SimpleScreen scre } else { - ammount_txt.text = + amount_txt.text = tokenAccount.Account.Data.Parsed.Info.TokenAmount.AmountDecimal.ToString(CultureInfo .CurrentCulture); pub_txt.text = nftData?.metaplexData?.data?.offchainData?.name ?? tokenAccount.Account.Data.Parsed.Info.Mint; @@ -105,7 +105,7 @@ public void TransferAccount() public void UpdateAmount(string newAmount) { - MainThreadDispatcher.Instance().Enqueue(() => { ammount_txt.text = newAmount; }); + MainThreadDispatcher.Instance().Enqueue(() => { amount_txt.text = newAmount; }); } } }