2018-01-01ãã1å¹´éã®è¨äºä¸è¦§
ã¯ããã« ã¹ã¯ãªããå¤æ´å¾ã« Unity ã¨ãã£ã¿ã«ãã©ã¼ã«ã¹ãæ»ããªãã¦ãã³ã³ãã¤ã«ãéå§ã§ãã ãUnityCompileInBackgroundãã GitHub ã«å ¬éãã¾ãã éçºç°å¢ Unity 2018.3.0f2 使ç¨ä¾ ä¾ãã° Visual Studio ã§ã³ã¼ããç·¨éãã¦ä¿åããã¨ã Unity ã¨ãâ¦
ã¯ããã« ãUnity-SafeAreaCanvasãã Unity ããã¸ã§ã¯ãã«å°å ¥ãããã¨ã§ uGUI 㧠iPhone X / XS ã®ã»ã¼ãã¨ãªã¢ã«å¯¾å¿ãããã£ã³ãã¹ã使ç¨ã§ããããã«ãªãã¾ã 使ç¨ä¾ 使ãæ¹ ã·ã¼ã³ã«ãSafeAreaCanvasããã¬ãããé ç½®ã㦠uGUI ã®ãªãã¸ã§ã¯ãã¯ãã®â¦
ã¯ããã« ãGameViewSize Changerãã Unity ããã¸ã§ã¯ãã«å°å ¥ãããã¨ã§ Game ãã¥ã¼ã§ iPhone X / XS ã®ã»ã¼ãã¨ãªã¢ã®é åã確èªã§ããããã«ãªãã¾ã 使ãæ¹ Unity ã¡ãã¥ã¼ã®ãWindow>GameViewSizeChangerããé¸æã㦠表示ãããã¦ã£ã³ãã¦ã§è§£å度â¦
æ¦è¦ using UnityEditor.Android; using UnityEngine; public class Example : IPostGenerateGradleAndroidProject { public int callbackOrder { get { return 0; } } public void OnPostGenerateGradleAndroidProject( string path ) { Debug.Log( path );â¦
æ¦è¦ using UnityEngine; public class Example : MonoBehaviour { [SerializeField] private GameObject m_gameObject; private void Awake() { Debug.Log( m_gameObject ); } } ãã®ãããªã³ã¼ããè¨è¿°ããå ´å Assets\Example.cs(5,38): warning CS0649: â¦
æ¦è¦ using UnityEngine; public class Example : MonoBehaviour { [SerializeField] private int m_value; private void Start() { Debug.Log( m_value ); } } ãã®ãããªã³ã¼ããè¨è¿°ããå ´å CS0649 ãã£ã¼ã«ã 'Example.m_value' ã¯å²ãå½ã¦ããã¾ãããâ¦
ã¯ããã« TextMesh Pro ã® FontAsset ã«å«ãããæåãå¤æ´ãããæã« FontAsset ãèªåæ´æ°ã§ãããTMP_FontAssetUpdaterãã GitHub ã«å ¬éãã¾ãã éçºç°å¢ Unity 2018.3.0f2 TextMesh Pro 1.3.0 使ç¨ä¾ TextMesh Pro ã® FontAsset ã«å«ãããæåã .txâ¦
ã¯ããã« ãUnity3D LogCat extensionãã Unity ããã¸ã§ã¯ãã«å°å ¥ãããã¨ã§ Unity ä¸ã§ Android ã® logcat ãå®è¡ã§ããããã«ãªãã¾ã Unity 2018.2.18f1 ã§åä½ãããã¨ã確èªæ¸ã¿ã§ã 使ãæ¹ Unity ã¡ãã¥ã¼ã®ãWindow>LogCat - Android Loggerããé¸â¦
æ¦è¦ ä¸è¨ã®ã¹ã¯ãªããã Unity ããã¸ã§ã¯ãã®ãEditorããã©ã«ãã«å°å ¥ã㦠Unity ã¡ãã¥ã¼ã®ãWindow>File Download Windowããé¸æã㦠表示ãããã¦ã£ã³ãã¦ã§ãã¦ã³ãã¼ãããããã¡ã¤ã«ã® URL 㨠ãã¦ã³ãã¼ãå ã®ãã©ã«ããæå®ãã¦ãDownloadããæ¼â¦
ã¯ããã« ãModifyEditorStyleãã Unity ããã¸ã§ã¯ãã«å°å ¥ãããã¨ã§ Unity ã¨ãã£ã¿ã®ãã©ã³ããå¤æ´ã§ããããã«ãªãã¾ã 使ç¨ä¾ é©ç¨å é©ç¨å¾ 使ãæ¹ Unity ã¡ãã¥ã¼ã®ãEdit>Preferences...ããã ãModify Editor Styleãã®é ç®ãéã㨠Unity ã¨ãâ¦
ã¯ããã« TextMesh Pro ã§ã¿ã¤ãã©ã¤ã¿ã¼ã®ããã« 1 æåãã¤è¡¨ç¤ºã§ãã ãTMP_Typewriterãã GitHub ã«å ¬éãã¾ããï¼ãªããããã¹ã対å¿ãDOTween å¿ é ï¼ éçºç°å¢ Unity 2018.3.0f2 TextMesh Pro 1.3.0 DOTween 1.2.055 使ãæ¹ ãã¡ããã .unitypackageâ¦
æ¦è¦ // ããããªã¼ã®æ®é ( 0.0 - 1.0 ) var level = SystemInfo.batteryLevel; // ããããªã¼ã®ç¶æ // // Charging : å é»ä¸ // Discharging : æ¾é»ä¸ // NotCharging : å é»ãã¦ããªã // Full : æºã¿ã³ var status = SystemInfo.batteryStatus; Windowsâ¦
æ¦è¦ ãUnity ã®ã¤ã³ã¹ãã¼ã«å ã\Editor\Data\PlaybackEngines\AndroidPlayer\Apk ä¸è¨ã®ãã©ã«ãã«ããã©ã«ãã® AndroidManifest.xml ãä¿åããã¦ãã¾ã
æ¦è¦ var textUI = GetComponent<TMP_Text>(); textUI.text = "<size=64>ABCDEFG</size>"; textUI.ForceMeshUpdate(); var parsedText = textUI.GetParsedText(); // ABCDEFG Debug.Log( parsedText ); GetParsedText ã使ç¨ãã ForceMeshUpdate ã使ç¨ããªãã¨æ£å¸¸ã«çµæãå¾ãããªãâ¦
ã½ã¼ã¹ã³ã¼ã public static class FileUtils { public static string ToReadableSize( double size, int scale = 0, int standard = 1024 ) { var unit = new[] { "B", "KB", "MB", "GB" }; if ( scale == unit.Length - 1 || size <= standard ) { return â¦
æ¦è¦ ã·ã§ã¼ããã¡ã¤ã«ã®ãã®é¨åãã¹ã¯ãªããããåç §ãããå ´å public Shader m_shader; ... var name = m_shader.name; name ããããã£ã«ã¢ã¯ã»ã¹ããã°åå¾ã§ãã
æ¦è¦ Error launching XXXX for capture. Something went wrong connecting to the debugger on the Android device. RenderDoc 㧠Android ã¢ããªãèµ·åãããã¨ããã¨ãããä¸è¨ã®ã¨ã©ã¼ã«ééãã Development Build ã§ã¯ãªãã¢ããªãèµ·åãããã¨ãã¦ãâ¦
ãUnityãFeature `XXXX' cannot be used because it is not part of the C# 4.0 language specification
11# æ¦è¦ Feature `XXXX' cannot be used because it is not part of the C# 4.0 language specification Unity ã§ä¸è¨ã®ãããªã³ã³ãã¤ã«ã¨ã©ã¼ãçºçããå ´å Player Settings ã®ãScripting Runtime Versionãã ãExperimental (.NET 4.6 Equivalent)ãâ¦
æ¦è¦ Material does not have a _MainTex texture property. It is required for SpriteRenderer. Shader Graph 㧠2D ç¨ã®ã·ã§ã¼ããä½æã§ãããã©ãã試ãã¦ã¿ããã¨æãã ä½æããã·ã§ã¼ãããããªã¢ã«ã«è¨å®ãããã®ãããªã¢ã«ãã¹ãã©ã¤ãã«å²ãå½ã¦â¦
æ¦è¦ The current render pipline is not compatible with this master node. Shader Graph ã®ãã¹ã¿ã¼ãã¼ãã§ä¸è¨ã®ã¨ã©ã¼ã表示ããã¦ããå ´å Unity ã¡ãã¥ã¼ã®ãWindow>Package Managerããã ãRender-Pipelines.Lightweightããã¤ã³ã¹ãã¼ã«ã㦠Projâ¦
æ¦è¦ Visual Studio ã¡ãã¥ã¼ã®ããã¼ã«>NuGet ããã±ã¼ã¸ ããã¼ã¸ã£ã¼> ããã±ã¼ã¸ ããã¼ã¸ã£ã¼è¨å®ããé¸æã㦠ããã¹ã¦ã® NuGet ãã£ãã·ã¥ãã¯ãªã¢ããæ¼ãã¾ã åèãµã¤ãæ§
æ¦è¦ ãCross Platform Native Pluginsãã Unity ããã¸ã§ã¯ãã«å°å ¥ã㦠Android ãã«ããã¦ã¿ãã¨ãããAndroid ã¢ããªãèµ·åããã java.lang.RuntimeException: Unable to get provider com.voxelbusters.nativeplugins.extensions.FileProviderExtendeâ¦
ã¢ã»ãã 使ãæ¹ ãã¿ã³1ã¤ã®ãã¤ã¢ãã° NPBinding.UI.ShowAlertDialogWithSingleButton ( _title : "ã¿ã¤ãã«", _message : "ã¡ãã»ã¼ã¸", _button : "OK", _onCompletion : buttonText => Debug.Log( buttonText ) ); ãã¿ã³2ã¤ã®ãã¤ã¢ãã° NPBinding.UI.â¦
ã¢ã»ãã 使ãæ¹ UUID ãåå¾ var uuid = NPBinding.Utility.GetUUID(); ã¹ãã¢ã®ãã¼ã¸ãéã var id = NPSettings.Application.StoreIdentifier; NPBinding.Utility.OpenStoreLink( id ); ã¬ãã¥ã¼ã®ä¾é ¼ã表示 if ( NPSettings.Utility.RateMyApp.IsEnablâ¦
ã¯ããã« Unity ä¸ã§ Android ã® logcat ãå®è¡ã§ããããã±ã¼ã¸ã Package Manager ããã¤ã³ã¹ãã¼ã«ã§ããããã«ãªã£ã¦ãã¾ãã 2018/12/25 ç¾å¨ã¯ãã¬ãã¥ã¼çã¨ãªã£ã¦ããã¾ã æ¤è¨¼ç°å¢ Unity 2019.1.0a12 ã¤ã³ã¹ãã¼ã«æ¹æ³ Unity ã¡ãã¥ã¼ã®ãWindow>Paâ¦
æ¦è¦ Visual Studio 㧠List ã® using ã追å ãããã¨ããå ´åã é常ã ã¨ãusing Boo.Langãã表示ããã¦ãã¾ãã¾ãã ä¸è¨ã®ã¹ã¯ãªããã Unity ããã¸ã§ã¯ãã®ãEditorããã©ã«ãã«è¿½å ã㦠Visual Studio ãéãã¦å度 Unity ãã Visual Studio ãèµ·åâ¦
ã¯ããã« ãSprite-Postprocessing-Toolãã Unity ããã¸ã§ã¯ãã«å°å ¥ãããã¨ã§ uGUI ã SpriteRenderer 㧠5 種é¡ã®ã·ã§ã¼ãã使ç¨ã§ããããã«ãªãã¾ã 使ç¨ä¾ é©ç¨å é©ç¨å¾ 使ãæ¹ uGUI ã®ãªãã¸ã§ã¯ããã¹ãã©ã¤ãã«ãSpritePostprocessingããã¢ã¿ãâ¦
ã¯ããã« ãEffectShaderãã Unity ããã¸ã§ã¯ãã«å°å ¥ãããã¨ã§ 12 種é¡ã®ã·ã§ã¼ãã使ç¨ã§ããããã«ãªãã¾ã ç´¹ä»è¨äºä¸è¦§ ãããæã®ãã¹ãã¨ãã§ã¯ãã使ç¨ãã ç»é¢ãæªã¾ãããã¹ãã¨ãã§ã¯ãã使ç¨ãã ã¢ã¦ãã©ã¤ã³ã®ãã¹ãã¨ãã§ã¯ãã使ç¨ãã â¦
ã¯ããã« ãUIAndShaderãã Unity ããã¸ã§ã¯ãã«å°å ¥ãããã¨ã§ uGUI 㧠3 種é¡ã®ã·ã§ã¼ãã使ç¨ã§ããããã«ãªãã¾ã ç´¹ä»è¨äºä¸è¦§ uGUI ã® Image ã§è§ä¸¸ã使ç¨ãã uGUI ã§å¥¥è¡ãã®ããåå½¢ã®ã¬ã¤ã¢ã¦ãã使ç¨ãã uGUI ã® Image ãå解ããããããªæ¼åºâ¦
ã¯ããã« ãUGUIEffectãã Unity ããã¸ã§ã¯ãã«å°å ¥ãããã¨ã§ uGUI 㧠2 種é¡ã®ã·ã§ã¼ãã使ç¨ã§ããããã«ãªãã¾ã ç´¹ä»è¨äºä¸è¦§ uGUI ã§ç»åãæ³¢æãããæ¼åºãå®è£ ãã uGUI ã§æ³¢ã«åå°ãããããªå½±ãå®è£ ãã