184 reputation
6
bio website
location Vietnam
age
visits member for 3 years, 2 months
seen Mar 16 at 11:38

Mar
2
comment Unity: DontDestroyOnLoad
so. we really don't need second else ? this code I wrap from Unity's tutorial. It means it is written by Unity Programmer. So hardly to think no effect for second else if.
Mar
1
comment Unity: DontDestroyOnLoad
oh. so why should we use DontDestroyOnLoad and Destroy in this case ? Because as you see, GameControl object can only be destroyed if i explicitly destroy it. thanks :)
Mar
1
comment Unity: DontDestroyOnLoad
Ah. that's object in unity scene that we often attach script into. So, why DontDestroyOnLoad(gameObject) helps saving gameObject (and GameControl object attach to its) when changing scene but OnDestroy(gameObject), GameControl object doesn't destroy too ? (I guess GameControl object doesn't destroy, because if it destroyed, singleton pattern is failed in this case)
Mar
1
comment Unity: DontDestroyOnLoad
Can you tell me. gameObject stands for which object ? I though it stands for GameControl itself. but as your explanation, it's not. right ?
Feb
25
comment Unity 4.6: why Image object doesn't stretch all sides of canvas
too simple :D thanks :) I don't know why does Unity make us to do this ? If I choose without press Shift and Alt, are there any effects for this behavior ?
Feb
25
comment Unity: Make camera center of screen
ah. i understand. thanks :) so. because you know tutorial that I'm viewing :D
Feb
25
comment Unity: Make camera center of screen
Can you tell me how to get x-size and y-size of scene ? I don't see those parameters in camera setting. thanks :)
Feb
25
comment Unity: Make camera center of screen
7x7. why can you know that ? I don't see this number in camera setting. Does this default for all project ? Thanks :)
Feb
25
comment Unity: Make camera center of screen
thanks :) It's work. Can you explain for me why 3.5 please ?
Feb
22
comment Camera is centered on character, but doesn't show character in game window
so simple. thanks so much :D
Sep
2
comment Unity: White line at camera meaning
@jhocking ah. yes. 4 lines :D just because i think "white lines" have some relationship with three color lines, so my brain works as 3 lines :D