1234567891011121314151617181920212223242526 |
- #if UNITY_EDITOR
- using UnityEngine;
- using UnityEditor;
- public class SwitchScene : MonoBehaviour {
- [MenuItem("Scene/1. Loader %1")]
- public static void OpenLoader()
- {
- EditorApplication.OpenScene("Assets/!Santa/Scenes/_loader.unity");
- }
- [MenuItem("Scene/2. Game %2")]
- public static void OpenGame()
- {
- EditorApplication.OpenScene("Assets/!Santa/Scenes/Santa.unity");
- }
- [MenuItem("Android/Enter key and code")]
- public static void AndroidCode()
- {
- PlayerSettings.Android.keystorePass = "I7YPU9E5q2v77vh";
- PlayerSettings.Android.keyaliasName = "release";
- PlayerSettings.Android.keyaliasPass = "refsNQflLD3cHvr";
- }
- }
- #endif
|