Unity GUI

nananana·2022년 10월 15일
0

Youtube Link

Thank you, Creator as always.

I tried out Graphic User Interface for unity. Mostly basic but still quite important.


used canvas entries and it seem the video (seem outdated) utilized some legacy features. Attempted to use the new text but seem to function quite differently than the old one described in the video.

Wonder what the reason for change was.


Found basic ways in adding images, text and buttons.

Sadly not much coding as it usually centered in using unity interfaces.

 public void Jump(){

        rb.AddForce(Vector3.up * 5, ForceMode.Impulse);
    }

This simple code was used for linking the button to the main game object which was neat. I think.

0개의 댓글