28 lines
857 B
C#
28 lines
857 B
C#
|
|
using System.Collections;
|
||
|
|
using System.Collections.Generic;
|
||
|
|
using Ichni.Menu;
|
||
|
|
using UnityEngine;
|
||
|
|
|
||
|
|
namespace Ichni.UI
|
||
|
|
{
|
||
|
|
public class GamePlaySettingsWindow : SettingsWindow
|
||
|
|
{
|
||
|
|
public TextButton offsetEditorButton;
|
||
|
|
public override void Initialize()
|
||
|
|
{
|
||
|
|
offsetEditorButton.SetUp("Menu UI/Settings_OffsetEditor");
|
||
|
|
offsetEditorButton.updateValueAction = () =>
|
||
|
|
{
|
||
|
|
gameObject.SetActive(false);
|
||
|
|
MenuManager.instance.settingsUIPage.offsetEditor.gameObject.SetActive(true);
|
||
|
|
MenuManager.instance.settingsUIPage.offsetEditor.offsetEditingContainer.SetActive(true);
|
||
|
|
MenuManager.instance.settingsUIPage.offsetEditor.Play();
|
||
|
|
};
|
||
|
|
}
|
||
|
|
|
||
|
|
public override void SetValuesFromSettings()
|
||
|
|
{
|
||
|
|
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|