Unity Tips: Set tile transform via inspector & script (offset, rotation, scale)

Опубликовано: 31 Август 2022
на канале: PitiIT
6,397
120

When working on my Stardew Valley like building tutorial I encountered a problem - I needed to change the properties of my tiles but when I set them in the inspector it did not work when I placed tiles via script. In this short tutorial I am presenting a way to set the tiles offset, rotation and scale via script which works great for the runtime level building. I hope you enjoy it :)

If you would like to show me some support:
  / pitiit  

If you are looking for a great community:
  / discord  


00:00 The Challenge
00:35 Tile properties in the inspector
01:30 Tile properties in the script


Смотрите видео Unity Tips: Set tile transform via inspector & script (offset, rotation, scale) онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал PitiIT 31 Август 2022. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 6,397 раз и оно понравилось 120 посетителям.