Skip to content

Commit 71134d7

Browse files
author
“christian
committed
added host url as public var
1 parent b7e11a3 commit 71134d7

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

Assets/Scenes/SampleScene.unity

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ MonoBehaviour:
140140
m_Script: {fileID: 11500000, guid: 16e8c6c89b564fa47a6b3b860a235f99, type: 3}
141141
m_Name:
142142
m_EditorClassIdentifier:
143-
pairCode: aaaaa
143+
pairCode: gyqpYTu
144144
email: m_nakane@gmail.com
145145
product: {fileID: 1146894471}
146146
cmbCurrency: {fileID: 1414812455}

Assets/Scripts/BTCPayUnity.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
public class BTCPayUnity : MonoBehaviour {
1313

1414
public string pairCode;
15+
public string hostUrl;
1516
public string email;
1617

1718
public Text product;
@@ -25,7 +26,7 @@ void Start()
2526
{
2627
//BTCpayCleintをインスタンス化する。BTCPayServerで取得したペアリングコードをセット
2728
//秘密鍵ファイルがワーキングディレクトリに作成され、公開鍵がBTCPayServerに登録される。
28-
btcPayClient = new BTCPayClient(pairCode);
29+
btcPayClient = new BTCPayClient(pairCode,hostUrl);
2930
}
3031

3132
public void createInvoice()

ProjectSettings/ProjectVersion.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
m_EditorVersion: 2018.2.3f1
1+
m_EditorVersion: 2018.2.0b7

0 commit comments

Comments
 (0)