repo_id
stringclasses
279 values
file_path
stringlengths
43
179
content
stringlengths
1
4.18M
__index_level_0__
int64
0
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Configs/Good.asset.meta
fileFormatVersion: 2 guid: 88127756ef5a644f9a3212811ede23f4 NativeFormatImporter: externalObjects: {} mainObjectFileID: 11400000 userData: assetBundleName: assetBundleVariant:
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Configs/Empty.asset
%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!114 &11400000 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 0} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: ef6d93e4c8904...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Configs/Empty.asset.meta
fileFormatVersion: 2 guid: 70598f2cc4eb340a1a6efb58dd299aee NativeFormatImporter: externalObjects: {} mainObjectFileID: 11400000 userData: assetBundleName: assetBundleVariant:
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/ChopTreePopupUiData.cs.meta
fileFormatVersion: 2 guid: 2ed15c14eda34891814cfadf87f10557 timeCreated: 1690569006
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/NftMintingService.cs
using System; using System.Collections; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using CandyMachineV2; using CandyMachineV2.Program; using Frictionless; using Solana.Unity.Metaplex.NFT.Library; using Solana.Unity.Programs; using Solana.Unity.Rpc.Builders; using Solana.Unity.Rpc...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/NftListPopupUiData.cs
using Solana.Unity.SDK; using SolPlay.Scripts.Services; public class NftListPopupUiData : UiService.UiData { public bool RequestNfts; public WalletBase Wallet; public NftListPopupUiData(bool requestNfts, WalletBase wallet) { RequestNfts = requestNfts; Wallet = wallet; } }
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/NftContextMenu.cs.meta
fileFormatVersion: 2 guid: fa2ed95613a844f5f9f1aa710c9be3ad MonoImporter: externalObjects: {} serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant:
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/BuildBuildingPopup.cs
using DefaultNamespace; using Frictionless; using SolPlay.Scripts.Services; using SolPlay.Scripts.Ui; using UnityEngine; using UnityEngine.UI; public class BuildBuildingPopup : BasePopup { public GameObject LoadingSpinner; public GameObject ListRoot; public BuildBuildingListItemView BuildBuildingListItemVi...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/Cell.cs
using System.Collections.Generic; using SolPlay.Scripts.Services; using UnityEngine; public class Cell : MonoBehaviour { public int X { private set; get; } public int Y { private set; get; } public Tile Tile; public MeshRenderer MeshRenderer; public List<Material> Materials; public void In...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/BuildBuildingPopupUiData.cs.meta
fileFormatVersion: 2 guid: 346f2e31d6224a7ba27e22e3d369b007 timeCreated: 1690569214
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/CostWidget.cs.meta
fileFormatVersion: 2 guid: 3e9f583c22e84ff496349ff815e01097 timeCreated: 1690646509
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/ProductionIndicator.cs
using System; using System.Collections; using Lumberjack.Types; using TMPro; using UnityEngine; using UnityEngine.UI; public class ProductionIndicator : MonoBehaviour { public Image ProgressBar; public TextMeshProUGUI Level; public TextMeshProUGUI Name; public GameObject CollectionIndicator; p...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/BuildBuildingPopupUiData.cs
using System; using DefaultNamespace; using Lumberjack.Types; using Solana.Unity.SDK; using SolPlay.Scripts.Services; public class BuildBuildingPopupUiData : UiService.UiData { public WalletBase Wallet; public Action<TileConfig> OnClick; public TileData TileData; public BuildBuildingPopupUiData(Wallet...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/ProductionIndicator.cs.meta
fileFormatVersion: 2 guid: d96c4acb851e34cc5b96ca9c035d4307 MonoImporter: externalObjects: {} serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant:
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/BalancingService.cs
using Lumberjack.Types; using UnityEngine; namespace DefaultNamespace { public class BalancingService { public class Cost { public ulong Wood; public ulong Stone; } private const int BASE_SAWMILL_WOOD_COST = 10; private const int BASE_SA...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/ChopTreePopupUiData.cs
using System; using Solana.Unity.SDK; using SolPlay.Scripts.Services; public class ChopTreePopupUiData : UiService.UiData { public WalletBase Wallet; public Action OnClick; public ChopTreePopupUiData(WalletBase wallet, Action onClick) { Wallet = wallet; OnClick = onClick; } }
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/Tile.cs
using System; using System.Collections; using DefaultNamespace; using DG.Tweening; using Lumberjack.Types; using Unity.VisualScripting; using UnityEngine; public class Tile : MonoBehaviour { public bool IsLocked; public TileConfig currentConfig; public TileData currentTileData; public AudioClip MergeCl...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/CostWidget.cs
using Lumberjack.Types; using TMPro; using UnityEngine; namespace DefaultNamespace { public class CostWidget : MonoBehaviour { public TextMeshProUGUI WoodCost; public TextMeshProUGUI StoneCost; public TextMeshProUGUI NotEnoughResources; public void SetDataUpgradeCost(TileData t...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/NftItemListView.cs.meta
fileFormatVersion: 2 guid: d0e266ef90f54494bbd77ded7a8f4201 MonoImporter: externalObjects: {} serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant:
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/BasePopup.cs.meta
fileFormatVersion: 2 guid: b54549bd3faf4cb399338343fb9093d2 timeCreated: 1664440654
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/NftListPopup.cs
using Frictionless; using SolPlay.Scripts.Services; using SolPlay.Scripts.Ui; using UnityEngine; using UnityEngine.UI; /// <summary> /// Screen that loads all NFTs when opened /// </summary> public class NftListPopup : BasePopup { public Button GetNFtsDataButton; public Button MintInAppButton; public NftI...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/TokenPanel.cs.meta
fileFormatVersion: 2 guid: b3585658f03574e5a97ec9242044a592 MonoImporter: externalObjects: {} serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant:
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/UiService.cs
using System; using System.Collections; using System.Collections.Generic; using Frictionless; using SolPlay.Scripts.Ui; using UnityEngine; using UnityEngine.EventSystems; namespace SolPlay.Scripts.Services { public class UiService : MonoBehaviour, IMultiSceneSingleton { [Serializable] public cl...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/NftMintingService.cs.meta
fileFormatVersion: 2 guid: 7200cbf09ed7438eb4005bbcf351e7f7 timeCreated: 1665216069
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/SimpleRotate.cs
using UnityEngine; namespace SolPlay.FlappyGame.Runtime.Scripts { public class SimpleRotate : MonoBehaviour { public enum Axis { x, y, z } public float speed = 0.1f; public Axis RotationAxis = Axis.x; void Update() { ...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/UpgradeBuildingPopupUiData.cs.meta
fileFormatVersion: 2 guid: b359a686413f41b6a21ba5a2304c91be timeCreated: 1690569053
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/Tile.cs.meta
fileFormatVersion: 2 guid: cc400c92ec3249f09692ed4cc8b52cb4 timeCreated: 1690459933
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/LumberjackService.cs
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using DefaultNamespace; using Frictionless; using Lumberjack; using Lumberjack.Accounts; using Lumberjack.Program; using Lumberjack.Types; using Solana.Unity.Programs; using Solana.Unity.Programs.Models; using Solana.Unity....
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/NftItemListView.cs
using System; using System.Collections.Generic; using Frictionless; using Solana.Unity.SDK.Nft; using SolPlay.Scripts.Services; using SolPlay.Scripts.Ui; using UnityEngine; public class NftItemListView : MonoBehaviour { public GameObject ItemRoot; public NftItemView itemPrefab; public string FilterSymbol; ...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/SafeArea.cs
using UnityEngine; namespace SolPlay.Scripts.Ui { /// <summary> /// Safe area implementation for notched mobile devices. Usage: /// (1) Add this component to the top level of any GUI panel. /// (2) If the panel uses a full screen background image, then create an immediate child and put the component...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/SimpleRotate.cs.meta
fileFormatVersion: 2 guid: 00d0d495a78b84f76a46e0b54b02d6d9 MonoImporter: externalObjects: {} serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant:
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/BuildBuildingListItemView.cs.meta
fileFormatVersion: 2 guid: 3663352a1c5b42dba90802287cb7b1bc timeCreated: 1690658338
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/NftListPopup.cs.meta
fileFormatVersion: 2 guid: bda8f1b024824e39a4b5ee376ae1b15b timeCreated: 1670795422
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/Lumberjack.cs
using System; using System.Collections.Generic; using System.Linq; using System.Numerics; using System.Threading.Tasks; using Solana.Unity; using Solana.Unity.Programs.Abstract; using Solana.Unity.Programs.Utilities; using Solana.Unity.Rpc; using Solana.Unity.Rpc.Builders; using Solana.Unity.Rpc.Core.Http; using Solana...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/BoardManager.cs.meta
fileFormatVersion: 2 guid: f72ef354baa1417d8fad26263ef33c9a timeCreated: 1690449869
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/LumberjackService.cs.meta
fileFormatVersion: 2 guid: e361c4e484a844369b54c5fd3b90def7 timeCreated: 1688224689
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/NftItemView.cs.meta
fileFormatVersion: 2 guid: 4c804afde22164dbf8f244573e9ac776 MonoImporter: externalObjects: {} serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant:
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/BuildBuildingListItemView.cs
using System; using DefaultNamespace; using TMPro; using UnityEngine; using UnityEngine.UI; public class BuildBuildingListItemView : MonoBehaviour { public CostWidget CostWidget; public TextMeshProUGUI Name; public Button Button; public TileConfig CurrentTileConfig; private Action<BuildBuildin...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/TextBlimp3D.cs.meta
fileFormatVersion: 2 guid: 880c30a9334e453b8b2eb80c838e57f0 timeCreated: 1690460086
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/icon_solana.png.meta
fileFormatVersion: 2 guid: c8663869476f9414a94374f096f61c57 TextureImporter: internalIDToNameTable: [] externalObjects: {} serializedVersion: 11 mipmaps: mipMapMode: 0 enableMipMap: 0 sRGBTexture: 1 linearTexture: 0 fadeOut: 0 borderMipMap: 0 mipMapsPreserveCoverage: 0 alphaTestR...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/Lumberjack.cs.meta
fileFormatVersion: 2 guid: 69fdfaf02ce7e4bbd9e468d88775e2c7 MonoImporter: externalObjects: {} serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant:
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/BuildBuildingPopup.cs.meta
fileFormatVersion: 2 guid: bc810c17d5344b839d6cae8b910d9a88 timeCreated: 1690568968
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/RefillEnergyPopupUiData.cs.meta
fileFormatVersion: 2 guid: e7506bb9d0364bf6a8a8f1b160eac89b timeCreated: 1690497494
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/ChopTreePopup.cs.meta
fileFormatVersion: 2 guid: 1e8c9776e45f4059ac78e5031effabd9 timeCreated: 1690568980
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/LumberjackScreen.cs
using System; using System.Collections; using Frictionless; using Lumberjack.Accounts; using Solana.Unity.SDK; using Solana.Unity.Wallet.Bip39; using SolPlay.Scripts.Services; using TMPro; using UnityEngine; using UnityEngine.UI; public class LumberjackScreen : MonoBehaviour { public Button LoginButton; public...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/NftListPopupUiData.cs.meta
fileFormatVersion: 2 guid: 73f7cfe92c3e4891a7c7009b03f84c06 timeCreated: 1670851110
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/UpgradeBuildingPopupUiData.cs
using System; using Lumberjack.Types; using Solana.Unity.SDK; using SolPlay.Scripts.Services; public class UpgradeBuildingPopupUiData : UiService.UiData { public WalletBase Wallet; public Action OnClick; public TileData TileData; public UpgradeBuildingPopupUiData(WalletBase wallet, Action onClick, Til...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/BoardManager.cs
using System; using System.Collections; using System.Collections.Generic; using System.Threading.Tasks; using Cysharp.Threading.Tasks; using Frictionless; using Lumberjack.Accounts; using Lumberjack.Types; using Solana.Unity.SDK; using Solana.Unity.SDK.Nft; using SolPlay.Scripts.Services; using SolPlay.Scripts.Ui; usin...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/TextBlimp3D.cs
using DefaultNamespace; using Solana.Unity.SDK.Nft; using TMPro; using UnityEngine; using UnityEngine.UI; namespace SolPlay.Scripts.Ui { /// <summary> /// A little animated text on the screen, that disappears after some time. /// </summary> public class TextBlimp3D : MonoBehaviour { public...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/NftContextMenu.cs
using System; using Frictionless; using Solana.Unity.SDK.Nft; using SolPlay.Scripts.Services; using TMPro; using UnityEngine; using UnityEngine.UI; namespace SolPlay.Scripts.Ui { /// <summary> /// When clicking a Nft this context menu opens and shows some information about the Nft /// </summary> public...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/Cell.cs.meta
fileFormatVersion: 2 guid: b0b5285fe1a74db991f13e7b0f655cf8 timeCreated: 1690459918
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/NftService.cs
using System; using System.Collections; using System.Collections.Generic; using System.Reflection; using Frictionless; using Solana.Unity.Metaplex.NFT.Library; using Solana.Unity.Metaplex.Utilities.Json; using Solana.Unity.SDK; using Solana.Unity.SDK.Nft; using Solana.Unity.Wallet; using UnityEngine; namespace SolPlay...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/TokenPanel.cs
using Solana.Unity.Programs; using Solana.Unity.Rpc.Types; using Solana.Unity.SDK; using Solana.Unity.Wallet; using TMPro; using UnityEngine; namespace SolPlay.Scripts.Ui { /// <summary> /// Shows the amount of the token "TokenMintAddress" from the connected Wallet. /// </summary> public class TokenPan...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/BasePopup.cs
using SolPlay.Scripts.Services; using UnityEngine; using UnityEngine.UI; namespace SolPlay.Scripts.Ui { public class BasePopup : MonoBehaviour { public GameObject Root; public Button CloseButton; protected UiService.UiData uiData; protected void Awake() { R...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/LumberjackScreen.cs.meta
fileFormatVersion: 2 guid: 491b56013424d44229b52bf874eeb95c MonoImporter: externalObjects: {} serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant:
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/Socket.meta
fileFormatVersion: 2 guid: 62dc6594b4eea4d42ab98f8477ea9da6 folderAsset: yes DefaultImporter: externalObjects: {} userData: assetBundleName: assetBundleVariant:
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/TileConfig.cs
using UnityEngine; namespace DefaultNamespace { [CreateAssetMenu(menuName = "Tile Config")] public class TileConfig : ScriptableObject { public uint Number; public GameObject Prefab; public GameObject MergeFx; public Material Material; public float ShakeStrength = 0....
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/RefillEnergyPopup.cs
using SolPlay.Scripts.Services; using SolPlay.Scripts.Ui; using UnityEngine; using UnityEngine.UI; /// <summary> /// Screen that lets you refill energy for sol /// </summary> public class RefillEnergyPopup : BasePopup { public Button RefillEnergyButton; public GameObject LoadingSpinner; void Start() ...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/SelectedNft.cs.meta
fileFormatVersion: 2 guid: c2741eec8497b40ad885aeebd3b801fb MonoImporter: externalObjects: {} serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant:
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/BalancingService.cs.meta
fileFormatVersion: 2 guid: a7db521f7a124d2fa1e0c48144c3d5fb timeCreated: 1690645779
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/RefillEnergyPopupUiData.cs
using Solana.Unity.SDK; using SolPlay.Scripts.Services; public class RefillEnergyPopupUiData : UiService.UiData { public WalletBase Wallet; public RefillEnergyPopupUiData(WalletBase wallet) { Wallet = wallet; } }
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/SolanaUtils.cs
using System; namespace SolPlay.DeeplinksNftExample.Utils { public class SolanaUtils { public const long SolToLamports = 1000000000; } public static class ArrayUtils { public static T[] Slice<T>(this T[] arr, uint indexFrom, uint indexTo) { if (indexFrom > indexTo) { ...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/TileConfig.cs.meta
fileFormatVersion: 2 guid: ef6d93e4c8904031a8a9b76b4acb032c timeCreated: 1690459945
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/d_loading@2x.png.meta
fileFormatVersion: 2 guid: b014f412cd6014750ae1db453f634d63 TextureImporter: internalIDToNameTable: [] externalObjects: {} serializedVersion: 11 mipmaps: mipMapMode: 0 enableMipMap: 0 sRGBTexture: 1 linearTexture: 0 fadeOut: 0 borderMipMap: 0 mipMapsPreserveCoverage: 0 alphaTestR...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/RefillEnergyPopup.cs.meta
fileFormatVersion: 2 guid: c83a3c6701fc44feb06b602fe8882c3f timeCreated: 1690491799
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/UpgradeBuildingPopup.cs
using System; using DefaultNamespace; using Frictionless; using SolPlay.Scripts.Services; using SolPlay.Scripts.Ui; using TMPro; using UnityEngine; using UnityEngine.UI; public class UpgradeBuildingPopup : BasePopup { public Button Button; public GameObject LoadingSpinner; public CostWidget CostWidget; ...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/DestroyDelayed.cs.meta
fileFormatVersion: 2 guid: 669cba288e5443858961169dd99491a4 timeCreated: 1690558070
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/SelectedNft.cs
using Frictionless; using SolPlay.Scripts.Services; using SolPlay.Scripts.Ui; using UnityEngine; public class SelectedNft : MonoBehaviour { public NftItemView NftItemView; private void Awake() { NftItemView.gameObject.SetActive(false); } void Start() { MessageRouter.AddHandler...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/DestroyDelayed.cs
using System; using System.Collections; using UnityEngine; namespace DefaultNamespace { public class DestroyDelayed : MonoBehaviour { private void Awake() { StartCoroutine(DestroyGoDelayed()); } private IEnumerator DestroyGoDelayed() { yi...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/SolanaUtils.cs.meta
fileFormatVersion: 2 guid: d6fd84b061c1a48119369888e1fb5e09 MonoImporter: externalObjects: {} serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant:
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/NftItemView.cs
using System; using Frictionless; using Solana.Unity.SDK.Nft; using SolPlay.Scripts.Services; using TMPro; using UnityEngine; using UnityEngine.UI; namespace SolPlay.Scripts.Ui { /// <summary> /// Show the image of a given Nft and can have a click handler /// </summary> public class NftItemView : MonoB...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/ChopTreePopup.cs
using DefaultNamespace; using SolPlay.Scripts.Services; using SolPlay.Scripts.Ui; using TMPro; using UnityEngine; using UnityEngine.UI; /// <summary> /// Screen that lets you refill energy for sol /// </summary> public class ChopTreePopup : BasePopup { public Button Button; public GameObject LoadingSpinner; ...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/NftService.cs.meta
fileFormatVersion: 2 guid: 99c40baead10843899efb994349f11cd MonoImporter: externalObjects: {} serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant:
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/SolBalanceWidget.cs.meta
fileFormatVersion: 2 guid: bae9859e31324a0eb501c37ee3ff3e82 timeCreated: 1660074869
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/SolBalanceWidget.cs
using System; using System.Collections; using TMPro; using UnityEngine; using UnityEngine.UI; using codebase.utility; using Solana.Unity.SDK; using SolPlay.DeeplinksNftExample.Utils; namespace SolPlay.Scripts.Ui { /// <summary> /// Shows the sol balance of the connected wallet. Should be updated at certain poi...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/UpgradeBuildingPopup.cs.meta
fileFormatVersion: 2 guid: dbf7d64b3b744685a6459408e6662460 timeCreated: 1690568480
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/UiService.cs.meta
fileFormatVersion: 2 guid: 97c3b89c03d0642b4ba9d5d17d794ee1 MonoImporter: externalObjects: {} serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant:
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/SafeArea.cs.meta
fileFormatVersion: 2 guid: db21dccead92d48f9a566e9132089246 MonoImporter: externalObjects: {} serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant:
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/Socket/UnityMainThreadDispatcher.cs
namespace NativeWebSocket { /* Copyright 2015 Pim de Witte All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appli...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/Socket/SharpWebSockets.cs.meta
fileFormatVersion: 2 guid: e7b7a62c4d06f450fb76c052eb386f25 MonoImporter: externalObjects: {} serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant:
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/Socket/UnityMainThreadDispatcher.cs.meta
fileFormatVersion: 2 guid: c686df1024ebb44a5ae8ff9b59323e18 MonoImporter: externalObjects: {} serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant:
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/Socket/SolPlayWebSocketService.cs
using System; using System.Collections; using System.Collections.Generic; using System.Numerics; using Frictionless; using UnityEngine; using NativeWebSocket; using Newtonsoft.Json; using Socket; using Solana.Unity.Wallet; using WebSocketState = NativeWebSocket.WebSocketState; namespace SolPlay.Scripts.Services { ...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/Socket/SharpWebSockets.cs
using System.Collections.Generic; using System.Threading.Tasks; using NativeWebSocket; using UnityEngine; namespace Socket { public class SharpWebSockets : IWebSocket { public event WebSocketOpenEventHandler OnOpen; public event WebSocketMessageEventHandler OnMessage; public event WebSo...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/Socket/SocketStatusWidget.cs.meta
fileFormatVersion: 2 guid: dbce47be4af1b404ab5d53d64d83a012 MonoImporter: externalObjects: {} serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant:
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/Socket/SolPlayWebSocketService.cs.meta
fileFormatVersion: 2 guid: 342e1b34380784aedb9c1b7ebaea435b MonoImporter: externalObjects: {} serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant:
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Scripts/Socket/SocketStatusWidget.cs
using Frictionless; using NativeWebSocket; using SolPlay.Scripts.Services; using TMPro; using UnityEngine; using UnityEngine.UI; public class SocketStatusWidget : MonoBehaviour { public TextMeshProUGUI StatusText; public Button ReconnectButton; private void Awake() { ReconnectButton.onClick.Ad...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Sprites/Logo (1).png.meta
fileFormatVersion: 2 guid: 1c0543cbae76540d8b6f30154cb048ee TextureImporter: internalIDToNameTable: [] externalObjects: {} serializedVersion: 11 mipmaps: mipMapMode: 0 enableMipMap: 0 sRGBTexture: 1 linearTexture: 0 fadeOut: 0 borderMipMap: 0 mipMapsPreserveCoverage: 0 alphaTestR...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Sprites/Stone.png.meta
fileFormatVersion: 2 guid: c2406e48b75954ed9a5c40c2778c0889 TextureImporter: internalIDToNameTable: [] externalObjects: {} serializedVersion: 11 mipmaps: mipMapMode: 0 enableMipMap: 0 sRGBTexture: 1 linearTexture: 0 fadeOut: 0 borderMipMap: 0 mipMapsPreserveCoverage: 0 alphaTestR...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Sprites/Btn-close.png.meta
fileFormatVersion: 2 guid: b5e272bed0a334b5abee0232b54d3ce3 TextureImporter: internalIDToNameTable: [] externalObjects: {} serializedVersion: 11 mipmaps: mipMapMode: 0 enableMipMap: 0 sRGBTexture: 1 linearTexture: 0 fadeOut: 0 borderMipMap: 0 mipMapsPreserveCoverage: 0 alphaTestR...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Sprites/green_circle.psd.meta
fileFormatVersion: 2 guid: dab6d301b94ba4b53b7086246aa5c834 TextureImporter: internalIDToNameTable: [] externalObjects: {} serializedVersion: 11 mipmaps: mipMapMode: 0 enableMipMap: 1 sRGBTexture: 1 linearTexture: 0 fadeOut: 0 borderMipMap: 0 mipMapsPreserveCoverage: 0 alphaTestR...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Sprites/EvilWon.png.meta
fileFormatVersion: 2 guid: 35a4b3a8648ab4c9092012d88ce95ed1 TextureImporter: internalIDToNameTable: [] externalObjects: {} serializedVersion: 11 mipmaps: mipMapMode: 0 enableMipMap: 0 sRGBTexture: 1 linearTexture: 0 fadeOut: 0 borderMipMap: 0 mipMapsPreserveCoverage: 0 alphaTestR...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Sprites/TextBTN_Big.png.meta
fileFormatVersion: 2 guid: 56056600469bb469b9fd768981f72d99 TextureImporter: internalIDToNameTable: [] externalObjects: {} serializedVersion: 11 mipmaps: mipMapMode: 0 enableMipMap: 0 sRGBTexture: 1 linearTexture: 0 fadeOut: 0 borderMipMap: 0 mipMapsPreserveCoverage: 0 alphaTestR...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Sprites/ui_board_wooden_light.png.meta
fileFormatVersion: 2 guid: c58d837adbd3442e19fa464b2a0eb678 TextureImporter: internalIDToNameTable: [] externalObjects: {} serializedVersion: 11 mipmaps: mipMapMode: 0 enableMipMap: 0 sRGBTexture: 1 linearTexture: 0 fadeOut: 0 borderMipMap: 0 mipMapsPreserveCoverage: 0 alphaTestR...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Sprites/TitleScreen.png.meta
fileFormatVersion: 2 guid: 59bba1f42d8e04d6090d0a2c6700d2fd TextureImporter: internalIDToNameTable: [] externalObjects: {} serializedVersion: 11 mipmaps: mipMapMode: 0 enableMipMap: 0 sRGBTexture: 1 linearTexture: 0 fadeOut: 0 borderMipMap: 0 mipMapsPreserveCoverage: 0 alphaTestR...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Sprites/Beaver.png.meta
fileFormatVersion: 2 guid: 88879cf224ccd439294f8383e553d13f TextureImporter: internalIDToNameTable: [] externalObjects: {} serializedVersion: 11 mipmaps: mipMapMode: 0 enableMipMap: 0 sRGBTexture: 1 linearTexture: 0 fadeOut: 0 borderMipMap: 0 mipMapsPreserveCoverage: 0 alphaTestR...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Sprites/TitleScreen_2.png.meta
fileFormatVersion: 2 guid: bed779ad00712411f845041b39edbe8b TextureImporter: internalIDToNameTable: [] externalObjects: {} serializedVersion: 11 mipmaps: mipMapMode: 0 enableMipMap: 0 sRGBTexture: 1 linearTexture: 0 fadeOut: 0 borderMipMap: 0 mipMapsPreserveCoverage: 0 alphaTestR...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Sprites/GoodWon.png.meta
fileFormatVersion: 2 guid: 233a5bebf402e4d33a5b7afb3b3b371b TextureImporter: internalIDToNameTable: [] externalObjects: {} serializedVersion: 11 mipmaps: mipMapMode: 0 enableMipMap: 0 sRGBTexture: 1 linearTexture: 0 fadeOut: 0 borderMipMap: 0 mipMapsPreserveCoverage: 0 alphaTestR...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Sprites/Wood.png.meta
fileFormatVersion: 2 guid: b96f00b241a5646b281bed9ba703b7e1 TextureImporter: internalIDToNameTable: [] externalObjects: {} serializedVersion: 11 mipmaps: mipMapMode: 0 enableMipMap: 0 sRGBTexture: 1 linearTexture: 0 fadeOut: 0 borderMipMap: 0 mipMapsPreserveCoverage: 0 alphaTestR...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Sprites/energy.png.meta
fileFormatVersion: 2 guid: 9c8ed927acedb446ca8c86e896384617 TextureImporter: internalIDToNameTable: [] externalObjects: {} serializedVersion: 11 mipmaps: mipMapMode: 0 enableMipMap: 0 sRGBTexture: 1 linearTexture: 0 fadeOut: 0 borderMipMap: 0 mipMapsPreserveCoverage: 0 alphaTestR...
0
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets
solana_public_repos/solana-game-examples/city-builder/unity/city-builder/Assets/Sprites/bg-menu.png.meta
fileFormatVersion: 2 guid: 9527fb3c7db12447f9a520dc1da7dd1b TextureImporter: internalIDToNameTable: [] externalObjects: {} serializedVersion: 11 mipmaps: mipMapMode: 0 enableMipMap: 0 sRGBTexture: 1 linearTexture: 0 fadeOut: 0 borderMipMap: 0 mipMapsPreserveCoverage: 0 alphaTestR...
0