修改图片

This commit is contained in:
lujiajian 2025-12-09 17:49:10 +08:00
parent 0cac80209d
commit 5f22dabbab
11 changed files with 11 additions and 4 deletions

View File

@ -67,7 +67,7 @@ public class Control3DModelBt : MonoBehaviour
highlightEffect.outlineWidth = .1f; highlightEffect.outlineWidth = .1f;
} }
startRot=transform.localRotation; startRot = transform.localRotation;
} }
void Start() void Start()
@ -118,7 +118,14 @@ public class Control3DModelBt : MonoBehaviour
} }
else else
{ {
ModelBt.DOLocalRotateQuaternion(Quaternion.Euler(35, 0, 0), .5f); if (!ModelBt.transform.parent.name.Contains("181"))
{
ModelBt.DOLocalRotateQuaternion(Quaternion.Euler(35, 0, 0), .5f);
}
else
{
ModelBt.DOLocalRotateQuaternion(Quaternion.Euler(0, 0, 0), .5f);
}
transform.GetComponent<Collider>().enabled = false; transform.GetComponent<Collider>().enabled = false;
if (ModelLight != null) if (ModelLight != null)
{ {
@ -153,10 +160,10 @@ public class Control3DModelBt : MonoBehaviour
} }
break; break;
case BtType.ÆÕͨ°´Å¥: case BtType.ÆÕͨ°´Å¥:
float yPos= ModelBt.localPosition.y; float yPos = ModelBt.localPosition.y;
if (isInit == false) if (isInit == false)
{ {
// ModelBt.DOLocalMoveY(yPos+0.004f, .1f); // ModelBt.DOLocalMoveY(yPos+0.004f, .1f);
if (ModelLight != null) if (ModelLight != null)
{ {
ModelLight.material.EnableKeyword("_EMISSION"); ModelLight.material.EnableKeyword("_EMISSION");

Binary file not shown.

Before

Width:  |  Height:  |  Size: 300 KiB

After

Width:  |  Height:  |  Size: 169 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 217 KiB

After

Width:  |  Height:  |  Size: 220 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 217 KiB

After

Width:  |  Height:  |  Size: 220 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 256 KiB

After

Width:  |  Height:  |  Size: 259 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 207 KiB

After

Width:  |  Height:  |  Size: 210 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 217 KiB

After

Width:  |  Height:  |  Size: 219 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 225 KiB

After

Width:  |  Height:  |  Size: 228 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 211 KiB

After

Width:  |  Height:  |  Size: 212 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 275 KiB

After

Width:  |  Height:  |  Size: 278 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 203 KiB

After

Width:  |  Height:  |  Size: 112 KiB