Exemple #1
0
 private bool GetGridPosition(Vector2Int vector)
 {
     // Debug.Log($"{x}, {y}");
     return(wallTilemap.GetTile(wallTilemap.WorldToCell(VectorUtil.ToVector3Int(vector))) == null);
 }
Exemple #2
0
 private void AddUniqueObjects()
 {
     playerTransform.position = VectorUtil.ToVector3(level.pacManPosition);
     SessionManagerSingle.Instance.playerController.AssignStartPosition();
     ghostDoorTransform.position = VectorUtil.ToVector3(level.ghostDoorPosition);
 }