Fixed 3d model loading icon rotation speed on android
This commit is contained in:
@@ -144,6 +144,7 @@ GameObject:
|
||||
- component: {fileID: 224105959217507050}
|
||||
- component: {fileID: 222883275204112786}
|
||||
- component: {fileID: 114642005439168118}
|
||||
- component: {fileID: 111933338744172718}
|
||||
m_Layer: 5
|
||||
m_Name: IconLoading
|
||||
m_TagString: Untagged
|
||||
@@ -703,6 +704,21 @@ Animation:
|
||||
m_PlayAutomatically: 0
|
||||
m_AnimatePhysics: 0
|
||||
m_CullingType: 0
|
||||
--- !u!111 &111933338744172718
|
||||
Animation:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1298020638438872}
|
||||
m_Enabled: 1
|
||||
serializedVersion: 3
|
||||
m_Animation: {fileID: 7400000, guid: 9d97cbcd95f31c049b86a589f83768fa, type: 2}
|
||||
m_Animations:
|
||||
- {fileID: 7400000, guid: 9d97cbcd95f31c049b86a589f83768fa, type: 2}
|
||||
m_WrapMode: 0
|
||||
m_PlayAutomatically: 1
|
||||
m_AnimatePhysics: 0
|
||||
m_CullingType: 0
|
||||
--- !u!114 &114013157313467306
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
|
||||
3196
Assets/RothenburgAR/Animations/DetailsPanelLoadingIconRotation.anim
Normal file
3196
Assets/RothenburgAR/Animations/DetailsPanelLoadingIconRotation.anim
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9d97cbcd95f31c049b86a589f83768fa
|
||||
timeCreated: 1539006727
|
||||
licenseType: Free
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 7400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -62,10 +62,7 @@ namespace RothenburgAR.UI
|
||||
|
||||
while (!data.IsModelLoaded)
|
||||
{
|
||||
// display loading icon or sth idk
|
||||
IconLoading.transform.Rotate(new Vector3(0, 0, 1), -3f);
|
||||
|
||||
yield return new WaitForSecondsRealtime(.01f);
|
||||
yield return new WaitForSecondsRealtime(.1f);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user