private void OnDisable() { playerActions.Destroy(); }
void OnDisable() { // This properly disposes of the action set and unsubscribes it from // update events so that it doesn't do additional processing unnecessarily. playerActions.Destroy(); }
private void OnDisable() { playerActions.Destroy(); }
void OnDisable() { // This properly disposes of the action set and unsubscribes it from // update events so that it doesn't do additional processing unnecessarily. playerActions.Destroy(); }