Exemple #1
0
 void Start()
 {
     Parent = GetComponentInParent <HunterMain> ();
     Trans  = GameObject.FindGameObjectWithTag("PigTransformManager").GetComponent <PigTransformManagerScript> ();
     start  = transform.localPosition;
 }
Exemple #2
0
 void Start()
 {
     Parent  = GetComponentInParent <HunterMain> ();
     MaxTime = Parent.shotTime;
 }