Пример гоночки
This commit is contained in:
1 parent
0f46c63b5d
commit
1f8e14d078
77 files changed
+10246
-90
No files matched your search
@@ -0,0 +1,14 @@
|
||||
using Code.Example.Race.Racer.AI;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Code.Example.Race.Track
|
||||
{
|
||||
public class CheckPoint : MonoBehaviour
|
||||
{
|
||||
private void OnTriggerEnter(Collider other)
|
||||
{
|
||||
var racer = other.GetComponent<AIDebugRacer>();
|
||||
racer.NextWaypoint();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e4e29d6d9b0342db9cd6bce229fa358d
|
||||
timeCreated: 1769522101
|
||||
Reference in new issue
Block a user