public override void InputStringRequest(IInputActionCallbackTarget callbackTarget) { base.InputStringRequest(callbackTarget); if (callbackTarget is InputPlayerNameEvent) { if (onPlayerNameInputRequest != null) { onPlayerNameInputRequest.Invoke(); } PlayerManager.Instance.Player.LocatedSceneID = 1; } }
public virtual void InputStringRequest(IInputActionCallbackTarget callbackTarget) { this.callbackTarget = callbackTarget; }