Guest User

Untitled

a guest
Apr 21st, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. void Start(){
  2. initPosition = gameObject.transform.position;
  3. rb = gameObject.GetComponent<Rigidbody>();
  4. distanceText = distanceTextObject.GetComponent<Text>();
  5.  
  6. // DistanceTextの初期値をセット
  7. SetDistanceText(0f);
  8. }
Add Comment
Please, Sign In to add comment