-
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 NFT Data | NFT Details feature
- Loading branch information
Showing
10 changed files
with
423 additions
and
5 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 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,33 @@ | ||
using UnityEngine; | ||
|
||
namespace NFTPort.Editor | ||
{ | ||
using UnityEditor; | ||
using Internal; | ||
|
||
[CustomEditor(typeof(NFT_Details))] | ||
public class NFTs_Details_Editor : Editor | ||
{ | ||
public override void OnInspectorGUI() | ||
{ | ||
|
||
NFT_Details myScript = (NFT_Details)target; | ||
|
||
|
||
Texture banner = Resources.Load<Texture>("c_nftdata_details"); | ||
GUILayout.BeginHorizontal(); | ||
GUILayout.Box(banner); | ||
GUILayout.EndHorizontal(); | ||
|
||
if (GUILayout.Button("GET NFT Details", GUILayout.Height(45))) | ||
{ | ||
myScript.Run(); | ||
} | ||
|
||
if(GUILayout.Button("View Documentation", GUILayout.Height(25))) | ||
Application.OpenURL(PortConstants.NFTs_OfAccount); | ||
DrawDefaultInspector(); | ||
} | ||
} | ||
} | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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.