- Home /
This question was
closed Jan 05, 2016 at 03:05 PM by
Upshur for the following reason:
Problem is not reproducible or outdated
i am trying to make my character exit the car, its almost done, i just need a help
i have an script for exiting the car, but i need to target the player so:
var player : GameObject;
function Update () {
if (Input.GetButtonDown("Exit")) {
player.SetActive (true);
then i want to, for example, gameobject "A" is tagged with "B", so it will automatically be the var player.
any help?
Comment