TIMING
This commit is contained in:
1 parent
ea8c059e9e
commit
7bbc213da2
99 files changed
+5879
-673
No files matched your search
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
using UnityEngine;
|
||||
|
||||
public class Sector: MonoBehaviour {
|
||||
public int sector;
|
||||
public Timing timing;
|
||||
|
||||
void OnTriggerEnter(Collider other) {
|
||||
Debug.Log("Hit sector " + sector);
|
||||
timing.NextSector(sector);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user