fixed homescene

This commit is contained in:
Janis M
2022-01-18 10:33:36 +01:00
parent eff2619acd
commit 3bcc95612d
4 changed files with 96 additions and 122 deletions

View File

@@ -523,7 +523,6 @@ GameObject:
- component: {fileID: 4927034121091652283}
- component: {fileID: 4927034121091652285}
- component: {fileID: 4927034121091652284}
- component: {fileID: 4927034121091652286}
m_Layer: 5
m_Name: FocusText
m_TagString: Untagged
@@ -648,32 +647,6 @@ MonoBehaviour:
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!114 &4927034121091652286
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4927034121091652282}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 3b73e2bcfc623314cbd9352da494f1f9, type: 3}
m_Name:
m_EditorClassIdentifier:
markerHeight: 20
transitionStartTime: 0.1
transitionEndTime: 0.1
helpTextOriginColor: {r: 0, g: 0, b: 0, a: 0}
helpTextColor: {r: 0, g: 0, b: 0, a: 0}
focusTextOriginColor: {r: 0, g: 0, b: 0, a: 0}
focusTextColor: {r: 0, g: 0, b: 0, a: 0}
helpTextEndPosition: -25
focusTextEndPosition: 20
marker: {fileID: 0}
focusText: {fileID: 0}
helpText: {fileID: 0}
underline: {fileID: 0}
placeholder: {fileID: 0}
--- !u!1 &4927034121194567461
GameObject:
m_ObjectHideFlags: 0

View File

@@ -38,7 +38,7 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0.18028378, g: 0.22571412, b: 0.30692285, a: 1}
m_IndirectSpecularColor: {r: 0.18028331, g: 0.2257133, b: 0.3069217, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
@@ -5098,7 +5098,8 @@ PrefabInstance:
propertyPath: InputType
value: 2
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedComponents:
- {fileID: 4927034121091652286, guid: 2bcd316cc5d96504197c7bd6f749e4d9, type: 3}
m_SourcePrefab: {fileID: 100100000, guid: 2bcd316cc5d96504197c7bd6f749e4d9, type: 3}
--- !u!1001 &7086846158179689576
PrefabInstance:

View File

@@ -62,7 +62,7 @@ public class HomeSceneInputField : MonoBehaviour, IPointerClickHandler
void Update()
{
//UnFocus && isActive
if (!inputField.isFocused)
if (inputField && !inputField.isFocused)
{
isFocused = false;