예제 #1
0
    void Awake()
    {
        Camera.main.orthographicSize = UILogic.GetLinearInterpForScreen(dev16Over9Size, dev4Over3Size, true);
        float cameraOffsetForMapBottom = UILogic.GetLinearInterpForScreen(dev16Over9MapBottomOffset, dev4Over3MapBottomOffset, true);

        Camera.main.transform.localPosition    = new Vector3(0, cameraOffsetForMapBottom, 0);
        BattleInstance.instance.BaseStartpoint = cameraOffsetForMapBottom;
    }