Size: a a a

2020 June 03

АЕ

Алексей Ефимов... in unity3d.ru
Добрый вечер! у меня вопрос может кто подсказать когда стоит использовать finite state machine а когда это не рекомендуется?
источник

АЕ

Алексей Ефимов... in unity3d.ru
а так же есть второй вопрос как лучше структуировать код проекта
источник

АЕ

Алексей Ефимов... in unity3d.ru
если у кого есть шаблоны или ссылки буду благодарен
источник

MK

Maksym Kriukov in unity3d.ru
Попытка реализовать пост-эффект, как в игре Return to the Obra Dinn
https://www.youtube.com/watch?v=HsUtaHOv_lo
источник

ДК

Даниил Котов... in unity3d.ru
Короче, он удалил тег у камеры поэтому была эта ошибка
источник

ДК

Даниил Котов... in unity3d.ru
Если собираетесь использовать Camera.main тег у камеры не стоит убирать.
источник

l

leuk || nobody in unity3d.ru
hello :) does anyone know how to move&scale camera to fit an object by its bounds to an UI panel ?
источник

l

leuk || nobody in unity3d.ru
источник

l

leuk || nobody in unity3d.ru
источник

l

leuk || nobody in unity3d.ru
источник

TS

Timofei Shibaev in unity3d.ru
Даниил Котов
Если собираетесь использовать Camera.main тег у камеры не стоит убирать.
🌝👌
источник

А

Александр in unity3d.ru
leuk || nobody
hello :) does anyone know how to move&scale camera to fit an object by its bounds to an UI panel ?
maybe u should better fit a panel into a camera, not a camera into a panel? =|
источник

l

leuk || nobody in unity3d.ru
here is an example, i want the camera to zoom in on the AK in a similiar way to how it sees the Glock -> basically fit it by its bounds to that white UI panel, but iam not sure how to do this :D
источник

l

leuk || nobody in unity3d.ru
Александр
maybe u should better fit a panel into a camera, not a camera into a panel? =|
panel is not an issue, the guns have each different proportions- some are larger and some are smaller, id like to zoom in/out on them instead of having to create an additional "normalized scale model" for each an every gun/gun part model
источник

А

Александр in unity3d.ru
leuk || nobody
panel is not an issue, the guns have each different proportions- some are larger and some are smaller, id like to zoom in/out on them instead of having to create an additional "normalized scale model" for each an every gun/gun part model
check the gun's renderer bound and move it to z axis untill the bounds touch the screen bound
источник

l

leuk || nobody in unity3d.ru
hmmm, thats a good idea
источник

А

Александр in unity3d.ru
If I were you, I would add two empty gameobjects to both left and right edge of the mesh and then convert these points into screenpoints using Camera.WorldToScreenPoint. Then when you have the position on the screen, you can move the mesh forward\back along the Z axis untill the converted every frame point gets the needed position
источник

А

Александр in unity3d.ru
I can draw a little sketch if u don't get the entire idea
источник

l

leuk || nobody in unity3d.ru
Александр
I can draw a little sketch if u don't get the entire idea
sure thing, i think i understand what you mean
источник

l

leuk || nobody in unity3d.ru
but you can draw it nevertheless
источник