Quantcast
Channel: Latest Questions by JackStix
Browsing latest articles
Browse All 8 View Live

Accessing Child GameObject

I know there must be a simple solution to this, but I can't seem to figure it out. I have an object attached to an NPC, and I want to access it so as to enable and disable it through the script on the...

View Article



Object References not linking

I'm getting "Object Reference not set to an instance of an object," and "pCon is assigned but never used." public PadController pCon; void Start() { PadController pCon = GetComponent(); ... } void...

View Article

Changing a Mesh (C#)

I'm trying to have this script load `Body` from the top of a `Resources` folder and place it on the `GameObject` it's attached to. `this.gameObject.GetComponent().mesh = Resources.Load("Body");` But...

View Article

Multiple Terrains and their Trees

If I make a grid of 3x3 terrains and stand on the center, the trees (and grass to a lesser extent) on the other terrains cause a huge drop in FPS when the camera rotates. The terrains aren't within...

View Article
Browsing latest articles
Browse All 8 View Live




Latest Images