added: lock on switching
This commit is contained in:
@@ -39,4 +39,8 @@ public class PlayerControls : MonoBehaviour{
|
||||
public void OnJump(){
|
||||
graph.SendEvent<string>("InputEvent", "Jump", null);
|
||||
}
|
||||
|
||||
public void OnLockOn(){
|
||||
GetComponent<LockOnManager>().ChangeLockOnTarget();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user