done for the night
This commit is contained in:
@@ -2047,7 +2047,7 @@ Transform:
|
|||||||
m_GameObject: {fileID: 6864457669719155849}
|
m_GameObject: {fileID: 6864457669719155849}
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
m_LocalPosition: {x: 0, y: 0, z: -0.4}
|
m_LocalPosition: {x: 0, y: 0, z: -0.87}
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children:
|
m_Children:
|
||||||
@@ -2081,7 +2081,7 @@ Transform:
|
|||||||
m_GameObject: {fileID: 7254671688974194731}
|
m_GameObject: {fileID: 7254671688974194731}
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
m_LocalPosition: {x: 0, y: 0, z: -0.4}
|
m_LocalPosition: {x: 0, y: 0, z: -0.88}
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children:
|
m_Children:
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
{"TestSuite":"","Date":0,"Player":{"Development":false,"ScreenWidth":0,"ScreenHeight":0,"ScreenRefreshRate":0,"Fullscreen":false,"Vsync":0,"AntiAliasing":0,"Batchmode":false,"RenderThreadingMode":"MultiThreaded","MtRendering":false,"GraphicsJobs":false,"GpuSkinning":true,"Platform":"","ColorSpace":"","AnisotropicFiltering":"","BlendWeights":"","GraphicsApi":"","ScriptingBackend":"IL2CPP","AndroidTargetSdkVersion":"AndroidApiLevelAuto","AndroidBuildSystem":"Gradle","BuildTarget":"WebGL","StereoRenderingPath":"MultiPass"},"Hardware":{"OperatingSystem":"","DeviceModel":"","DeviceName":"","ProcessorType":"","ProcessorCount":0,"GraphicsDeviceName":"","SystemMemorySizeMB":0},"Editor":{"Version":"6000.5.9f1","Branch":"6000.5/staging","Changeset":"b57deb96f08d","Date":1786519423},"Dependencies":["com.unity.2d.sprite@1.0.0","com.unity.ai.navigation@2.0.14","com.unity.burst@1.8.30","com.unity.cinemachine@3.1.7","com.unity.collab-proxy@2.13.6","com.unity.collections@6.5.0","com.unity.ext.nunit@2.1.0","com.unity.ide.rider@3.0.38","com.unity.ide.visualstudio@2.0.26","com.unity.inputsystem@1.20.0","com.unity.mathematics@1.4.0","com.unity.modules.accessibility@1.0.0","com.unity.modules.adaptiveperformance@1.0.0","com.unity.modules.ai@1.0.0","com.unity.modules.androidjni@1.0.0","com.unity.modules.animation@1.0.0","com.unity.modules.assetbundle@1.0.0","com.unity.modules.audio@1.0.0","com.unity.modules.cloth@1.0.0","com.unity.modules.director@1.0.0","com.unity.modules.hierarchycore@1.0.0","com.unity.modules.imageconversion@1.0.0","com.unity.modules.imgui@1.0.0","com.unity.modules.jsonserialize@1.0.0","com.unity.modules.particlesystem@1.0.0","com.unity.modules.physics@1.0.0","com.unity.modules.physics2d@1.0.0","com.unity.modules.physicscore2d@1.0.0","com.unity.modules.screencapture@1.0.0","com.unity.modules.subsystems@1.0.0","com.unity.modules.terrain@1.0.0","com.unity.modules.terrainphysics@1.0.0","com.unity.modules.tilemap@1.0.0","com.unity.modules.ui@1.0.0","com.unity.modules.uielements@1.0.0","com.unity.modules.umbra@1.0.0","com.unity.modules.unityanalytics@1.0.0","com.unity.modules.unitywebrequest@1.0.0","com.unity.modules.unitywebrequestassetbundle@1.0.0","com.unity.modules.unitywebrequestaudio@1.0.0","com.unity.modules.unitywebrequesttexture@1.0.0","com.unity.modules.unitywebrequestwww@1.0.0","com.unity.modules.vectorgraphics@1.0.0","com.unity.modules.vehicles@1.0.0","com.unity.modules.video@1.0.0","com.unity.modules.wind@1.0.0","com.unity.modules.xr@1.0.0","com.unity.multiplayer.center@1.0.1","com.unity.nuget.mono-cecil@1.11.6","com.unity.nuget.newtonsoft-json@3.2.2","com.unity.render-pipelines.core@17.5.0","com.unity.render-pipelines.universal@17.5.0","com.unity.render-pipelines.universal-config@17.5.0","com.unity.searcher@4.9.5","com.unity.settings-manager@2.1.1","com.unity.shadergraph@17.5.0","com.unity.splines@2.9.0","com.unity.test-framework.performance@3.5.0","com.unity.test-framework@1.7.0","com.unity.timeline@1.8.12","com.unity.ugui@2.5.0","com.unity.visualscripting@1.9.12"],"Results":[]}
|
||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: cb32c723ca1b15041b53f25e42df4af6
|
guid: ab20fead5feab4199b573e32bddd4893
|
||||||
DefaultImporter:
|
TextScriptImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
userData:
|
userData:
|
||||||
assetBundleName:
|
assetBundleName:
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"MeasurementCount":-1}
|
||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 12cfd9466c2ba04a98367d6526cf6af9
|
guid: 382fcdb9b0bdc275aa0285f6f924d207
|
||||||
DefaultImporter:
|
TextScriptImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
userData:
|
userData:
|
||||||
assetBundleName:
|
assetBundleName:
|
||||||
@@ -2495,7 +2495,7 @@ MonoBehaviour:
|
|||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 473584112}
|
m_GameObject: {fileID: 473584112}
|
||||||
m_Enabled: 1
|
m_Enabled: 0
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
@@ -5655,7 +5655,7 @@ MonoBehaviour:
|
|||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 1261465021}
|
m_GameObject: {fileID: 1261465021}
|
||||||
m_Enabled: 1
|
m_Enabled: 0
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
@@ -8075,7 +8075,7 @@ MonoBehaviour:
|
|||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 1783328982}
|
m_GameObject: {fileID: 1783328982}
|
||||||
m_Enabled: 1
|
m_Enabled: 0
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
@@ -8453,7 +8453,7 @@ MonoBehaviour:
|
|||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 1918093364}
|
m_GameObject: {fileID: 1918093364}
|
||||||
m_Enabled: 1
|
m_Enabled: 0
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
@@ -11706,7 +11706,7 @@ MonoBehaviour:
|
|||||||
m_HandleRect: {fileID: 1166236218371264666}
|
m_HandleRect: {fileID: 1166236218371264666}
|
||||||
m_Direction: 0
|
m_Direction: 0
|
||||||
m_Value: 0
|
m_Value: 0
|
||||||
m_Size: 0.9999942
|
m_Size: 0.99992377
|
||||||
m_NumberOfSteps: 0
|
m_NumberOfSteps: 0
|
||||||
m_OnValueChanged:
|
m_OnValueChanged:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
@@ -12975,7 +12975,7 @@ RectTransform:
|
|||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0, y: 1}
|
m_AnchorMin: {x: 0, y: 1}
|
||||||
m_AnchorMax: {x: 1, y: 1}
|
m_AnchorMax: {x: 1, y: 1}
|
||||||
m_AnchoredPosition: {x: 0.000061035156, y: 0.00003419119}
|
m_AnchoredPosition: {x: 0.0013427734, y: 0.00003419119}
|
||||||
m_SizeDelta: {x: -69.605804, y: 0}
|
m_SizeDelta: {x: -69.605804, y: 0}
|
||||||
m_Pivot: {x: 0.5, y: 1}
|
m_Pivot: {x: 0.5, y: 1}
|
||||||
--- !u!224 &7166030428587570927
|
--- !u!224 &7166030428587570927
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
+5086
-480
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,7 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 7db06b1eece87bec39b259edf6304cb4
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -294,15 +294,14 @@ public class CameraController : MonoBehaviour
|
|||||||
RemoveHighlight();
|
RemoveHighlight();
|
||||||
currentlyHoveredRenderer = hitRenderer;
|
currentlyHoveredRenderer = hitRenderer;
|
||||||
|
|
||||||
if (currentlyHoveredRenderer is SpriteRenderer sprite)
|
if (currentlyHoveredRenderer.gameObject.GetComponentInParent<DoorManager>() != null)
|
||||||
{
|
{
|
||||||
originalColour = sprite.color;
|
currentlyHoveredRenderer.gameObject.GetComponentInParent<DoorManager>().isfocussed = 1;
|
||||||
sprite.color = highlightColour;
|
|
||||||
}
|
}
|
||||||
else
|
|
||||||
|
if (currentlyHoveredRenderer.gameObject.GetComponentInParent<GuardManager>() != null)
|
||||||
{
|
{
|
||||||
originalColour = currentlyHoveredRenderer.material.color;
|
currentlyHoveredRenderer.gameObject.GetComponentInParent<GuardManager>().isfocussed = 1;
|
||||||
currentlyHoveredRenderer.material.color = highlightColour;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -316,13 +315,21 @@ public class CameraController : MonoBehaviour
|
|||||||
{
|
{
|
||||||
if (currentlyHoveredRenderer != null)
|
if (currentlyHoveredRenderer != null)
|
||||||
{
|
{
|
||||||
if (currentlyHoveredRenderer is SpriteRenderer sprite)
|
|
||||||
|
if (
|
||||||
|
currentlyHoveredRenderer.gameObject.GetComponentInParent<DoorManager>() != null &&
|
||||||
|
currentlyHoveredRenderer.gameObject.GetComponentInParent<DoorManager>() != currentDoorManager
|
||||||
|
)
|
||||||
{
|
{
|
||||||
sprite.color = originalColour;
|
currentlyHoveredRenderer.gameObject.GetComponentInParent<DoorManager>().isfocussed = 0;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
|
if (
|
||||||
|
currentlyHoveredRenderer.gameObject.GetComponentInParent<GuardManager>() != null &&
|
||||||
|
currentlyHoveredRenderer.gameObject.GetComponentInParent<GuardManager>() != currentGuardManager
|
||||||
|
)
|
||||||
{
|
{
|
||||||
currentlyHoveredRenderer.material.color = originalColour;
|
currentlyHoveredRenderer.gameObject.GetComponentInParent<GuardManager>().isfocussed = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
currentlyHoveredRenderer = null;
|
currentlyHoveredRenderer = null;
|
||||||
@@ -359,22 +366,33 @@ public class CameraController : MonoBehaviour
|
|||||||
if (talkButton != null) talkButton.gameObject.SetActive(false);
|
if (talkButton != null) talkButton.gameObject.SetActive(false);
|
||||||
if (doorButton != null) doorButton.gameObject.SetActive(false);
|
if (doorButton != null) doorButton.gameObject.SetActive(false);
|
||||||
|
|
||||||
|
|
||||||
|
UnsetAll();
|
||||||
|
currentDoorManager = null;
|
||||||
|
currentGuardManager = null;
|
||||||
|
|
||||||
|
|
||||||
if (guard != null)
|
if (guard != null)
|
||||||
{
|
{
|
||||||
TutorialManager.Instance.LogAction("TAP");
|
TutorialManager.Instance.LogAction("TAP");
|
||||||
|
AudioManager.Instance.PlaySound("WordAdd");
|
||||||
currentGuardManager = guard;
|
currentGuardManager = guard;
|
||||||
|
guard.isfocussed = 2;
|
||||||
if (talkButton != null) talkButton.gameObject.SetActive(true);
|
if (talkButton != null) talkButton.gameObject.SetActive(true);
|
||||||
}
|
}
|
||||||
else if (door != null)
|
else if (door != null)
|
||||||
{
|
{
|
||||||
TutorialManager.Instance.LogAction("TAP");
|
TutorialManager.Instance.LogAction("TAP");
|
||||||
|
AudioManager.Instance.PlaySound("WordAdd");
|
||||||
currentDoorManager = door;
|
currentDoorManager = door;
|
||||||
|
door.isfocussed = 2;
|
||||||
if (doorButton != null) doorButton.gameObject.SetActive(true);
|
if (doorButton != null) doorButton.gameObject.SetActive(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ReturnToMainCamera();
|
ReturnToMainCamera();
|
||||||
|
AudioManager.Instance.PlaySound("WordRemove");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -382,8 +400,9 @@ public class CameraController : MonoBehaviour
|
|||||||
{
|
{
|
||||||
if (currentGuardManager != null)
|
if (currentGuardManager != null)
|
||||||
{
|
{
|
||||||
|
AudioManager.Instance.PlaySound("Select");
|
||||||
DialogManager.Instance.StartDialog(currentGuardManager);
|
DialogManager.Instance.StartDialog(currentGuardManager);
|
||||||
talkButton.gameObject.SetActive(false);
|
// talkButton.gameObject.SetActive(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -392,6 +411,7 @@ public class CameraController : MonoBehaviour
|
|||||||
if (currentDoorManager != null && currentDoorManager.doorCamera != null &&
|
if (currentDoorManager != null && currentDoorManager.doorCamera != null &&
|
||||||
currentDoorManager.doorSplineDolly != null)
|
currentDoorManager.doorSplineDolly != null)
|
||||||
{
|
{
|
||||||
|
AudioManager.Instance.PlaySound("Select");
|
||||||
doorButton.gameObject.SetActive(false);
|
doorButton.gameObject.SetActive(false);
|
||||||
StartCoroutine(DoorSequenceRoutine(currentDoorManager));
|
StartCoroutine(DoorSequenceRoutine(currentDoorManager));
|
||||||
}
|
}
|
||||||
@@ -417,6 +437,7 @@ public class CameraController : MonoBehaviour
|
|||||||
currentGuardManager = null;
|
currentGuardManager = null;
|
||||||
currentDoorManager = null;
|
currentDoorManager = null;
|
||||||
|
|
||||||
|
UnsetAll();
|
||||||
if (talkButton != null) talkButton.gameObject.SetActive(false);
|
if (talkButton != null) talkButton.gameObject.SetActive(false);
|
||||||
if (doorButton != null) doorButton.gameObject.SetActive(false);
|
if (doorButton != null) doorButton.gameObject.SetActive(false);
|
||||||
}
|
}
|
||||||
@@ -433,4 +454,18 @@ public class CameraController : MonoBehaviour
|
|||||||
explorationCamera.transform.rotation = startingRotation;
|
explorationCamera.transform.rotation = startingRotation;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
private void UnsetAll()
|
||||||
|
{
|
||||||
|
foreach (var doorManager in LevelLoader.Instance.Doors)
|
||||||
|
{
|
||||||
|
doorManager.isfocussed = 0;
|
||||||
|
}
|
||||||
|
foreach (var doorManager in LevelLoader.Instance.Guards)
|
||||||
|
{
|
||||||
|
doorManager.isfocussed = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -281,6 +281,13 @@ public class DialogManager : Singleton<DialogManager>
|
|||||||
|
|
||||||
response = response.Replace("$", "");
|
response = response.Replace("$", "");
|
||||||
|
|
||||||
|
|
||||||
|
if (GlobalStateManager.Instance.finalScene)
|
||||||
|
{
|
||||||
|
response = response.Replace("OK", EndSceneManager.Instance.isPos? "This pleases me" : "This displeases me");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
string responsePrefix = "";
|
string responsePrefix = "";
|
||||||
if (FullQuestion.Contains("%"))
|
if (FullQuestion.Contains("%"))
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -67,10 +67,12 @@ public class DoorManager : MonoBehaviour, IDescribable
|
|||||||
else if (mod == "#ONE")
|
else if (mod == "#ONE")
|
||||||
{
|
{
|
||||||
oneDeath.gameObject.SetActive(true);
|
oneDeath.gameObject.SetActive(true);
|
||||||
|
yellowlight.SetActive(true);
|
||||||
}
|
}
|
||||||
else if (mod == "#MANY")
|
else if (mod == "#MANY")
|
||||||
{
|
{
|
||||||
manyDeath.gameObject.SetActive(true);
|
manyDeath.gameObject.SetActive(true);
|
||||||
|
yellowlight.SetActive(true);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -2,10 +2,22 @@ using System.Collections;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Newtonsoft.Json.Linq;
|
using Newtonsoft.Json.Linq;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
using Utils;
|
||||||
|
|
||||||
public class EndSceneManager : MonoBehaviour
|
public class EndSceneManager : Singleton<EndSceneManager>
|
||||||
{
|
{
|
||||||
public TextAsset data;
|
public TextAsset data;
|
||||||
|
|
||||||
|
|
||||||
|
public bool isPos;
|
||||||
|
|
||||||
|
public Image kingRend;
|
||||||
|
|
||||||
|
public Sprite hap;
|
||||||
|
public Sprite sad;
|
||||||
|
|
||||||
|
|
||||||
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
||||||
void Start()
|
void Start()
|
||||||
{
|
{
|
||||||
@@ -14,7 +26,7 @@ public class EndSceneManager : MonoBehaviour
|
|||||||
var text = data.ToString();
|
var text = data.ToString();
|
||||||
DialogManager.Instance.dialogTree = JObject.Parse(text)["dialog"] as JObject;
|
DialogManager.Instance.dialogTree = JObject.Parse(text)["dialog"] as JObject;
|
||||||
DialogManager.Instance.StartDialog(GetComponent<GuardManager>());
|
DialogManager.Instance.StartDialog(GetComponent<GuardManager>());
|
||||||
|
isPos = Random.Range(0f, 1f) > 0.5f;
|
||||||
StartCoroutine(DoSomethingAfterOneSecond());
|
StartCoroutine(DoSomethingAfterOneSecond());
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -29,6 +41,11 @@ public class EndSceneManager : MonoBehaviour
|
|||||||
DialogManager.Instance.gameObject.SetActive(true);
|
DialogManager.Instance.gameObject.SetActive(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void SetFace()
|
||||||
|
{
|
||||||
|
kingRend.sprite = isPos ? hap : sad;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Update is called once per frame
|
// Update is called once per frame
|
||||||
void Update()
|
void Update()
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.SceneManagement;
|
using UnityEngine.SceneManagement;
|
||||||
|
using UnityEngine.UI;
|
||||||
using Utils;
|
using Utils;
|
||||||
|
|
||||||
public class GlobalStateManager : Singleton<GlobalStateManager>
|
public class GlobalStateManager : Singleton<GlobalStateManager>
|
||||||
|
|||||||
@@ -51,6 +51,11 @@ public class SpeechManager : Singleton<SpeechManager>
|
|||||||
}
|
}
|
||||||
else if (textBuffer.Count > 0)
|
else if (textBuffer.Count > 0)
|
||||||
{
|
{
|
||||||
|
//BORKBORKBORKBORK
|
||||||
|
if (GlobalStateManager.Instance.finalScene)
|
||||||
|
{
|
||||||
|
EndSceneManager.Instance.SetFace();
|
||||||
|
}
|
||||||
NextText();
|
NextText();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
BIN
Binary file not shown.
@@ -0,0 +1,201 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 834d58233345b1afda431def935f8820
|
||||||
|
TextureImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 13
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 0
|
||||||
|
sRGBTexture: 1
|
||||||
|
linearTexture: 0
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapsPreserveCoverage: 0
|
||||||
|
alphaTestReferenceValue: 0.5
|
||||||
|
mipMapFadeDistanceStart: 1
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 0
|
||||||
|
externalNormalMap: 0
|
||||||
|
heightScale: 0.25
|
||||||
|
normalMapFilter: 0
|
||||||
|
flipGreenChannel: 0
|
||||||
|
isReadable: 0
|
||||||
|
streamingMipmaps: 0
|
||||||
|
streamingMipmapsPriority: 0
|
||||||
|
vTOnly: 0
|
||||||
|
ignoreMipmapLimit: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 6
|
||||||
|
cubemapConvolution: 0
|
||||||
|
seamlessCubemap: 0
|
||||||
|
textureFormat: 1
|
||||||
|
maxTextureSize: 2048
|
||||||
|
textureSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
filterMode: 0
|
||||||
|
aniso: 1
|
||||||
|
mipBias: 0
|
||||||
|
wrapU: 1
|
||||||
|
wrapV: 1
|
||||||
|
wrapW: 0
|
||||||
|
nPOTScale: 0
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
spriteMode: 2
|
||||||
|
spriteExtrude: 1
|
||||||
|
spriteMeshType: 1
|
||||||
|
alignment: 0
|
||||||
|
spritePivot: {x: 0.5, y: 0.5}
|
||||||
|
spritePixelsToUnits: 100
|
||||||
|
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
spriteGenerateFallbackPhysicsShape: 1
|
||||||
|
alphaUsage: 1
|
||||||
|
alphaIsTransparency: 1
|
||||||
|
spriteTessellationDetail: -1
|
||||||
|
textureType: 8
|
||||||
|
textureShape: 1
|
||||||
|
singleChannelComponent: 0
|
||||||
|
flipbookRows: 1
|
||||||
|
flipbookColumns: 1
|
||||||
|
maxTextureSizeSet: 0
|
||||||
|
compressionQualitySet: 0
|
||||||
|
textureFormatSet: 0
|
||||||
|
ignorePngGamma: 0
|
||||||
|
applyGammaDecoding: 0
|
||||||
|
swizzle: 50462976
|
||||||
|
cookieLightType: 0
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: Standalone
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: WebGL
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites:
|
||||||
|
- serializedVersion: 2
|
||||||
|
name: king_0
|
||||||
|
rect:
|
||||||
|
serializedVersion: 2
|
||||||
|
x: 0
|
||||||
|
y: 0
|
||||||
|
width: 84
|
||||||
|
height: 88
|
||||||
|
alignment: 0
|
||||||
|
pivot: {x: 0.5, y: 0.5}
|
||||||
|
border: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
customData:
|
||||||
|
outline: []
|
||||||
|
physicsShape: []
|
||||||
|
tessellationDetail: 0
|
||||||
|
bones: []
|
||||||
|
spriteID: 651d9f16509aa372cb05c52c7176792d
|
||||||
|
internalID: -1453965360
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
- serializedVersion: 2
|
||||||
|
name: king_1
|
||||||
|
rect:
|
||||||
|
serializedVersion: 2
|
||||||
|
x: 84
|
||||||
|
y: 0
|
||||||
|
width: 84
|
||||||
|
height: 88
|
||||||
|
alignment: 0
|
||||||
|
pivot: {x: 0.5, y: 0.5}
|
||||||
|
border: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
customData:
|
||||||
|
outline: []
|
||||||
|
physicsShape: []
|
||||||
|
tessellationDetail: 0
|
||||||
|
bones: []
|
||||||
|
spriteID: 27f6b4d7f539bcf8aa9e03fa4cc86f6c
|
||||||
|
internalID: 924982075
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
- serializedVersion: 2
|
||||||
|
name: king_2
|
||||||
|
rect:
|
||||||
|
serializedVersion: 2
|
||||||
|
x: 168
|
||||||
|
y: 0
|
||||||
|
width: 84
|
||||||
|
height: 88
|
||||||
|
alignment: 0
|
||||||
|
pivot: {x: 0.5, y: 0.5}
|
||||||
|
border: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
customData:
|
||||||
|
outline: []
|
||||||
|
physicsShape: []
|
||||||
|
tessellationDetail: 0
|
||||||
|
bones: []
|
||||||
|
spriteID: 79b50e0efbd7263308db53b1e8287d96
|
||||||
|
internalID: 469985466
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
outline: []
|
||||||
|
customData:
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID: 743b63367488d0e738f2921296bde6ac
|
||||||
|
internalID: 0
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
secondaryTextures: []
|
||||||
|
spriteCustomMetadata:
|
||||||
|
entries:
|
||||||
|
- key: SpriteEditor.SliceSettings
|
||||||
|
value: '{"sliceOnImport":false,"gridCellCount":{"x":3.0,"y":1.0},"gridSpriteSize":{"x":84.0,"y":88.0},"gridSpriteOffset":{"x":0.0,"y":0.0},"gridSpritePadding":{"x":0.0,"y":0.0},"pivot":{"x":0.5,"y":0.5},"pivotPixels":{"x":0.0,"y":0.0},"autoSlicingMethod":0,"spriteAlignment":0,"pivotUnitMode":0,"slicingType":2,"keepEmptyRects":false,"isAlternate":false}'
|
||||||
|
nameFileIdTable:
|
||||||
|
king_0: -1453965360
|
||||||
|
king_1: 924982075
|
||||||
|
king_2: 469985466
|
||||||
|
mipmapLimitGroupName:
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
Binary file not shown.
@@ -149,7 +149,8 @@ PlayerSettings:
|
|||||||
visionOSBundleVersion: 1.0
|
visionOSBundleVersion: 1.0
|
||||||
tvOSBundleVersion: 1.0
|
tvOSBundleVersion: 1.0
|
||||||
bundleVersion: 0.1.0
|
bundleVersion: 0.1.0
|
||||||
preloadedAssets: []
|
preloadedAssets:
|
||||||
|
- {fileID: -944628639613478452, guid: 052faaac586de48259a63d0c4782560b, type: 3}
|
||||||
metroInputSource: 0
|
metroInputSource: 0
|
||||||
wsaTransparentSwapchain: 0
|
wsaTransparentSwapchain: 0
|
||||||
xboxOneDisableKinectGpuReservation: 1
|
xboxOneDisableKinectGpuReservation: 1
|
||||||
|
|||||||
Reference in New Issue
Block a user