Camera Tilt和Camera Offset效果,以及退出,重载功能
This commit is contained in:
@@ -13,16 +13,7 @@ namespace Ichni.StartMenu
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
if (instance == null)
|
||||
{
|
||||
instance = this;
|
||||
DontDestroyOnLoad(gameObject);
|
||||
}
|
||||
else if (instance != this)
|
||||
{
|
||||
Destroy(gameObject);
|
||||
return;
|
||||
}
|
||||
instance = this;
|
||||
|
||||
Application.targetFrameRate = 90;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user