26 lines
464 B
C#
26 lines
464 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using Unity.VisualScripting;
|
|
using UnityEngine;
|
|
|
|
/// <summary>
|
|
/// ÒÑÆúÓÃ
|
|
/// </summary>
|
|
public class ClampAmmeters : MonoBehaviour
|
|
{
|
|
//private Vector3 offset;
|
|
//public void MouseDown()
|
|
//{
|
|
// offset = GetMouseWorldPos();
|
|
//}
|
|
public LayerMask clickableLayer;
|
|
public bool isok = false;
|
|
public void Start()
|
|
{
|
|
clickableLayer.value = 6;
|
|
}
|
|
|
|
|
|
}
|