Files
Ultimate-Fishing-Simulator-…/Assets/Scripts/Assembly-CSharp/InteractionObject.cs
2026-03-04 09:37:33 +08:00

24 lines
467 B
C#

using Obvious.Soap;
using UnityEngine;
public class InteractionObject : MonoBehaviour
{
public ScriptableEventNoParam OnTakeBoatEventNoParam;
public ScriptableEventGameObject OnEventGameObject;
public GameObject paramGameObject;
public void Interact()
{
if ((Object)(object)OnTakeBoatEventNoParam != null)
{
OnTakeBoatEventNoParam.Raise();
}
if ((Object)(object)OnEventGameObject != null)
{
OnEventGameObject.Raise(paramGameObject);
}
}
}