コード例 #1
0
    void Start()
    {
        if (Application.platform == RuntimePlatform.Android || Application.platform == RuntimePlatform.IPhonePlayer)
        {
            isMobile = true;
        }

        Camera.main.backgroundColor = mainBgColor;
        currentScene     = ExistingScenes.intro;
        screenDimensions = Camera.main.ScreenToWorldPoint(new Vector3(Screen.width, Screen.height, 0));

//        Debug.Log("is mobile is " + isMobile);
    }
コード例 #2
0
 public void RunEnding()
 {
     Debug.Log("ren ending now");
     currentScene = ExistingScenes.ending;
     Debug.Log(currentScene);
 }