virtueone            
  home     support     info  

 


                
Editor script... - Posted on: 2/4/2021   [Golf]



Yay!!! I got a custom Editor script working...

It was a little confusing at first, but I eventually figured it out. The script allows me to attach a prefab then place many objects onto the terrain, using a spacer value. I'm hoping this will save lots of time when adding the fencing and other decorations to the course. It needs more work because there's no Undo interaction with the Editor. Also, the spacing value only works if the surface is flat, so that needs to be more sophisticated, but this is a good start!




<< Back to main news page


     
2nd course... 2/28/2021
The creation of the first course was mostly improvised. I'm trying to plan the second course better, by starting with an overhead drawing, then I'll use that as a rough template for the course when I paint the textures and heights in Unity.
Editor script updates... 2/7/2021
I made a few improvements to the Editor script...
Updates... 2/7/2021
I worked more on the second course...
Starting on the second course... 2/6/2021
I'm using the first course as a template. So far, I've updated the terrain objects, textures, skybox and water.
Editor script... 2/4/2021
I think I'm done with the editor script...
Updates... 2/3/2021
I finished adding the second render trail...
Updates... 2/2/2021
I added a second permanent trail renderer for the ball...
Minor updates... 1/30/2021
Minor updates...
UI updates... 1/30/2021
I finished adding images of the golf clubs to the UI...
UI updates... 1/29/2021
I'm adding images of the clubs to the UI...
Site created and maintained by kreediddy. © 2010-2021. kreediddy.