This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ParkingCarAgent : Agent | |
{ | |
[SerializeField] | |
private Transform TargetParkingSpot; | |
[SerializeField] | |
// = Reward every 'interval' units getting closer | |
private float DistanceRewardInterval = 3f; | |
// Thresholds defining when the task is complete |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Put this file inside Assets/Editor/ | |
// This script generates the appropriate .csproj and csc.rsp files in order to | |
// also include your Roslyn Analyzers in the Visual Studio Project | |
using System.IO; | |
using System.Text; | |
using UnityEditor; | |
using UnityEngine; |