Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using UnityEngine;
- using System.Collections;
- public class CheckPoint8 : MonoBehaviour {
- public PointScore1 a;
- public PointScore2 b;
- public PointScore3 c;
- public PointScore4 d;
- public PointScore5 e;
- public PointScore6 f;
- public PointScore7 g;
- public PointScore8 h;
- public PointScore9 j;
- public PointScore10 k;
- void Start ()
- {
- }
- void Update ()
- {
- }
- void OnTriggerEnter(Collider Col)
- {
- if(Col.tag == "Manipulator")
- {
- Col.GetComponent<Player>().checkPos = transform.position;
- a.a = false;
- b.a = false;
- c.a = false;
- d.a = false;
- e.a = false;
- f.a = false;
- g.a = false;
- h.a = false;
- j.a = false;
- k.a = false;
- PointScore1.pointscore1 = 0.0f;
- PointScore2.pointscore2 = 0.0f;
- PointScore3.pointscore3 = 0.0f;
- PointScore4.pointscore4 = 0.0f;
- PointScore5.pointscore5 = 0.0f;
- PointScore6.pointscore6 = 0.0f;
- PointScore7.pointscore7 = 0.0f;
- PointScore8.pointscore8 = 0.0f;
- PointScore9.pointscore9 = 0.0f;
- PointScore10.pointscore10 = 0.0f;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement