Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var point1 : GameObject;
- var point2 : GameObject;
- function Update () {
- if (Input.GetKeyDown("j")){
- point1.SetActive(true);
- point2.SetActive(false);
- }
- }
- function FixedUpdate(){
- if (Input.GetKeyDown("l")){
- point1.SetActive(false);
- point2.SetActive(true);
- }
- }
Add Comment
Please, Sign In to add comment