Quantcast
Channel: Questions in topic: "error message"
Viewing all articles
Browse latest Browse all 2891

Getting an error for my TP.js Script

$
0
0
So, I'm getting this error "BCE0019" on lines 15,107 for postion which is not a UnityEngine.GameObject' member #pragma strict var target : GameObject; var adjust : float; var c1 : Color; var jump : boolean; function Start (){ renderer.material.color = c1; } function OnTriggerEnter(other : Collider ){ if(!jump){ if(other.tag == "Player"){ target.GetComponent(Teleport).jump = true; other.gameObject.transform.position = Vector3(target.transform.position.x, target.position.y + adjust, 0); } } } function OnTriggerExit(other : Collider){ if(other.tag == "Player"){ jump = false; } }

Viewing all articles
Browse latest Browse all 2891

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>