forked from Shardstone/trail-into-darkness
Added a bit of character selection UI
This commit is contained in:
16
Assets/Code/GameState/UI/AttributeReference.cs
Normal file
16
Assets/Code/GameState/UI/AttributeReference.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using UnityEngine;
|
||||
|
||||
public class AttributeReference : MonoBehaviour
|
||||
{
|
||||
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
||||
void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
2
Assets/Code/GameState/UI/AttributeReference.cs.meta
Normal file
2
Assets/Code/GameState/UI/AttributeReference.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f51aaf11e81876845b289f5f7d310469
|
||||
27
Assets/Code/GameState/UI/CharacterCreationReference.cs
Normal file
27
Assets/Code/GameState/UI/CharacterCreationReference.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
public class CharacterCreationReference : MonoBehaviour {
|
||||
public Canvas canvas;
|
||||
//top
|
||||
public Button backButton;
|
||||
public Button settingsButton;
|
||||
|
||||
//left
|
||||
public TMP_Dropdown raceDropdown;
|
||||
public TMP_Dropdown classDropdown;
|
||||
public TMP_Dropdown perksDropdown;
|
||||
public AttributeReference[] attributeReference;
|
||||
|
||||
//center
|
||||
public Button backButtonCenter;
|
||||
public Button acceptButton;
|
||||
|
||||
//right
|
||||
public Image portraitImage;
|
||||
public Button portraitSelectionLeftButton;
|
||||
public Button portraitSelectionRightButton;
|
||||
public TMP_InputField nameInputField;
|
||||
public Button startGameButton;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 15f5fb19d1765bb49b9dd5956f172398
|
||||
Reference in New Issue
Block a user