mirror of
https://github.com/ConjureETS/DeathBook.git
synced 2026-03-24 04:20:58 +00:00
- Started the UI
This commit is contained in:
parent
a548d1e7c4
commit
0382c1bbe2
9
Assets/Art/Placeholders.meta
Normal file
9
Assets/Art/Placeholders.meta
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b1b9631be327682448348726b233cda1
|
||||||
|
folderAsset: yes
|
||||||
|
timeCreated: 1439496361
|
||||||
|
licenseType: Free
|
||||||
|
DefaultImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
BIN
Assets/Art/Placeholders/Mario.jpg
Normal file
BIN
Assets/Art/Placeholders/Mario.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
55
Assets/Art/Placeholders/Mario.jpg.meta
Normal file
55
Assets/Art/Placeholders/Mario.jpg.meta
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 0c813218655d0a1468d7269b69deb9d5
|
||||||
|
timeCreated: 1439496409
|
||||||
|
licenseType: Free
|
||||||
|
TextureImporter:
|
||||||
|
fileIDToRecycleName: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 1
|
||||||
|
linearTexture: 0
|
||||||
|
correctGamma: 0
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapFadeDistanceStart: 1
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 0
|
||||||
|
externalNormalMap: 0
|
||||||
|
heightScale: .25
|
||||||
|
normalMapFilter: 0
|
||||||
|
isReadable: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 0
|
||||||
|
cubemapConvolution: 0
|
||||||
|
cubemapConvolutionSteps: 8
|
||||||
|
cubemapConvolutionExponent: 1.5
|
||||||
|
seamlessCubemap: 0
|
||||||
|
textureFormat: -3
|
||||||
|
maxTextureSize: 2048
|
||||||
|
textureSettings:
|
||||||
|
filterMode: -1
|
||||||
|
aniso: 16
|
||||||
|
mipBias: -1
|
||||||
|
wrapMode: 1
|
||||||
|
nPOTScale: 0
|
||||||
|
lightmap: 0
|
||||||
|
rGBM: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
spriteMode: 1
|
||||||
|
spriteExtrude: 1
|
||||||
|
spriteMeshType: 1
|
||||||
|
alignment: 0
|
||||||
|
spritePivot: {x: .5, y: .5}
|
||||||
|
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
spritePixelsToUnits: 100
|
||||||
|
alphaIsTransparency: 1
|
||||||
|
textureType: 8
|
||||||
|
buildTargetSettings: []
|
||||||
|
spriteSheet:
|
||||||
|
sprites: []
|
||||||
|
spritePackingTag:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
File diff suppressed because it is too large
Load Diff
13
Assets/Scripts/PersonDetailsPanel.cs
Normal file
13
Assets/Scripts/PersonDetailsPanel.cs
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
using UnityEngine;
|
||||||
|
using System.Collections;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
|
||||||
|
public class PersonDetailsPanel : MonoBehaviour
|
||||||
|
{
|
||||||
|
public Image ProfilePicture;
|
||||||
|
public Text Name;
|
||||||
|
public GameObject FriendsPanel;
|
||||||
|
public Button KillButton;
|
||||||
|
public Button WatchButton;
|
||||||
|
public Button XButton;
|
||||||
|
}
|
||||||
12
Assets/Scripts/PersonDetailsPanel.cs.meta
Normal file
12
Assets/Scripts/PersonDetailsPanel.cs.meta
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 88fb1885d6f8fd6409e3866b7707a12a
|
||||||
|
timeCreated: 1439492090
|
||||||
|
licenseType: Free
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@ -5,6 +5,8 @@ using System.Collections.Generic;
|
|||||||
[RequireComponent(typeof(Collider))]
|
[RequireComponent(typeof(Collider))]
|
||||||
public class PersonTest : MonoBehaviour
|
public class PersonTest : MonoBehaviour
|
||||||
{
|
{
|
||||||
|
public PersonDetailsPanel DetailsPanel;
|
||||||
|
|
||||||
// Temporary, for test
|
// Temporary, for test
|
||||||
private List<FriendshipLink> _links;
|
private List<FriendshipLink> _links;
|
||||||
private bool _highlighted = false;
|
private bool _highlighted = false;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user