25 lines
591 B
C#
25 lines
591 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace InfallibleCode
|
|
{
|
|
public class MannequinHandMovementInteraction : MonoBehaviour, IInteractable
|
|
{
|
|
[SerializeField] private MannequinHandsMovementBase mannequinHandsMovementBase;
|
|
|
|
public bool isRightHand;
|
|
|
|
public void Interact()
|
|
{
|
|
if (isRightHand)
|
|
{
|
|
mannequinHandsMovementBase.RightHand();
|
|
}
|
|
else
|
|
{
|
|
mannequinHandsMovementBase.LeftHand();
|
|
}
|
|
}
|
|
}
|
|
} |