24 lines
508 B
C#
24 lines
508 B
C#
using System.Collections;
|
||
using System.Collections.Generic;
|
||
using UnityEngine;
|
||
//============================================================
|
||
//支持中文,文件使用UTF-8编码
|
||
//@author YangHua
|
||
//@create 20230531
|
||
//@company Adam
|
||
//
|
||
//@description:
|
||
//============================================================
|
||
namespace Focus
|
||
{
|
||
public class ModelClick : MonoBehaviour
|
||
{
|
||
|
||
private void OnMouseDown()
|
||
{
|
||
CameraMgr.Instance.GotoView(transform, 10f);
|
||
}
|
||
|
||
}
|
||
}
|