end terminal placement
This commit is contained in:
@@ -5119,7 +5119,7 @@ ParticleSystem:
|
||||
startSize:
|
||||
serializedVersion: 2
|
||||
minMaxState: 0
|
||||
scalar: 0.01
|
||||
scalar: 0.02
|
||||
minScalar: 0.001
|
||||
maxCurve:
|
||||
serializedVersion: 2
|
||||
@@ -9896,7 +9896,7 @@ ParticleSystem:
|
||||
startSize:
|
||||
serializedVersion: 2
|
||||
minMaxState: 0
|
||||
scalar: 0.003
|
||||
scalar: 0.006
|
||||
minScalar: 1
|
||||
maxCurve:
|
||||
serializedVersion: 2
|
||||
|
||||
20
Assets/Station46/Module Descriptions/M End Terminal.asset
Normal file
20
Assets/Station46/Module Descriptions/M End Terminal.asset
Normal file
@@ -0,0 +1,20 @@
|
||||
%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: abf4a405f6c64073995bded39977563e, type: 3}
|
||||
m_Name: M End Terminal
|
||||
m_EditorClassIdentifier:
|
||||
types: 03000000
|
||||
modulePrefab: {fileID: 6668481611205895174, guid: fc5ba6ab25589494f9757b42379c2c14,
|
||||
type: 3}
|
||||
preconditionRequirements: []
|
||||
placementRequirements:
|
||||
- {fileID: 11400000, guid: 43eb2a566a244964aa3a3319eaafe1a8, type: 2}
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: dbd778c370ce9b14aab18ab343fb99df
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -758,7 +758,7 @@ ParticleSystem:
|
||||
startSize:
|
||||
serializedVersion: 2
|
||||
minMaxState: 0
|
||||
scalar: 0.01
|
||||
scalar: 0.02
|
||||
minScalar: 0.001
|
||||
maxCurve:
|
||||
serializedVersion: 2
|
||||
@@ -10952,7 +10952,7 @@ ParticleSystem:
|
||||
startSize:
|
||||
serializedVersion: 2
|
||||
minMaxState: 0
|
||||
scalar: 0.003
|
||||
scalar: 0.006
|
||||
minScalar: 1
|
||||
maxCurve:
|
||||
serializedVersion: 2
|
||||
@@ -16154,7 +16154,7 @@ MonoBehaviour:
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_text: '5 Beacons
|
||||
m_text: '5 beacons
|
||||
|
||||
successfully
|
||||
|
||||
@@ -16165,7 +16165,7 @@ MonoBehaviour:
|
||||
|
||||
|
||||
|
||||
Thank you
|
||||
thank you
|
||||
|
||||
for
|
||||
playing'
|
||||
|
||||
@@ -125,8 +125,8 @@ Material:
|
||||
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _Color: {r: 0, g: 4.329412, b: 8, a: 1}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _NoiseSpeed: {r: -0.1, g: 0, b: 0, a: 0}
|
||||
- _ScrollingSpeed: {r: 0.01, g: 0, b: 0, a: 0}
|
||||
- _NoiseSpeed: {r: 0.1, g: 0, b: 0, a: 0}
|
||||
- _ScrollingSpeed: {r: -0.01, g: 0, b: 0, a: 0}
|
||||
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
|
||||
m_BuildTextureStacks: []
|
||||
--- !u!114 &4030118509478967149
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
using EscapeRoomEngine.Engine.Runtime.Modules;
|
||||
using System;
|
||||
using EscapeRoomEngine.Engine.Runtime;
|
||||
using EscapeRoomEngine.Engine.Runtime.Measurements;
|
||||
using EscapeRoomEngine.Engine.Runtime.Modules;
|
||||
using EscapeRoomEngine.Engine.Runtime.Modules.State;
|
||||
using EscapeRoomEngine.VR.Runtime;
|
||||
using NaughtyAttributes;
|
||||
@@ -12,6 +15,23 @@ namespace Station46.Modules.End_Terminal.Scripts
|
||||
[BoxGroup("Internal")] [SerializeField] private TMP_Text text;
|
||||
[BoxGroup("Internal")] [SerializeField] private Transform rotation;
|
||||
|
||||
public int BeaconsActivated
|
||||
{
|
||||
set
|
||||
{
|
||||
var currentText = text.text;
|
||||
currentText = value == 1
|
||||
? currentText.Replace("beacons", "beacon")
|
||||
: currentText.Replace("beacon", "beacons");
|
||||
text.text = value + currentText[currentText.IndexOf(' ')..];
|
||||
}
|
||||
}
|
||||
|
||||
private void Start()
|
||||
{
|
||||
BeaconsActivated = Measure.PuzzlesSolved;
|
||||
}
|
||||
|
||||
private void Update()
|
||||
{
|
||||
var lookAt =
|
||||
|
||||
@@ -13,6 +13,7 @@ MonoBehaviour:
|
||||
m_Name: Station 46
|
||||
m_EditorClassIdentifier:
|
||||
intro: {fileID: 6790828229373266063, guid: 1358b4ef564c4704682417dff526766a, type: 3}
|
||||
endModule: {fileID: 11400000, guid: dbd778c370ce9b14aab18ab343fb99df, type: 2}
|
||||
spaceTile: {fileID: 3229991053255736984, guid: b8f192f7cebe686468af6b1a71c4605b,
|
||||
type: 3}
|
||||
environments:
|
||||
|
||||
Reference in New Issue
Block a user