making changes to lighting. This is a backup just in case
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class Waypoint : MonoBehaviour
|
||||
{
|
||||
public float DesiredRotation = 0;
|
||||
public Waypoint Next;
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
void OnDrawGizmos()
|
||||
{
|
||||
if (Next == null) return;
|
||||
Gizmos.color = Color.green;
|
||||
Gizmos.DrawLine(transform.position, Next.transform.position);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user