I added the ability to color pipes that have water in them. If you copy the PipePuzzle.cs file from the Updated Scripts folder from the drive, it will add a color picker in the Inspector tab in Unity when you click on a Puzzle object. If you don't want it to color the pipes at all, set the color to white. There are issues with the prefabs for T-intersections and 4-way pipes that cause the color not to appear. The fix is easy but since prefabs can't be easily copied to other projects, I didn't bother uploading the project since we are likely going to go with Ellis' version of the project. I'll just need a few minutes with the project to fix all of the prefab issues once we have the menus in.
I also uploaded to the same folder a fix for the camera moving. In the fix, I made it so that if you are holding down the space bar, the camera will move like it currently does. If you release space bar, the camera won't move. If you get this updated script and the camera still won't move while holding space bar, make sure your MouseOrbit script is enabled on the main camera object.
Also, that dang issue with the mecanim fir tree or whatever was driving me crazy so I figured out how to fix it. If you go to the Assets\Project Renew\Art\InGame\Downloaded folder in the Project explorer and select the tree1 object (there are two for some reason. Select the one that isn't a blank page), click on the Rig tab in the Inspector window, change Animation Type to none, and click Apply. It takes a little bit for the change to apply but once its done, you don't get that annoying spam message in the console. Makes for debugging stuff much nicer.
Let me know if any of this (including the pipe coloring and/or the camera change) doesn't work for you.
No comments:
Post a Comment