SSLR/SSLR/Assets/Scripts/StampInteractor.cs

19 lines
437 B
C#

using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class StampInteractor : MonoBehaviour
{
private void OnCollisionEnter(Collision collision)
{
if (StampSocketInteractor.isHeld && collision.gameObject.CompareTag("Paper"))
{
Debug.Log("paper is stamped");
}
/*else
{
Debug.LogError("something aint right");
}*/
}
}