Created
May 19, 2016 08:50
-
-
Save tsmrecki/82c60cbc2e8608646c6dd4b3aadb96a0 to your computer and use it in GitHub Desktop.
Class extending MonoBehaviour
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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