34 lines
608 B
C#
34 lines
608 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class ToolsMove : MonoBehaviour
|
|
{
|
|
ToolModelClick toolModelClick;
|
|
// Start is called before the first frame update
|
|
void Start()
|
|
{
|
|
//Debug.Log("dada");
|
|
//toolModelClick.enter.AddListener(EnterTTT);
|
|
}
|
|
|
|
public void EnterTTT()
|
|
{
|
|
Debug.Log("OnMouseEnter");
|
|
}
|
|
|
|
private void OnMouseEnter()
|
|
{
|
|
|
|
}
|
|
|
|
private void OnMouseDown()
|
|
{
|
|
Debug.Log(transform.name);
|
|
}
|
|
private void OnMouseDrag()
|
|
{
|
|
Debug.Log(transform.name);
|
|
}
|
|
}
|