Hi,
I’ve for the last like 4 days been trying to figure out how to make a game like this:
And I can’t seem to find what I need on the asset store and think I might have to write my own code, I’m not sure what can help me, I started to think this was what I needed but now I’m not sure… Runtime Transform Handles | Modeling | Unity Asset Store
ok so anyway to the point…
what I want is a script i can drop object etc into to change the values so something like
[SerializeField]
public/private Item_to_spawn; (on the snapped grid)
[SerializeField]
public/private Item_Ghost_green; (can build)
[SerializeField]
public/private Item_Ghost_red; (cant build)
[SerializeField]
public/private Restricted_Items; (items the object cant be built near) list?
[SerializeField]
public/private Floor; (to get the raycast)
[SerializeField]
public/private grid_type; (iso/rect etc)
“SerializeFields”]
Controls; (rotate,place&delete,menu)
I’m new to this so I have no Idea how to actually get that ^^ to work… I start writing that and then just don’t know how to reference each thing and if i just do what visual studio says well… that doesn’t do anything lol…
Like how many scripts do i need? what parts do I need to write them for?
I need the Item to spawn stuff activate from GUI buttons/images & I want to not be-able to build on-top of some objects… Also need a pipe & conveyor system and some way of making recipes trigger when the items go inside machines etc… I would really like to get this into like as few scripts as possible etc…
Sorry I know raycasting etc is a “hottopic” I did search for a while couldn’t find anything like my question…