feat: lock-on added, rotation reworked
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user