2021-07-05 22:45:35 +08:00
|
|
|
|
using System.Collections;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
using Fungus;
|
|
|
|
|
|
|
|
|
|
public class NormalInvestableItems : Interactive
|
|
|
|
|
{
|
|
|
|
|
// Start is called before the first frame update
|
2021-08-07 01:31:29 +08:00
|
|
|
|
//普通可调查对象的类,用在按F可以触发调查对话的对象上💬
|
2021-07-08 00:10:32 +08:00
|
|
|
|
public string itemName;
|
2021-07-05 22:45:35 +08:00
|
|
|
|
void Start()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Update is called once per frame
|
|
|
|
|
void Update()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void OnCall()
|
|
|
|
|
{
|
|
|
|
|
Debug.Log("我触发了"+ gameObject.name +"的对话");
|
2021-07-08 00:10:32 +08:00
|
|
|
|
Flowchart.BroadcastFungusMessage("谈论" + itemName);
|
2021-07-05 22:45:35 +08:00
|
|
|
|
}
|
|
|
|
|
}
|