石头手感调整
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
using Cinemachine;
|
||||
using AibisDream.Kit;
|
||||
@@ -207,6 +206,8 @@ namespace AibisDream
|
||||
|
||||
public void OnShapeDragStart(IBlockShape blockShape)
|
||||
{
|
||||
grid.GridVisualizer.SetGridVisible(true);
|
||||
|
||||
// 显示Info
|
||||
if (blockShape is BlockShape shape && shape.BlockShapeData.blockShapeInfo.shapeName != null)
|
||||
{
|
||||
@@ -225,6 +226,8 @@ namespace AibisDream
|
||||
|
||||
public void OnShapeDragEnd(IBlockShape blockShape, bool isPlaced)
|
||||
{
|
||||
grid.GridVisualizer.SetGridVisible(false);
|
||||
|
||||
// 如果放置成功,则预先检查一次
|
||||
if (isPlaced)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user