石头功能修改
This commit is contained in:
@@ -1,21 +1,15 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
using UnityEngine;
|
||||
|
||||
namespace AibisDream.Framework
|
||||
{
|
||||
public class MoveableSystem : MonoBehaviour
|
||||
public class MoveableSystem : IMonoKit
|
||||
{
|
||||
private bool _isDragging;
|
||||
private IMoveable _dragObj;
|
||||
private Vector3 _offset;
|
||||
private Camera _camera;
|
||||
private readonly Camera _camera = Camera.main;
|
||||
|
||||
private void Start()
|
||||
{
|
||||
_camera = Camera.main;
|
||||
}
|
||||
|
||||
private void Update()
|
||||
public void OnUpdate()
|
||||
{
|
||||
// 鼠标按下
|
||||
if (Input.GetMouseButtonDown(0))
|
||||
|
||||
Reference in New Issue
Block a user