20 lines
391 B
C#
20 lines
391 B
C#
|
// 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>();
|
|||
|
}
|
|||
|
|
|||
|
}
|
|||
|
}
|