Quantcast
Channel: Answers by "r005t"
Browsing all 8 articles
Browse latest View live

Answer by r005t

Hm, this doesn't seem to supply a value that is ever exceeded by my character. I think I see the issue though. I apparently forgot to set this camera to orthographic. My mistake, sorry about that,...

View Article



Answer by r005t

I believe the parameter to OnCollisionEnter2D should be of type Collision2D not Collider2D. From Unity Script Reference: void OnCollisionEnter2D(Collision2D coll) { if (coll.gameObject.tag == "Enemy")...

View Article

Answer by r005t

I must sheepishly admit that I was applying a GUISkin somewhere else in the code and there was an offset there which was causing the displacement. Something to be aware of I suppose.

View Article

Answer by r005t

Changing the compilation setting 'Stripping Level' to: ByteCode resolved this issue for me.

View Article

Answer by r005t

Hm, this doesn't seem to supply a value that is ever exceeded by my character. I think I see the issue though. I apparently forgot to set this camera to orthographic. My mistake, sorry about that,...

View Article


Answer by r005t

I believe the parameter to OnCollisionEnter2D should be of type Collision2D not Collider2D. From Unity Script Reference: void OnCollisionEnter2D(Collision2D coll) { if (coll.gameObject.tag == "Enemy")...

View Article

Answer by r005t

I must sheepishly admit that I was applying a GUISkin somewhere else in the code and there was an offset there which was causing the displacement. Something to be aware of I suppose.

View Article

Answer by r005t

Changing the compilation setting 'Stripping Level' to: ByteCode resolved this issue for me.

View Article

Browsing all 8 articles
Browse latest View live




Latest Images