// Update is called once per frame void Update() { if (Input.GetKeyDown(KeyCode.E)) { OnStandCommand?.Invoke(); } }
// Start is called before the first frame update void Start() { Initialize(sendFrameReadyEvents: false); videoPlayer.playOnAwake = false; videoPlayer.isLooping = false; standUpClip.SetAnimationClip(videoPlayer); ChangeState(new VStandingState(this)); OnStandCommand?.Invoke(); }