Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Assets/FieldPoC/Scripts/EnvironmentController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Collections.Generic;
using UnityEngine;

public class EnvironmentController : MonoBehaviour
public class EnvironmentController : SceneSingleton<EnvironmentController>
{
[SerializeField] private GameObject rainEffect;
[SerializeField] private GameObject directionalLight_Rain;
Expand Down
2 changes: 1 addition & 1 deletion Assets/FieldPoC/Scripts/GiftPanel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public void ClosePanel()
private void HandleFieldUI(bool active)
{
var logMapUI = FindObjectOfType<LogMapUI>(true);
var fieldTimerUI = FindObjectOfType<FieldTimer>(true);
var fieldTimerUI = FindObjectOfType<FieldTimerUI>(true);
var tabPanelUI = FindObjectOfType<TabPanelUI>(true);

if (logMapUI) logMapUI.gameObject.SetActive(active);
Expand Down
47 changes: 47 additions & 0 deletions Assets/General/Prefabs/ConfirmationModal.prefab
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &2721700973382729827
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3876791502962229298}
- component: {fileID: 9006701592775913349}
m_Layer: 0
m_Name: ConfirmationModal
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &3876791502962229298
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2721700973382729827}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &9006701592775913349
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2721700973382729827}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5590ddd73effae9468fcb3367723624c, type: 3}
m_Name:
m_EditorClassIdentifier:
modalUIPrefab: {fileID: 7556008702612707542, guid: f8f847ee6230071458cbfe7e224ede45, type: 3}
7 changes: 7 additions & 0 deletions Assets/General/Prefabs/ConfirmationModal.prefab.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading