adssencee

Tuesday, May 26, 2020

how to setup load Screen for unity matlab unity ka under kaysa Manu ko setup kara


how to setup load Screen for unity or how to setup  Manu for unity


Friends aap dek pa raraha  upor ma jo Title dea hua ha kaysa unity ka under Manu ko set kia jata  ha.

Ajj bolun ga Friends  bhoat hi Easy ha unity ka under Manu create katr na. Aap Agar thora bhoat coading

kar na janta ha dosto aap, ko pata ho ek button click kar na sa dus ra Activay khul jata ha. usi tari ka sa

aap ko unity 2d game engine ka under  create new Secen kar na para ta ha or ush ka bad aap up na

display ko sajia background da de ja bhi bala. or Button create kar li ja. please Look at the Image


Jaysa Image ka under dea hua ha  game play seen.or dus ra Main manu create. phayla jo dek pa ra ha

game playseen jo ki Aap ka charater ka game play ho ga. dusra game manu jis ka under  manu create ki ji

ga matlab bacground,Button,ImageView And other features muse system And Animation play other

features. so payla friends Aap unity game engine ka under hirachy ka upor right mouse click kar ka create

Empty kar ka GameObject kar li ja. Game Object ka name dadeja MainManu. friends ush ka bad aap uniy

Asset under ka upor click kar ka create C# Scripts la li ja.ush ka name aap kuch bhi rak sak ta ho.

unity Assest ka under jo Scripts ko create ki ha. ush ko drag kar ka MainManu GameObject upor chor \

dee ja. unity ka ude jo Script ha ush ko duble click kar ka open ka li ja. visual studio ya mono developer

kisi bhi coding Software under. bellow Image ka under



Image ka under jis tari ka sa dea hua usitari ka aap ko coading kar la na ha payla Image ka jo red line

ha duble Attbut ka under aap jo game play Seen ho unity ka under usiko type kar la na ha.aapko

Asani ho iss lia maa ehapa coading ko type kar ta huuu. ish Scripts ko Aapko drag kar ka canva ka under  chor de na ha.


public void StartButom () {
        SceneManager.LoadScene("rtr"); // ush under unity ka game play seeen ko Set kar la na ha.
       
    }
   
    // Update is called once per frame
    public void Qunit () {

        Application.Quit();   // eea Quite Button ha friends aap ja Android mobile ka under jab game ko

   playe karanga  tab issbutton press kar lana sa game Close ho jiga.   
    }
}


Ab Main manu ka under jo button Create ki ha ush ka Function set kar na ha. Button ka nicha On click

fuctio aap dek pian ga friends Image ka under dekia


+ sine ka upor click kar ka function ceate  kar li ja.ush ka ba unity game engine ka Hiearachy ka uder

Canva ko drag kar ka runtime Button function under chor de ja. or next box ka under jo fuction set kar

na boo ha App Scripts ka StatButton. Same Quite button ka set kar la na ha friends ha. aapko jada

details ka lia mera youtube Channel ka video dek lija


please friends like Share Comment. thanks





















No comments:

Post a Comment

Please do not Enter any Spam link in the Comment Box