You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
using JetBrains.Annotations; |
|
using Ui.Screens; |
|
using UnityEngine; |
|
|
|
namespace Engine.Ui.Screens |
|
{ |
|
public class ScreenChangeButton : MonoBehaviour |
|
{ |
|
[SerializeField] private int _screen; |
|
|
|
[UsedImplicitly] |
|
public void OnClick() |
|
{ |
|
ScreenContainer.Instance.SetNewPosition(_screen); |
|
} |
|
} |
|
}
|
|
|