Advertisement
Guest User

Untitled

a guest
Apr 24th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4.  
  5. public class LapCounter2 : MonoBehaviour
  6. {
  7. public GameObject FinishMark;
  8.  
  9. void OnTriggerEnter()
  10. {
  11. FinishMark.SetActive(true);
  12. gameObject.SetActive(false);
  13. }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement