https://docs.unrealengine.com/latest/INT/Programming/Development/CodingStandard/#namingconventions
It's looks fun
Jumat, 29 Desember 2017
Connect Android ADB via WiFi and Build Unity
It's really convenient to build an APK and automagically play it in phone, but the tangled cables is not so great
https://developer.android.com/studio/command-line/adb.html
open terminal/command line
type:
adb tcpip 5555
type:
adb connect device_ip_address
check with:
adb devices
Open Unity and build as usual without have to plug your device
https://developer.android.com/studio/command-line/adb.html
open terminal/command line
type:
adb tcpip 5555
type:
adb connect device_ip_address
check with:
adb devices
Open Unity and build as usual without have to plug your device
Rabu, 27 Desember 2017
Open Two Project At The Same Time in Unity
Ever thinking about testing multiplayer stuffs using Unity without have to compile standalone to test them? This tips from this support website works flawlessly for me
https://support.unity3d.com/hc/en-us/articles/115003118426-Running-multiple-instances-of-Unity-referencing-the-same-project
I even managed to open 3 instance of the same project
for mac, please use this for hardlinking
https://github.com/selkhateeb/hardlink
when editing scene in MacOS, make sure the other scene saved by changing small thing and hit cmd+s. At the other opened Unity, press ctrl+r. I don't know, somehow sometimes the scene didn't updated
https://support.unity3d.com/hc/en-us/articles/115003118426-Running-multiple-instances-of-Unity-referencing-the-same-project
I even managed to open 3 instance of the same project
for mac, please use this for hardlinking
https://github.com/selkhateeb/hardlink
when editing scene in MacOS, make sure the other scene saved by changing small thing and hit cmd+s. At the other opened Unity, press ctrl+r. I don't know, somehow sometimes the scene didn't updated
Using Wireshark to Analyze Data From Photon
Use display filter
udp && ip.src==119.81.90.46
as 119.81.90.46 is photon's ip address (luckily stumbled on that address upon investigating)
or maybe photon's ip address changed. just read this https://doc.photonengine.com/en-us/realtime/current/reference/analyzing-disconnects
but I found the filter isn't working, so instead I'm using this:
(udp || tcp) && (udp.port==5055 || tcp.port==5055 || udp.port==5056 || tcp.port ==5056|| tcp.port== 5057 || tcp.port== 5058 || tcp.port== 843 || tcp.port== 943 || tcp.port== 4530 || tcp.port== 4531 || tcp.port== 4532 || tcp.port== 4533 || tcp.port== 9090 || tcp.port== 9091 || tcp.port== 9092 || tcp.port== 9093 || tcp.port== 19090 || tcp.port== 19091 || tcp.port== 19093 || udp.port== 5057 || udp.port== 5058 || udp.port== 843 || udp.port== 943 || udp.port== 4530 || udp.port== 4531 || udp.port== 4532 || udp.port== 4533 || udp.port== 9090 || udp.port== 9091 || udp.port== 9092 || udp.port== 9093 || udp.port== 19090 || udp.port== 19091 || udp.port== 19093)
udp && ip.src==119.81.90.46
as 119.81.90.46 is photon's ip address (luckily stumbled on that address upon investigating)
or maybe photon's ip address changed. just read this https://doc.photonengine.com/en-us/realtime/current/reference/analyzing-disconnects
but I found the filter isn't working, so instead I'm using this:
(udp || tcp) && (udp.port==5055 || tcp.port==5055 || udp.port==5056 || tcp.port ==5056|| tcp.port== 5057 || tcp.port== 5058 || tcp.port== 843 || tcp.port== 943 || tcp.port== 4530 || tcp.port== 4531 || tcp.port== 4532 || tcp.port== 4533 || tcp.port== 9090 || tcp.port== 9091 || tcp.port== 9092 || tcp.port== 9093 || tcp.port== 19090 || tcp.port== 19091 || tcp.port== 19093 || udp.port== 5057 || udp.port== 5058 || udp.port== 843 || udp.port== 943 || udp.port== 4530 || udp.port== 4531 || udp.port== 4532 || udp.port== 4533 || udp.port== 9090 || udp.port== 9091 || udp.port== 9092 || udp.port== 9093 || udp.port== 19090 || udp.port== 19091 || udp.port== 19093)
Langganan:
Komentar (Atom)
Unity Toolbar Extender
https://github.com/marijnz/unity-toolbar-extender/blob/master/Assets/ToolbarExtender/Scripts/Editor/ExtendedToolbarWindow.cs
-
It's really convenient to build an APK and automagically play it in phone, but the tangled cables is not so great https://developer.an...
-
Ever thinking about testing multiplayer stuffs using Unity without have to compile standalone to test them? This tips from this support we...
-
I made a script which disabled game object contains name "<INACTIVE>" and enable game object contains name "<ACTIVE...
