feat: lock-on added, rotation reworked

This commit is contained in:
Chris
2025-07-08 19:26:09 -04:00
parent 94c5a72049
commit 236f9ea5df
6 changed files with 236 additions and 181 deletions

View File

@@ -42,9 +42,12 @@ public class PlayerControls : MonoBehaviour{
public void OnLockOn(){
GetComponent<LockOnManager>().ChangeLockOnTarget();
graph.SendEvent<string>("InputEvent", "LockOn", null);
}
public void OnCancelLockOn(){
GetComponent<LockOnManager>().RemoveLockOnTarget();
graph.SendEvent<string>("InputEvent", "CancelLockOn", null);
}
}