This file contains hidden or 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 System.Collections; | |
| public class ReApplyShaders : MonoBehaviour | |
| { | |
| public Renderer[] renderers; | |
| public Material[] materials; | |
| public string[] shaders; | |
| void Awake() |
This file contains hidden or 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
| If you follow instruction at https://github.com/RAKWireless/RUI_Platform_Firmware_GCC. | |
| And work, that will be fine. For me, that not work well. I feel like i live in space. Yeah! | |
| This because i have no knowlage about nrf52, nordic, rak, microcontroller, c language ... well, i am game developer not expert microcontroller. (I suck at this) | |
| Anyway, let's start. | |
| Install arm-none-eabi | |
| DO NOT USE LASTEST VERSION -> i use version 7.2.1 (GNU Tools for Arm Embedded Processors 7-2017-q4-major) | |
| You can use lower version |
This file contains hidden or 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
| const SerialPort = require('serialport') | |
| const port = new SerialPort('/dev/tty.usbmodem0006826707061', { | |
| baudRate: 9600//115200 | |
| }) | |
| const Delimiter = require('@serialport/parser-delimiter') | |
| const parser = port.pipe(new Delimiter({ delimiter: '\n' })) | |
| // console.log(Buffer.from([0xff])) | |
| const delay = require('delay'); |
This file contains hidden or 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
| /* mbed Microcontroller Library | |
| * Copyright (c) 2018 ARM Limited | |
| * SPDX-License-Identifier: Apache-2.0 | |
| */ | |
| #include "mbed.h" | |
| #include "stats_report.h" | |
| DigitalOut led1(LED1); |
This file contains hidden or 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
| https://www.gamasutra.com/blogs/ShobhitSamaria/20170710/301330/Troubleshooting_Unity_build_for_Android_platform.php | |
| https://stackoverflow.com/questions/42582850/too-many-field-references-70613-max-is-65536 | |
| https://stackoverflow.com/questions/15471772/how-to-shrink-code-65k-method-limit-in-dex | |
| http://blog.kongregate.com/dealing-with-the-64k-method-limit-in-your-unity3d-game/ | |
| https://medium.com/@rotxed/dex-skys-the-limit-no-65k-methods-is-28e6cb40cf71 | |
| https://stackoverflow.com/questions/35627985/errorbuild-in-class-shrinker-and-multidex-are-not-supported-yet | |
| https://stackoverflow.com/questions/25981156/tools-replace-not-replacing-in-android-manifest | |
| http://shobhitsamaria.com/troubleshooting-unity-build-android-platform/ |
This file contains hidden or 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
| Range (Unicode) = 3000-303f,3040-309f,30a0-30ff,ff00-ffef,4e00-9faf | |
| Japanese-style punctuation ( 3000 - 303f) | |
| Hiragana ( 3040 - 309f) | |
| Katakana ( 30a0 - 30ff) | |
| Full-width roman characters and half-width katakana ( ff00 - ffef) | |
| CJK unifed ideographs - Common and uncommon kanji ( 4e00 - 9faf) | |
| Full - http://www.unicode.org/charts/ |
This file contains hidden or 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
| 32-128,12288-12543,12448-12543,65280-65519,19968,19971,19977,19978,19979,20013,20061,20108,20116,20154,20241,20808,20837,20843,20845,20870,20986,21147,21313,21315,21475,21491,21517,22235,22303,22805,22823,22825,22899,23376,23383,23398,23567,23665,24029,24038,24180,25163,25991,26085,26089,26376,26408,26412,26449,26519,26657,26862,27491,27671,27700,28779,29356,29577,29579,29983,30000,30007,30010,30333,30334,30446,30707,31354,31435,31481,31992,32819,33457,33609,34411,35211,35997,36196,36275,36554,37329,38632,38738,38899,19975,20024,20132,20140,20170,20250,20307,20309,20316,20803,20804,20809,20844,20869,20908,20992,20998,20999,21069,21271,21320,21322,21335,21407,21451,21476,21488,21512,21516,22238,22259,22269,22290,22320,22580,22768,22770,22799,22806,22810,22812,22826,22969,22985,23460,23478,23546,23569,23721,24037,24066,24112,24195,24215,24339,24341,24351,24369,24375,24403,24418,24460,24515,24605,25144,25165,25945,25968,26032,26041,26126,26143,26149,26172,26178,26228,26332,26360,26397,26469,26481,27005,27468,274 |
This file contains hidden or 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
| For Unity 2019 plase use this | |
| ==> https://github.com/rutcreate/TextMesh-Pro-Thai | |
| ==> 90% of font need to edit for some character | |
| ==> or add | |
| ==> "com.unity.textmeshpro": "https://github.com/rutcreate/TextMesh-Pro-Thai.git" | |
| ==> To manifest.json in your project | |
| ==> Unity5 or lower | |
| Manual Patch |
This file contains hidden or 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
| เมื่อเจอปัญหา cfprefsd กิน cpu มาก ตอนกด run ใน unity | |
| fixed unity so slow when click play button (cfprefsd use cpu more than 90%) | |
| https://forum.unity3d.com/threads/unity-editor-play-preview-freezes-mavericks-unity-4-3-4.227348/ | |
| คอมเม้น 9 | |
| comment 9 | |
| cd ~/Library/Preferences/ | |
| open . |
This file contains hidden or 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
| void OnDrawGizmos() { | |
| GameObject t = GameObject.Find("Preview" + gameObject.GetInstanceID()); | |
| if (t == null) { | |
| GameObject go = new GameObject(); | |
| go.name = "Preview" + gameObject.GetInstanceID(); | |
| go.transform.position = transform.position; | |
| go.transform.localPosition = transform.position; | |
| go.hideFlags = HideFlags.DontSaveInBuild | HideFlags.DontSaveInEditor | HideFlags.HideInHierarchy; |