-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Adds feature - Transaction Data | Account
- Loading branch information
Showing
13 changed files
with
435 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Git LFS file not shown
File renamed without changes.
Git LFS file not shown
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
using UnityEngine; | ||
|
||
namespace NFTPort.Editor | ||
{ | ||
using UnityEditor; | ||
using Internal; | ||
|
||
[CustomEditor(typeof(Txn_Account))] | ||
public class Txn_Account_Editor : Editor | ||
{ | ||
public override void OnInspectorGUI() | ||
{ | ||
|
||
Txn_Account myScript = (Txn_Account)target; | ||
|
||
|
||
Texture banner = Resources.Load<Texture>("c_tx_account"); | ||
GUILayout.BeginHorizontal(); | ||
GUILayout.Box(banner); | ||
GUILayout.EndHorizontal(); | ||
|
||
if (GUILayout.Button("Get Account NFT TXNs", GUILayout.Height(45))) | ||
{ | ||
myScript.Run(); | ||
} | ||
|
||
|
||
if(GUILayout.Button("View Documentation", GUILayout.Height(25))) | ||
Application.OpenURL(PortConstants.Docs_Txns_Account); | ||
DrawDefaultInspector(); | ||
} | ||
} | ||
} | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.