浏览代码

fixed incorrect naming convention

/main
CGerrits SF 4 年前
当前提交
7a938c4b
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 2
      Assets/BossRoom/Prefabs/Player.prefab
  2. 4
      Assets/BossRoom/Scripts/Client/ClickFeedback.cs

2
Assets/BossRoom/Prefabs/Player.prefab


m_Script: {fileID: 11500000, guid: 2d0d8ed0724e1404d9d0afcd9b8b5ee2, type: 3}
m_Name:
m_EditorClassIdentifier:
FeedbackPrefab: {fileID: 9137928905311479176, guid: 86bfc5d7bdc268842947478bcdd38c08, type: 3}
m_FeedbackPrefab: {fileID: 9137928905311479176, guid: 86bfc5d7bdc268842947478bcdd38c08, type: 3}
--- !u!1001 &7872000410579295758
PrefabInstance:
m_ObjectHideFlags: 0

4
Assets/BossRoom/Scripts/Client/ClickFeedback.cs


public class ClickFeedback : MonoBehaviour
{
[SerializeField]
GameObject FeedbackPrefab;
GameObject m_FeedbackPrefab;
GameObject m_FeedbackObj;
ClientInputSender m_ClientSender;

{
m_ClientSender = GetComponent<ClientInputSender>();
m_ClientSender.OnClientClick += onClick;
m_FeedbackObj = Instantiate(FeedbackPrefab);
m_FeedbackObj = Instantiate(m_FeedbackPrefab);
m_FeedbackObj.SetActive(false);
}

正在加载...
取消
保存