bingo 项目提交
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace BingoBrain.Core
|
||||
{
|
||||
public static class AskConst
|
||||
{
|
||||
public const string Default_Name = "Default";
|
||||
public const string UI_Name = "UI";
|
||||
|
||||
public readonly static int Default = LayerMask.NameToLayer(Default_Name);
|
||||
public readonly static int UI = LayerMask.NameToLayer(UI_Name);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8f53446f031c27d4eae9f0ff7d3e4565
|
||||
timeCreated: 1530670154
|
||||
licenseType: Pro
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace BingoBrain.Core
|
||||
{
|
||||
public static class BConst
|
||||
{
|
||||
public const float AnimFrameRate = 30;
|
||||
public const float SecondRateUnit = 1 / AnimFrameRate;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: db177b3a2887ce0498712919fed1ee4f
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,45 @@
|
||||
using UnityEngine;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace BingoBrain.Core
|
||||
{
|
||||
public static class BingoConst
|
||||
{
|
||||
#region Field
|
||||
|
||||
public const bool IsDevelopmentBuild = false;
|
||||
public static bool IsEnabledEngineProfiler = false;
|
||||
public static bool IsEnabledEngineLog = true;
|
||||
|
||||
public const LogType EnabledFilterLogType =
|
||||
LogType.Log | LogType.Warning | LogType.Error | LogType.Assert |
|
||||
LogType.Exception;
|
||||
|
||||
public const bool IsRunInBG = true;
|
||||
public const int SleepTimeoutMode = SleepTimeout.NeverSleep;
|
||||
public const int AntiAliasing = 0;
|
||||
public const int HighFrameRate = 60;
|
||||
public const int LowFrameRate = 45;
|
||||
public const float HDHighViewScale = 1f;
|
||||
public const float HDLowViewScale = 0.9f;
|
||||
public const float PixelsPerUnit = 100f;
|
||||
|
||||
|
||||
public static Vector2Int StandardResolution = new Vector2Int(1080, 1920);
|
||||
|
||||
|
||||
public static Vector2Int UIResolution = new Vector2Int(1080, 1920);
|
||||
|
||||
|
||||
public static bool UseInternalSetting = true;
|
||||
|
||||
public static bool IsMultiLangue = true;
|
||||
|
||||
public static string CurrMultiLangue = "en";
|
||||
|
||||
public static string InternalLangue = "en";
|
||||
public static List<string> CtrlDisableList = new List<string>();
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5e2daa6b68221ec4f8e0b643de38afd1
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,31 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace BingoBrain.Core
|
||||
{
|
||||
public static class CenConst
|
||||
{
|
||||
public static Vector2 StandardResolution =
|
||||
new(BingoConst.StandardResolution.x, BingoConst.StandardResolution.y);
|
||||
|
||||
|
||||
public static float StandardWidth => BingoConst.StandardResolution.x;
|
||||
|
||||
|
||||
public static float StandardHeight => BingoConst.StandardResolution.y;
|
||||
|
||||
|
||||
public static Vector2 RawResolution = new(Screen.width, Screen.height);
|
||||
|
||||
|
||||
public static Vector2 CurrResolution = new(Screen.width, Screen.height);
|
||||
|
||||
|
||||
public static float OrthographicSize_1280H = StandardHeight / 2 / BingoConst.PixelsPerUnit;
|
||||
|
||||
|
||||
public static float StandardAspectRatio = StandardHeight / StandardWidth;
|
||||
|
||||
|
||||
public static float CurrAspectRatio = (float)Screen.height / Screen.width;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 76e7d3de03bd12a44b19e935ea71697a
|
||||
timeCreated: 1534935298
|
||||
licenseType: Pro
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,9 @@
|
||||
namespace BingoBrain.Core
|
||||
{
|
||||
public static class DoConst
|
||||
{
|
||||
public const string UIButtonDefault = "ui_ButtonDefault";
|
||||
public const string BGMMainScene = "bgm_MainScene";
|
||||
public const string CoinFly = "coinfly";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: dbb65f81bcb66ff48abc55f1c1150765
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,17 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace BingoBrain.Core
|
||||
{
|
||||
public static class EraConst
|
||||
{
|
||||
public const int MainDepth = 0;
|
||||
public const int UICameraDepth = 10;
|
||||
|
||||
public const int MainCameraPosValue = 100;
|
||||
public const int MainCameraZPos = 0;
|
||||
public const int UICameraPosValue = 10000;
|
||||
|
||||
public static Vector3 MainCameraPos = new Vector3(MainCameraPosValue, MainCameraPosValue, MainCameraZPos);
|
||||
public static Vector3 UICameraPos = new Vector3(UICameraPosValue, UICameraPosValue, MainCameraZPos);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e2555d38a702f494ca13aaf957846be9
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,10 @@
|
||||
namespace BingoBrain.Core
|
||||
{
|
||||
public static class FsConst
|
||||
{
|
||||
public const bool BoolDefault = false;
|
||||
public const int IntDefault = 0;
|
||||
public const int IntTrue = 1;
|
||||
public const int IntFalse = 2;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6cb940cabfde0ad4c8a849ca893d686c
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,17 @@
|
||||
namespace BingoBrain.Core
|
||||
{
|
||||
public static class FsyConst
|
||||
{
|
||||
public const string Application_isHDMode = "Application_isHDMode";
|
||||
public const string Application_isHFRMode = "Application_isHFRMode";
|
||||
|
||||
public const string UIMgr_switchLanguage = "UIMgr_switchLanguage";
|
||||
|
||||
public const string AudioMgr_isOpenBGM = "AudioMgr_isOpenBGM";
|
||||
public const string AudioMgr_isOpenEffect = "AudioMgr_isOpenEffect";
|
||||
|
||||
public const string Common_isOpenVibration = "Common_isOpenVibration";
|
||||
|
||||
public const string App_isNewInstall = "App_isNewInstall";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bec1a938462feda4eba6b162b9a387e0
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,33 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace BingoBrain.Core
|
||||
{
|
||||
public static class OCConst
|
||||
{
|
||||
public const string vas = "[ Bingo ]";
|
||||
public static GameObject bfdn;
|
||||
public const string LauncherGoName = "[CA]";
|
||||
public const string EngineEventSystemGoName = "[FB]";
|
||||
public static GameObject EngineEventSystemGo;
|
||||
public const string ApplicationGoName = "[ AC ]";
|
||||
public static GameObject ApplicationGo;
|
||||
public const string EngineSingletonGoName = "[BD]";
|
||||
public static GameObject EngineSingletonGo;
|
||||
public const string MonoManagerGoName = "[DE]";
|
||||
public static GameObject MonoManagerGo;
|
||||
public const string DispatcherGoName = "[FS]";
|
||||
public static GameObject DispatcherGo;
|
||||
public const string LoaderGoName = "[ABN]";
|
||||
public static GameObject LoaderGo;
|
||||
public const string bfd = "[card_object]";
|
||||
public static GameObject WorldSpaceGo;
|
||||
public const string CameraGoName = "[WEVG]";
|
||||
public static GameObject CameraGo;
|
||||
public const string UIGoName = "[UI]";
|
||||
public static GameObject UIGo;
|
||||
public const string UICacheGoName = "[DBE]";
|
||||
public static GameObject UICacheGo;
|
||||
public const string DOTweenGoName = "[BSDS]";
|
||||
public const string SuperInvokeGoName = "[DSVS]";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ce9826ccd786f9e46a1fb245b9fe4a04
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,41 @@
|
||||
namespace BingoBrain.Core
|
||||
{
|
||||
public static class RyerConst
|
||||
{
|
||||
public const string Background = "Background";
|
||||
public const string Bottom = "Bottom";
|
||||
|
||||
public const string Normal = "Normal";
|
||||
public const string Top = "Top";
|
||||
|
||||
public const string FullScreen = "FullScreen";
|
||||
public const string Popup = "Popup";
|
||||
|
||||
public const string Highest = "Highest";
|
||||
public const string Animation = "Animation";
|
||||
public const string Tips = "Tips";
|
||||
|
||||
public const string Loading = "Loading";
|
||||
public const string System = "System";
|
||||
public const string NetworkError = "NetworkError";
|
||||
|
||||
public static readonly string[] AllUILayer = {
|
||||
Background,
|
||||
Bottom,
|
||||
|
||||
Normal,
|
||||
Top,
|
||||
|
||||
FullScreen,
|
||||
Popup,
|
||||
|
||||
Highest,
|
||||
Animation,
|
||||
Tips,
|
||||
|
||||
Loading,
|
||||
System,
|
||||
NetworkError
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a1cfef99d74aac943a6872498ec8fb4f
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,11 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace BingoBrain.Core
|
||||
{
|
||||
public static class WtorConst
|
||||
{
|
||||
public static Vector3 One = Vector3.one;
|
||||
public static Vector3 PPUOne = One * BingoConst.PixelsPerUnit;
|
||||
public static Vector3 Half = new(0.5f, 0.5f, 0.5f);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ae89e346ddf1a584382a1deb4b78193a
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,13 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace BingoBrain.Core
|
||||
{
|
||||
public static class vbadConst
|
||||
{
|
||||
public const float Time10ms = 0.01f;
|
||||
public const float Time100ms = 0.1f;
|
||||
|
||||
public static WaitForEndOfFrame WaitForEndOfFrame = new WaitForEndOfFrame();
|
||||
public static WaitForSeconds WaitFor100ms = new WaitForSeconds(Time100ms);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6248774d8e1b69d46a89ad1ea46081ac
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user