Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
I often use empty transparent boxes in order to detect and change something, like a variable etc, when the player walks in or out of them. It would have been cool to have such an icon in the create-section next to the cube, sphere, cylinder...for quick inserting. But it just struck me the other day i could do it myself: - Start up a new CC-file and delete everything but the cube. - Delete material texture, untick collision and light occlusion, and set light setting to none. - Attach the "on proximity" behaviour and adjust to your liking - Name and save as prefab to something beginning with "0", "1" or "A" in order to place it on the left-top row in the prefabs window |
||||
|
Brilliant tip, this works really well |
||||
|
It's kinda similar to Justin Case Directional Proximity Prefab. I often use that and my own prefabs not just for proximity and for other things also. It saves a lot of time. I miss his videos there is a lot to learn from the tips and trick videos and other videos, though it takes a long amount of time to go through a whole video because of how long his videos are, I often use 1.5x Playback speed in my YouTube Player to save extra time without missing the content he has to share. Its always good if you create prefabs for UI items. Buttons, volume bars, sliders, toggles , radios, scrollbar, shadows etc to quickly add them in all of your games UI design. Save them along with the behavior attached to them. |
||||
|
|