Public Gameobject player;
Public Animator anim;
Void Update(){
if (Input.Getkey(Keycod.d)){
player.transform.position+=New Vector3 (10*time.deltatime,0,0);
anim.Play("go_anim");
else{
anim.play("IdL_anim");
}
در صورت فشرده دکمه d پلیر حرکت کند و انیمیشنgo_anim اجرا میشود وگرنه اگر دکمه d فشرده نشد انیمیشن IdL_anim اجرا شود.
because it’s a blessing. So let me give back and speak out on change
your life and if you want to have a checkout I
will share info about howto make money Don’t forget..
I am always here for yall. Bless yall!