mirror of
http://47.107.252.169:3000/Roguelite-Game-Developing-Team/Gen_Hack-and-Slash-Roguelite.git
synced 2025-11-20 09:57:13 +08:00
(client) feat:健康给予,路径优化,结算界面,商店界面 (#60)
Co-authored-by: m0_75251201 <m0_75251201@noreply.gitcode.com> Reviewed-on: http://47.107.252.169:3000/Roguelite-Game-Developing-Team/Gen_Hack-and-Slash-Roguelite/pulls/60
This commit is contained in:
@@ -1,33 +1,27 @@
|
||||
using System;
|
||||
using Data;
|
||||
using Managers;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Test
|
||||
{
|
||||
public class TempAnimationTest:MonoBehaviour
|
||||
public class TempAnimationTest : MonoBehaviour
|
||||
{
|
||||
|
||||
public string testMessage="测试消息";
|
||||
public string testMessage = "测试消息";
|
||||
public PromptDisplayCategory displayCategory;
|
||||
public Color messsageColor = Color.white;
|
||||
|
||||
private void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void Update()
|
||||
{
|
||||
if (Input.GetMouseButtonDown(0))
|
||||
{
|
||||
TemporaryAnimationManager.Instance.GenerateTemporaryAnimation("1,2,3,4,5,1,2,3,4,5",
|
||||
Camera.main.ScreenToWorldPoint(Input.mousePosition));
|
||||
}
|
||||
|
||||
if (Input.GetMouseButtonDown(1))
|
||||
{
|
||||
MessageManager.Instance.DisplayMessage(testMessage,displayCategory,messsageColor);
|
||||
}
|
||||
MessageManager.Instance.DisplayMessage(testMessage, displayCategory, messsageColor);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user