Commit 97317e96 authored by Games@thm's avatar Games@thm

LevelSelect

parent c046cd02
......@@ -18,34 +18,34 @@ MonoBehaviour:
value: 1
intensity:
overrideState: 1
value: 2.98
value: 5
threshold:
overrideState: 0
value: 1
overrideState: 1
value: 0.9
softKnee:
overrideState: 0
value: 0.5
overrideState: 1
value: 0.153
clamp:
overrideState: 0
value: 65472
overrideState: 1
value: 65452.46
diffusion:
overrideState: 0
overrideState: 1
value: 7
anamorphicRatio:
overrideState: 0
overrideState: 1
value: 0
color:
overrideState: 0
value: {r: 1, g: 1, b: 1, a: 1}
overrideState: 1
value: {r: 0.990566, g: 0.563689, b: 0.3037113, a: 1}
fastMode:
overrideState: 0
overrideState: 1
value: 0
dirtTexture:
overrideState: 0
overrideState: 1
value: {fileID: 0}
defaultState: 1
dirtIntensity:
overrideState: 0
overrideState: 1
value: 0
--- !u!114 &-7710173634272706983
MonoBehaviour:
......@@ -64,102 +64,102 @@ MonoBehaviour:
overrideState: 1
value: 1
gradingMode:
overrideState: 0
overrideState: 1
value: 1
externalLut:
overrideState: 0
overrideState: 1
value: {fileID: 0}
defaultState: 1
tonemapper:
overrideState: 0
overrideState: 1
value: 0
toneCurveToeStrength:
overrideState: 0
overrideState: 1
value: 0
toneCurveToeLength:
overrideState: 0
overrideState: 1
value: 0.5
toneCurveShoulderStrength:
overrideState: 0
overrideState: 1
value: 0
toneCurveShoulderLength:
overrideState: 0
overrideState: 1
value: 0.5
toneCurveShoulderAngle:
overrideState: 0
overrideState: 1
value: 0
toneCurveGamma:
overrideState: 0
overrideState: 1
value: 1
ldrLut:
overrideState: 0
overrideState: 1
value: {fileID: 0}
defaultState: 4
ldrLutContribution:
overrideState: 0
overrideState: 1
value: 1
temperature:
overrideState: 0
overrideState: 1
value: 0
tint:
overrideState: 0
overrideState: 1
value: 0
colorFilter:
overrideState: 0
overrideState: 1
value: {r: 1, g: 1, b: 1, a: 1}
hueShift:
overrideState: 0
overrideState: 1
value: 0
saturation:
overrideState: 0
value: 0
overrideState: 1
value: 22.9
brightness:
overrideState: 0
overrideState: 1
value: 0
postExposure:
overrideState: 0
overrideState: 1
value: 0
contrast:
overrideState: 0
value: 0
overrideState: 1
value: 8.8
mixerRedOutRedIn:
overrideState: 0
overrideState: 1
value: 100
mixerRedOutGreenIn:
overrideState: 0
overrideState: 1
value: 0
mixerRedOutBlueIn:
overrideState: 0
overrideState: 1
value: 0
mixerGreenOutRedIn:
overrideState: 0
overrideState: 1
value: 0
mixerGreenOutGreenIn:
overrideState: 0
overrideState: 1
value: 100
mixerGreenOutBlueIn:
overrideState: 0
overrideState: 1
value: 0
mixerBlueOutRedIn:
overrideState: 0
value: 0
overrideState: 1
value: 10
mixerBlueOutGreenIn:
overrideState: 0
value: 0
overrideState: 1
value: 10
mixerBlueOutBlueIn:
overrideState: 0
value: 100
overrideState: 1
value: 110
lift:
overrideState: 0
value: {x: 1, y: 1, z: 1, w: 0}
overrideState: 1
value: {x: 1, y: 1, z: 1, w: -0.05483208}
gamma:
overrideState: 0
value: {x: 1, y: 1, z: 1, w: 0}
overrideState: 1
value: {x: 1, y: 1, z: 1, w: 0.13708018}
gain:
overrideState: 0
value: {x: 1, y: 1, z: 1, w: 0}
overrideState: 1
value: {x: 1, y: 1, z: 1, w: -0.2604523}
masterCurve:
overrideState: 0
overrideState: 1
value:
curve:
serializedVersion: 2
......@@ -318,7 +318,7 @@ MonoBehaviour:
- 0.984375
- 0.9921875
redCurve:
overrideState: 0
overrideState: 1
value:
curve:
serializedVersion: 2
......@@ -477,7 +477,7 @@ MonoBehaviour:
- 0.984375
- 0.9921875
greenCurve:
overrideState: 0
overrideState: 1
value:
curve:
serializedVersion: 2
......@@ -636,7 +636,7 @@ MonoBehaviour:
- 0.984375
- 0.9921875
blueCurve:
overrideState: 0
overrideState: 1
value:
curve:
serializedVersion: 2
......@@ -795,7 +795,7 @@ MonoBehaviour:
- 0.984375
- 0.9921875
hueVsHueCurve:
overrideState: 0
overrideState: 1
value:
curve:
serializedVersion: 2
......@@ -936,7 +936,7 @@ MonoBehaviour:
- 0.5
- 0.5
hueVsSatCurve:
overrideState: 0
overrideState: 1
value:
curve:
serializedVersion: 2
......@@ -1077,7 +1077,7 @@ MonoBehaviour:
- 0.5
- 0.5
satVsSatCurve:
overrideState: 0
overrideState: 1
value:
curve:
serializedVersion: 2
......@@ -1218,7 +1218,7 @@ MonoBehaviour:
- 0.5
- 0.5
lumVsSatCurve:
overrideState: 0
overrideState: 1
value:
curve:
serializedVersion: 2
......@@ -1370,7 +1370,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: d65e486e4de6e5448a8fbb43dc8756a0, type: 3}
m_Name: Grain
m_EditorClassIdentifier:
active: 1
active: 0
enabled:
overrideState: 1
value: 1
......
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
public class StoryTextSelectScreen : MonoBehaviour
{
}
fileFormatVersion: 2
guid: f27f05b1a220f6643afaeb7932bc14f0
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: c29aa0de4bb26a945ae50fd6de53f7ec
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
......@@ -13,7 +13,7 @@ MonoBehaviour:
m_Name: MaxLevelNum
m_EditorClassIdentifier:
DeveloperDescription:
value: 10
value: 5
oldValue: 1
Changed: {fileID: 0}
ChangedWithHistory: {fileID: 0}
......@@ -145,7 +145,7 @@ MonoBehaviour:
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_PressedColor: {r: 0.9622642, g: 0.049928807, b: 0.049928807, a: 1}
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_SelectedColor: {r: 0.4811321, g: 0.4811321, b: 0.4811321, a: 1}
m_DisabledColor: {r: 1, g: 1, b: 1, a: 0.5019608}
m_ColorMultiplier: 1
m_FadeDuration: 0.1
......@@ -206,9 +206,39 @@ MonoBehaviour:
callback:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 5524448723406144138}
m_MethodName: PlaySound
- m_Target: {fileID: 0}
m_MethodName:
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName:
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
- eventID: 9
callback:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 0}
m_MethodName: SetActive
m_Mode: 6
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 1
m_CallState: 2
- eventID: 10
callback:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 0}
m_MethodName: SetActive
m_Mode: 6
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
......
......@@ -97,7 +97,7 @@ LightmapSettings:
m_ExportTrainingData: 0
m_TrainingDataDestination: TrainingData
m_LightingDataAsset: {fileID: 0}
m_UseShadowmask: 0
m_UseShadowmask: 1
--- !u!196 &4
NavMeshSettings:
serializedVersion: 2
......
using System.Collections;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityAtoms;
......@@ -10,16 +11,25 @@ public class SelLevelManager : MonoBehaviour
{
[SerializeField] private IntVariable levelsnum;
public Button lvlaccessbtn;
public GameObject LevelGrid;
public int counter;
public void OnEnable()
{
activateLevels();
}
public void activateLevels()
{
LevelGrid = GameObject.FindGameObjectWithTag("SelLevelGrid");
//LevelGrid = GameObject.FindGameObjectWithTag("SelLevelGrid");
Debug.Log("entered activateLevels");
for (int i = 0; i < levelsnum.Value; i++)
for (int i = 0; i < levelsnum.Value-(counter*7); i++)
{
lvlaccessbtn = LevelGrid.transform.GetChild(i).GetComponent<Button>();
lvlaccessbtn.interactable = true;
lvlaccessbtn = this.transform.GetChild(i).GetComponent<Button>();
lvlaccessbtn.interactable = true;
}
}
}
......@@ -7,6 +7,8 @@ TagManager:
- SelLevelGrid
- SelLevelBtn
- SizePickUp
- FireDirection
- Quote
layers:
- Default
- TransparentFX
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment