allartprotocol / unity-solana-wallet

The First Open-Source Unity-Solana Wallet with NFT support
285 stars 133 forks source link

SimpleWallet script does not contain setClientSource method. #24

Closed Verbotenlad closed 2 years ago

Verbotenlad commented 2 years ago

"5) Set Client Source (Mainnet/Testnet/Devnet/Custom uri) and Storage Method (Json/Simple txt) on SimpleWallet script in WalletController prefab."

I can't find the method to which you're referring. Should I write it? Is the sentence wording off? Or am I missing a piece of understanding?

I would appreciate your insight. Thank you in advance.

vuckovic95 commented 2 years ago

image Look at WalletController prefab in scene

Verbotenlad commented 2 years ago

After doing absolutely nothing but go through the SDK and learn the structure, unity ceased to give me "script cannot be compiled" error and showed me the fields referenced in step 5 (no, I didn't not get a plastic unity error. Yes, I did restart unity anyway. The problem persisted afterwards for 3 hours). I know Unity can be like that sometimes.

However, since I've opened the issue I'd still love some understanding of where exactly these variables in your scripts. You're extending WalletBaseComponent, but where's that parent class defined?

vuckovic95 commented 2 years ago

This class is located in Packages -> Solana Wallet -> Runtime -> codebase -> WalletBaseComponent.cs