Compare commits
No commits in common. "33f584fbc06bd1b6262415e0e8a037837090dc88" and "cb555d7071f08fc18595b53da41a800997b407e8" have entirely different histories.
33f584fbc0
...
cb555d7071
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -15,7 +15,7 @@ public class ClampAmmetersInteractive : MonoBehaviour
|
|||
[ContextMenu("ÔËÐÐ")]
|
||||
void init()
|
||||
{
|
||||
g1 = g1.GetComponent<GameObject>();
|
||||
g1 = transform.GetChild(0).gameObject;
|
||||
//Destroy(g1.GetComponent<MeshFilter>());
|
||||
//Destroy(g1.GetComponent<MeshRenderer>());
|
||||
//Destroy(g1.GetComponent<BoxCollider>());
|
||||
|
|
|
|||
|
|
@ -1,28 +0,0 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using Unity.VisualScripting;
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
public class QianXingDianLiu : MonoBehaviour
|
||||
{
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
if (Input.GetMouseButtonDown(0))
|
||||
{
|
||||
Ray ray = Camera.main.ScreenPointToRay(Input.mousePosition);
|
||||
RaycastHit hit;
|
||||
if (Physics.Raycast(ray, out hit))
|
||||
{
|
||||
Debug.Log(hit.transform.tag);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 6fffd262737c42944849a45851d5c70f
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Loading…
Reference in New Issue