Adım 4: Oynatıcıyı soldan sağa hareket ettirin

Player'ı sola ve sağa çevirmek için aslında yatay girişi kullanmalıyız.

  • Yeni bir genel şamandıra hızı bildir = 10.0f;
  • Update()'te, oynatıcıyı yatayGiriş ve hıza göre yan yana çevirin

figures

Lesson discussion

Swap insights and ask questions about Unity Junior Programmer

Be the first to start the discussion

Ask a question or share your thoughts about this lesson.