示例#1
0
 // Use this for initialization
 void Start()
 {
     hasGrabbedPutter = false;
     myAudio          = GetComponent <AudioSource>();
     club             = putter.GetComponent <ClubReturnToHand>();
     StartCoroutine(IntroVoice());
 }
示例#2
0
 void Start()
 {
     lastPos          = transform.position;
     timeSinceEnabled = 0;
     golfClub         = transform.parent.gameObject.GetComponent <ClubReturnToHand>();
 }