Esempio n. 1
0
	// Use this for initialization
	void Start () {
		pDet = transform.parent.GetComponent<ColDetect>();
		pMove = GetComponent<PolecatMovement>();
	}
Esempio n. 2
0
 void Start()
 {
     speed = walkSpeed;
     UserPl = Root.GetComponent<UserPlayer>();
     rootCol = Root.GetComponent<ColDetect>();
 }