Compare commits

..

4 commits

11 changed files with 2032 additions and 7 deletions

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,23 @@
/*
* authors: mark joshwel
* date: 10/8/2024
* description: lift button behaviour implementation
*/
using UnityEngine;
/// <summary>
/// lift button behaviour implementation
/// </summary>
public class LiftButtonInteractable : CommonInteractable
{
/// <summary>
/// the lift the button is controlling
/// </summary>
[SerializeField] private LiftController liftController;
public override void Interact()
{
}
}

View file

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: f51ae3c1dda14e8f953c345038325df0
timeCreated: 1723277530

View file

@ -0,0 +1,14 @@
/*
* authors: mark joshwel
* date: 10/8/2024
* description: lift behaviour implementation
*/
using UnityEngine;
/// <summary>
/// lift-ting behaviour for lifts
/// </summary>
public class LiftController : MonoBehaviour
{
}

View file

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 16f14e51af8048f39d3f22da58d2df23
timeCreated: 1723277629

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 0e3c9e40d082a254a888b4aaa509d5ac
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 41be94ffee1b24a4fb8e45242c216745
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 506b009c62753b94082fa3472c2b8f43
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,7 @@
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" editor-extension-mode="False">
<ui:VisualElement name="Root" style="flex-grow: 1; justify-content: space-around; align-items: center;">
<ui:VisualElement name="VertHolder" style="flex-grow: 1; justify-content: center; margin-top: 25%;">
<ui:Label tabindex="-1" parse-escape-sequences="true" display-tooltip-when-elided="true" text="Press E to Interact" style="background-color: rgba(0, 0, 0, 0.33); color: rgb(255, 255, 255); -unity-text-align: upper-center; padding-right: 8px; padding-left: 8px; padding-top: 8px; padding-bottom: 8px; border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; white-space: normal;" />
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>

View file

@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 5ecae982f651ff6438bbaa95ba0362e1
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}

View file

@ -99,7 +99,7 @@
{
"type": "System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",
"key": "ShapeBuilder.ActiveShapeIndex",
"value": "{\"m_Value\":6}"
"value": "{\"m_Value\":1}"
},
{
"type": "System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",
@ -119,7 +119,7 @@
{
"type": "UnityEngine.Vector3, UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null",
"key": "ShapeBuilder.LastSize",
"value": "{\"m_Value\":{\"x\":-1.2044639587402344,\"y\":1.0023797750473023,\"z\":1.2235469818115235}}"
"value": "{\"m_Value\":{\"x\":183.86538696289063,\"y\":0.0,\"z\":-161.46841430664063}}"
},
{
"type": "UnityEngine.Quaternion, UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null",