11000+款5星资源
8.5万+用户参与评分
10万+社区成员鼎力支持
每款资源都经过 Unity 审核
显示 1 - 10 of 18
用户评论
排序
Hi this is a really amazing asset, its great and I was just wondering how exactly I can implement rotation into this. I'm not at all good with c# and I just wanted to know how I can go about doing this.
这条评论是否有帮助?
1
0
来自发布商的回复:
回复时间 5 years ago
Hi, you got to rotate the ghost object so the user sees the changes around line 111 in BuildManager.cs and then use the rotation of the ghost in line 137. I'll look into it, sorry for the long wait for an answer people. But the asset is not actively maintained anymore.
I have used this to get the basics of building placement for a city builder up and running quickly and it has been great. Code is clear so you can quickly adapt it to suit and expand on it to add more/different functionality. Thanks!
这条评论是否有帮助?
0
0
This asset is a must have for everyone developing a RTS (-prototye). The approach is very interesting and I hope the creator will continue making this even more awesome.
Also, the support is great; I encountered abug and got a fix within only 2 hours.
这条评论是否有帮助?
0
0
来自发布商的回复:
回复时间 9 years ago
Thank You again for telling me about this bug.
The new version with the Fix is already up for approval.
Everyone please make sure to backup your BuildManager custom changes since I had to modify it.
- Tobias
How to change the objects in other objects to build?
这条评论是否有帮助?
0
0
来自发布商的回复:
回复时间 9 years ago
There are 2 example prefabs in the pack, you can use those as reference.
It uses boxcolliders because it makes the slope and collision calculations easier.
So just create a prefab of your object and it has to have: Boxcollider, Building Collision (Script), Rigidbody.
And then just pull the building into the list of the BuildManager. Then you can spawn it.
The Tutorial only supports 2 objects at this time, because i Hardcoded the UI. so you have to put your obects at index position 0 and 1 of the build Manager. Or you change the ui code to dynamically create the buttons.
- Tobias
B
Very Good
10 years ago
Ballisticspork基于上一个版本 1.04
I found this asset to be very good. I think a feature that could be added is an optional grid that the buildings snap into (not like snapping where the buildings snap onto eachother, but where the buildings can only be placed directly on the squares of the grid). Thanks!
这条评论是否有帮助?
1
0
高品质资源
11000+款5星资源
深受用户信赖
8.5万+用户参与评分
强大的社区支持
10万+社区成员鼎力支持