Warcorrespondents/Assets/Scripts/抽象的东西/NormalInvestableItems.cs
Roman 47dcb6173b 任务:搭建第一关的框架
1.创建场景【第一关】
场景【第一关】中:
2.引入场景草图
3.编辑地面碰撞盒
4.加入角色
5.加入对话【谈论地图】

下班,UI上遇到了一些问题,折腾了很久。要做不完了?加油嗷。🙏
2021-08-17 01:39:29 +08:00

27 lines
598 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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