Skip to content

Instantly share code, notes, and snippets.

@tsmrecki
Created May 19, 2016 08:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tsmrecki/82c60cbc2e8608646c6dd4b3aadb96a0 to your computer and use it in GitHub Desktop.
Save tsmrecki/82c60cbc2e8608646c6dd4b3aadb96a0 to your computer and use it in GitHub Desktop.
Class extending MonoBehaviour
public class Teleport : MonoBehaviour {
private Vector3 startingPosition;
void Start() {
startingPosition = transform.localPosition;
SetGazedAt(false);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment