BITFALL/Assets/AmplifyAnimationPack/Scripts/Interactables/PushObjectClass.cs

20 lines
391 B
C#
Raw Normal View History

2024-04-15 14:57:50 +08:00
// Amplify Animation Pack - Third-Person Character Controller
// Copyright (c) Amplify Creations, Lda <info@amplify.pt>
using UnityEngine;
namespace AmplifyAnimationPack
{
public class PushObjectClass : MonoBehaviour, IInteractable
{
public void Interact( CharacterClass _player )
{
_player.uiManager.InteractionText_Disable();
_player.ChangeState<PushState>();
}
}
}