超大量的更新 修复很多问题,gameplay特效初步
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using UnityEngine.EventSystems;
|
||||
using System.Collections;
|
||||
@@ -10,45 +10,53 @@ public class selectSettingsOptions : MonoBehaviour
|
||||
public Button escButton;
|
||||
public GameObject selfGO;
|
||||
|
||||
[Header("用户")]
|
||||
[Header("Inspector")]
|
||||
public Button userSettingsButton;
|
||||
public GameObject userSettingsGameObject;
|
||||
public Image userSettings_selectedMark;
|
||||
|
||||
[Header("画面设置")]
|
||||
[Header("Inspector")]
|
||||
public Button graphicSettingsButton;
|
||||
public GameObject graphicSettingsGameObject;
|
||||
public Image graphicSettings_selectedMark;
|
||||
|
||||
[Header("声音设置")]
|
||||
[Header("Inspector")]
|
||||
public Button audioSettingsButton;
|
||||
public GameObject audioSettingsGameObject;
|
||||
public Image audioSettings_selectedMark;
|
||||
|
||||
[Header("操作设置")]
|
||||
[Header("Inspector")]
|
||||
public Button controlSettingsButton;
|
||||
public GameObject controlSettingsGameObject;
|
||||
public Image controlSettings_selectedMark;
|
||||
|
||||
[Header("游戏设置")]
|
||||
[Header("Inspector")]
|
||||
public Button gameSettingsButton;
|
||||
public GameObject gameSettingsGameObject;
|
||||
public Image gameSettings_selectedMark;
|
||||
|
||||
[Header("关于")]
|
||||
[Header("Inspector")]
|
||||
public Button aboutUsButton;
|
||||
public GameObject aboutUsGameObject;
|
||||
public Image aboutUs_selectedMark;
|
||||
|
||||
[Header("设备信息")]
|
||||
[Header("Inspector")]
|
||||
public Button deviceInfoButton;
|
||||
public GameObject deviceInfoGameObject;
|
||||
public Image deviceInfo_selectedMark;
|
||||
|
||||
[Header("Fade Settings")]
|
||||
[Tooltip("时间(秒)")] public float fadeDuration = 0.25f;
|
||||
[Tooltip("Hover alpha when mouse over (0-1)")] public float hoverAlpha = 0.75f;
|
||||
[Tooltip("Alpha when selected (常亮)")] public float selectedAlpha = 1f;
|
||||
[Tooltip("Hover alpha when mouse over (0-1).")]
|
||||
[Range(0f, 1f)]
|
||||
public float hoverAlpha = 0.75f;
|
||||
|
||||
[Tooltip("Selected mark alpha when option is selected (0-1).")]
|
||||
[Range(0f, 1f)]
|
||||
public float selectedAlpha = 1f;
|
||||
|
||||
[Tooltip("Fade duration in seconds.")]
|
||||
[Min(0f)]
|
||||
public float fadeDuration = 0.1f;
|
||||
|
||||
// internal state
|
||||
private class OptionEntry
|
||||
|
||||
Reference in New Issue
Block a user