private void AdjustCameraPosition(GridMap map) { Camera.main.transform.position = PositionCam(map.TotalH, map.TotalW); }
// Start is called before the first frame update void Start() { map = ScriptableObject.CreateInstance <GridMap>(); currentMap = 0; StartNextLevelOrWin(); }