https://www.bbc.com/news/technology-51133811?fbclid=IwAR1DTRf1GvUPH8AUh7MsLf8EUN1Uf1UCTFrkKKg8fIKWJUo_vUobJ9YvCEg

bilateral
KK[baɪˋlætərəl]DJ[baiˋlætərəl]
adj.有兩邊的;左右對稱的;雙方的;雙邊的
n.【律】對等契約

Yoda2016 發表在 痞客邦 留言(0) 人氣()

https://time.com/5765534/vladimir-putin-russia-constitution-medvedev/

overhaul
KK[͵ovɚˋhɔl]DJ[͵əuvəˋhɔ:l]
vt.拆開檢修,大修;全面檢查

Yoda2016 發表在 痞客邦 留言(0) 人氣()

https://arstechnica.com/gaming/2019/10/explaining-how-fighting-games-use-delay-based-and-rollback-netcode/

rollback
KK[ˋrol͵bæk]DJ[ˋrəulbæk]
n.(物價、利率等的)回降;削減;擊退

Yoda2016 發表在 痞客邦 留言(0) 人氣()

http://www.bbc.com/travel/story/20190813-omans-ancient-biblical-scent

biblical
KK[ˋbɪblɪk!]DJ[ˋbiblikl]
adj.《聖經》的;《聖經》中的;按照《聖經》的;恪守《聖經》的

Yoda2016 發表在 痞客邦 留言(0) 人氣()

A easy way to recognize mouse and finger strokes on screen. Recod every point of the storke and check the current point and last point's relative direction. The diection lies on 0~360 degree. Separate 0~360 into 8 even sectors, every sector covers 45 degree range ; Up : -22.5~22.5, Upright : 22.5~67.5, Right : 67.5~112.5, Rightdown : 112.5~157.5, Down : 157.5~202.5, Downleft : 202.5~247.5, Left : 247.5~292.5, Upleft : 292.5~337.5. Give the 8 direcions numbers 1~8respectively. Record the direction when direction changes. For example, when write a storke toward 30 degree then turn the direction to 120 degree. You will get a sequence number 24. Then according to the number to check which symbol is written. Usually handwriting doesn't turn the direction sharply so the sequence number may be many. For example, when write L,  the sequence number may be 53, 543. When write N in one stroke, the sequence number may be 141, 13431, 1341, 1431. You should build the database for any posibilities. This way can't identify the lenght of the stoke so if the two symbols have different length of stokes but turn the same directions, theny may not be identified. You should specially handle the case since this is just a simple symsem. Even though this way is enough to recognitize many symbols. The following demo shows >, <, 一, | and N handwriting recognition.

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

Yoda2016 發表在 痞客邦 留言(0) 人氣()

1. 以系統管理員身份執行SDK Manager.exe梗新到最新版。

2. Unity 裡面的 res 資料機複製到Plugins -> Android 裡面

3. Plugin 的元件執行前要先啟動       

using GooglePlayGames;
using GooglePlayGames.BasicApi;

Yoda2016 發表在 痞客邦 留言(0) 人氣()

經過上次利用進出parent物件的方式,實現了魔術方塊的app~~~

android apk 下載 : 
https://drive.google.com/open?id=0B-OJy5DPAJ1mWkhYNnlMaW9TUlU

Yoda2016 發表在 痞客邦 留言(0) 人氣()

雖然transform.Rotate() 可以旋轉物體,但一旦旋後x,y,z的軸就會跑掉,沒辦法持續作出垂直或平行於地平線的旋轉。

方法之一就是放一個外殼,每當外殼完成一次旋轉後座標歸零,但裡面的東西不歸零。

子物件在旋轉時transform.localRotation 和 transform.rotation(世界作標) 是分開計算的,可以用這個方法記錄被外殼帶的作標,外殼歸零時不會

但是這個作法在歸零的一瞬間子物件會同時接收到外殼歸零的座標和自已的world rotation的座標,因此會先回到歸零的角度再回到自已原本的角度,會有一瞬間抖一下的感覺

在視覺上完美的作法為 : 要旋轉時才將外殼當成母物件,語法 :  transform.SetParent(shell.transform);

Yoda2016 發表在 痞客邦 留言(0) 人氣()

用UNET的功能作了一個E-Card的prototype~~~~雖然規則簡但因為考慮卡片要動態移動以及連線功能還是花了些時間~~

遊戲下載 : 

PC(Windows):

https://drive.google.com/open?id=0B-OJy5DPAJ1meG1Xc3YxVmpFUFk

手機(Android):

Yoda2016 發表在 痞客邦 留言(0) 人氣()

可在Edit => Project Setting => Time 中更改

再用Debug.Log(Time.deltaTime.ToString()) 顯示

Yoda2016 發表在 痞客邦 留言(0) 人氣()


到有字型的網址下載字型比如 : 

http://www.dafont.com/

然後丟到Asset的資料夾在Text那邊就可以選了 : 

Yoda2016 發表在 痞客邦 留言(0) 人氣()

主要是記錄UGUI的用法,目前不能輸入負數,

字串轉浮點數 : 數字 = float.Parse(字串);

記算機 : 

代碼 : 

using UnityEngine;

Yoda2016 發表在 痞客邦 留言(0) 人氣()

1 2
Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。