This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
MIT License | |
Copyright (c) 2016 Matt Favero | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ふわっと出てふわっと消える | |
DOTween.Sequence() | |
.Append(img.DOFade(1.0f, 0.2f).SetEase(Ease.Linear)) | |
.AppendInterval(1.0f) | |
.Append(img.DOFade(0, 0.8f).SetEase(Ease.InQuint)) | |
.OnComplete(() => { | |
img.gameObject.SetActive(false); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"window.openFilesInNewWindow": "on", | |
"editor.renderWhitespace": "none", | |
"editor.insertSpaces": true, | |
"workbench.activityBar.visible": true, | |
"workbench.editor.enablePreview": false, | |
"workbench.editor.enablePreviewFromQuickOpen": false, | |
"editor.codeLens": true, | |
"window.zoomLevel": 0, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using UnityEditor; | |
using UnityEditor.Callbacks; | |
using System.IO; | |
using UnityEditor.iOS.Xcode; | |
public class AddCameraUsageToInfoPlist { | |
[PostProcessBuildAttribute(99)] | |
public static void OnPostprocessBuild(BuildTarget target, string buildPath) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git Assets/GoogleVR/Legacy/Scripts/GvrHead.cs Assets/GoogleVR/Legacy/Scripts/GvrHead.cs | |
index 277b562..e666510 100644 | |
--- Assets/GoogleVR/Legacy/Scripts/GvrHead.cs | |
+++ Assets/GoogleVR/Legacy/Scripts/GvrHead.cs | |
@@ -122,6 +122,8 @@ public class GvrHead : MonoBehaviour { | |
transform.position = target.position + target.rotation * pos; | |
} | |
} | |
+ // GVR+Vuforia | |
+ Vuforia.VuforiaBehaviour.Instance.UpdateState(false, true); |