35 lines
535 B
C#
35 lines
535 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class controll : MonoBehaviour
|
|
{
|
|
// Start is called before the first frame update
|
|
void Start()
|
|
{
|
|
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
|
|
public void Exit()
|
|
{
|
|
|
|
Application.Quit();
|
|
|
|
}
|
|
|
|
public void mailto(string mail) {
|
|
Application.OpenURL("mailto:"+mail);
|
|
}
|
|
|
|
public void sound_volume(float volume) {
|
|
PlayerPrefs.SetFloat("volume",volume);
|
|
}
|
|
}
|
|
|