Browse Source

Changes

master
MB 5 years ago
parent
commit
11fbc0a774
2 changed files with 13 additions and 1 deletions
  1. +10
    -0
      Assets/Scenes/ClientScene.unity
  2. +3
    -1
      Assets/Scipts/Map.cs

+ 10
- 0
Assets/Scenes/ClientScene.unity View File

@ -3196,6 +3196,16 @@ MonoBehaviour:
- Troll Mc Trollson
- Sir Trollington of House Troll
- Troll
- Trollsworth
- Trolly
- Rollt
- T R O L L
- THE ONE TROLL TO RULE THEM ALL
- RickTrolled
- Mrs Trollington
- Trollo
- TrollorT
- Three small trolls in a trenchcoat
--- !u!4 &1574517162
Transform:
m_ObjectHideFlags: 0

+ 3
- 1
Assets/Scipts/Map.cs View File

@ -7,13 +7,14 @@ public class Map : MonoBehaviour
GameObject LocalPlayer;
List<GameObject> Players = new List<GameObject>();
public GameObject[] Tiles;
public List<GameObject> Landmarks;
public int TileSize = 100;
public Vector2 MapDimensions;
public List<GameObject> VeggieLocations;
//Minimum and maximum values for the map
public float minX;
public float maxX;
@ -177,6 +178,7 @@ public class Map : MonoBehaviour
Instantiate(Landmarks[rand], LP.transform.position, Quaternion.identity, tile.transform.parent);
}
}
}
#endregion

Loading…
Cancel
Save