
IP屬地:四川
激光組件由這3個物體構成 就像這樣,白色是gun、spawncast是射線、hit是碰撞判定點 在spawncast中加入linerendere...
這個代碼的原理是,碰到TAG名字叫XXX的物體后,就觸發DoSTH里的代碼 物體需要設置collider為碰撞模式,進入物體就發生碰撞 void...
private Animator animator; - start animator = GetComponent (); - update...
關于教程在這里:https://www.bilibili.com/video/av18112437/ 但是我在實際制作的時候發現了個問題,如圖,...
簡書這編譯器粘貼不出來,完全不懂,參考見圖
var save_Y: Texture; GetComponent.<Renderer>().material.mainTexture = sa...
using UnityEngine.UI; public GameObject 組件名字 組件名字.GetComponent<RectTrans...
這里幾個關鍵點是 screen match mode 選擇 MWOH 然后match調整到1
現在手機各種分辨率,所以在開發游戲的時候多數要判斷下屏幕分辨率 if (Screen.width / Screen.height == 16/9)