fix:完成所有修改
parent
30eeb5a2b1
commit
cae33a18a9
Binary file not shown.
Binary file not shown.
|
@ -88,7 +88,7 @@ ModelImporter:
|
|||
armStretch: 0.05
|
||||
legStretch: 0.05
|
||||
feetSpacing: 0
|
||||
globalScale: 1
|
||||
globalScale: 0.01
|
||||
rootMotionBoneName:
|
||||
hasTranslationDoF: 0
|
||||
hasExtraRoot: 0
|
||||
|
|
|
@ -16,7 +16,7 @@ MonoBehaviour:
|
|||
deleteDllAfterBuilds: 1
|
||||
AutomateForAllAOTPlatforms: 1
|
||||
automateForPlatforms: 0900000014000000
|
||||
lastScan: 638325477075088507
|
||||
lastScan: 638326311894820465
|
||||
supportSerializedTypes:
|
||||
- TypeName: UnityEngine.Animator, UnityEngine.AnimationModule
|
||||
IsCustom: 0
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,39 @@
|
|||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!84 &8400000
|
||||
RenderTexture:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: New Render Texture
|
||||
m_ImageContentsHash:
|
||||
serializedVersion: 2
|
||||
Hash: 00000000000000000000000000000000
|
||||
m_ForcedFallbackFormat: 4
|
||||
m_DownscaleFallback: 0
|
||||
m_IsAlphaChannelOptional: 0
|
||||
serializedVersion: 5
|
||||
m_Width: 1920
|
||||
m_Height: 1080
|
||||
m_AntiAliasing: 1
|
||||
m_MipCount: -1
|
||||
m_DepthStencilFormat: 94
|
||||
m_ColorFormat: 8
|
||||
m_MipMap: 0
|
||||
m_GenerateMips: 1
|
||||
m_SRGB: 0
|
||||
m_UseDynamicScale: 0
|
||||
m_BindMS: 0
|
||||
m_EnableCompatibleFormat: 1
|
||||
m_TextureSettings:
|
||||
serializedVersion: 2
|
||||
m_FilterMode: 1
|
||||
m_Aniso: 0
|
||||
m_MipBias: 0
|
||||
m_WrapU: 1
|
||||
m_WrapV: 1
|
||||
m_WrapW: 1
|
||||
m_Dimension: 2
|
||||
m_VolumeDepth: 1
|
||||
m_ShadowSamplingMode: 2
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 515f6461eb34e2047b93f7fe802b82ab
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 8400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -0,0 +1,17 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class NewBehaviourScript : MonoBehaviour
|
||||
{
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
transform.eulerAngles += new Vector3(0, 1, 0);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: f763630c4ae571e49abe6c9637f03dbd
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 43bb6ee869616eb42bb14b94efcbf757
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -0,0 +1,42 @@
|
|||
using System;
|
||||
using UnityEngine;
|
||||
using UnityEngine.EventSystems;
|
||||
|
||||
namespace UnityTest.ZXL
|
||||
{
|
||||
public class Rotate : MonoBehaviour, IPointerDownHandler, IPointerUpHandler
|
||||
{
|
||||
public Transform go;
|
||||
|
||||
public bool isLeftRotate;
|
||||
private bool isRotate;
|
||||
private Vector3 _vector3 = new Vector3(0, 1, 0);
|
||||
|
||||
public void OnPointerDown(PointerEventData eventData)
|
||||
{
|
||||
isRotate = true;
|
||||
}
|
||||
|
||||
public void OnPointerUp(PointerEventData eventData)
|
||||
{
|
||||
isRotate = false;
|
||||
}
|
||||
|
||||
private void Update()
|
||||
{
|
||||
if (!isRotate)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (isLeftRotate)
|
||||
{
|
||||
go.eulerAngles += _vector3;
|
||||
}
|
||||
else
|
||||
{
|
||||
go.eulerAngles -= _vector3;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 1f4170773a214c439a5f1da290438a84
|
||||
timeCreated: 1696952871
|
|
@ -17,6 +17,9 @@ EditorBuildSettings:
|
|||
- enabled: 1
|
||||
path: Assets/UnityTest/Common/Scenes/02_Main_Example_Copy.unity
|
||||
guid: 9b5c446b08e0a53408159ed3b43fbf0c
|
||||
- enabled: 0
|
||||
path: Assets/UnityTest/ZXL/Scene/test.unity
|
||||
guid: 43bb6ee869616eb42bb14b94efcbf757
|
||||
m_configObjects:
|
||||
com.unity.addressableassets: {fileID: 11400000, guid: 4099a0d04bb604740b67eb403a8459a3,
|
||||
type: 2}
|
||||
|
|
|
@ -149,7 +149,6 @@ PlayerSettings:
|
|||
preloadedAssets:
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
- {fileID: 11400000, guid: 377fab9146e60364fa298d388667a056, type: 2}
|
||||
metroInputSource: 0
|
||||
wsaTransparentSwapchain: 0
|
||||
m_HolographicPauseOnTrackingLoss: 1
|
||||
|
|
Loading…
Reference in New Issue