Answer by CaKeMeaT
I recently dealt with an issue where I was using 'script only build' and the lighting wasn't being re-worked when building.
View ArticleAnswer by CaKeMeaT
Evidence: Scene 0 has no lights, all lighting modes disabled, auto generate on baking setting. FULLY LIT. Scene 1 has all the same settings, and still no lights. FULLY dark. Ive deleted all cameras and...
View ArticleAnswer by CaKeMeaT
I resolved the problem (I guess) by removing [Serializable] tags, and then removing pointer-style references inside my InventoryScript that were used like a linked list. Example: InventoryItem next;...
View ArticleAnswer by CaKeMeaT
because of the brilliance of physics layers, and your ability to choose which ones collide with the others, I would REALLY recommend you actually use tags. If you cant come up with a naming convention...
View ArticleAnswer by CaKeMeaT
last_number = number; // number should be renamed "spawn_point if(number == lastnumber) { number++; //(be careful not to go out of bounds) last_number = number; }
View ArticleAnswer by CaKeMeaT
if(v.GetComponent() != null && v.GetComponent().getBlocked()==false)
View ArticleAnswer by CaKeMeaT
You may want to pay special attention to triggers vs colliders and OnCollisionEnter vs OnTriggerEnter
View ArticleAnswer by CaKeMeaT
I have researched this topic, and everything I can find says that System.IO is not available to Windows apps
View ArticleAnswer by CaKeMeaT
public GameObject sourceObject; // drop your object from inspector to this slot. // then later GameObject t = (GameObject)Instantiate(sourceObject, transform.position, transform.rotation);
View ArticleAnswer by CaKeMeaT
It looks as if it should work, maybe use a bool to explicitely control the condition if (!IsThisThingAlreadyAssigned) { ObjectiveTHing = GameObject.Find (ObjectiveName); IsThisThingAlreadyAssigned =...
View ArticleAnswer by CaKeMeaT
Async commands will cause your code to branch out right? so you're loading side-by-side to your other code.
View ArticleAnswer by CaKeMeaT
Cant run the code where I am. But I imagine you are seeing objects do this: move towards. collide. bounce back slightly. move towards. collide. bounce back slightly. -repeat- I see this a lot because...
View ArticleAnswer by CaKeMeaT
the problem with greater-or-equal-than opertaions is that they can be pass as true even when you expect the later conditions to trigger instead. ammobar.GetComponent(UI.Slider).value <= 100) will...
View ArticleAnswer by CaKeMeaT
I have had marginal success with getting data from NIST servers. like this.. [link text][1] [1]: https://nickstips.wordpress.com/2010/02/12/c-get-nist-internet-time/
View ArticleAnswer by CaKeMeaT
I had to change all of my scripts to JoystickJS(javascript) and JoystickCS(c#) in order to get past this. Really just circumventing the problem, since I couldn't identify the origin.
View ArticleAnswer by CaKeMeaT
XmlSerializer serializer = new XmlSerializer(typeof(**Item**)); is dealing specifically with the serialization of type Item.
View ArticleAnswer by CaKeMeaT
Can you try not parenting, just keep track of a new reference variable - GameObject PlatFormIAmOn. When you OnCollisionStay on it: PlatFormIAmOn = collision.transform.gameobject; and then in your...
View ArticleAnswer by CaKeMeaT
Well, not much of an answer, but a solution for the time being. I changed the SqlDbType to be NVarChar in the parameter.... it doesn't complain for now. command.Parameters.Add("@xmlone",...
View ArticleAnswer by CaKeMeaT
I believe I provided a pretty good example... [link text][1] [1]: http://answers.unity3d.com/questions/972594/trying-to-learn-to-save-can-i-please-see-some-basi.html
View Article