Example #1
0
	void Start()
	{
		car = GetComponent<CarMover>();
		arm = GetComponentInChildren<RotateTowardsInput>();
		if(arm == null)
		{
			Debug.LogError("!!");
			Debug.Break();
		}
	}
Example #2
0
 void Start()
 {
     Turret = GetComponentInChildren<RotateTowardsInput>();
     mover = GetComponent<CarMover>();
     FindTarget();
 }
Example #3
0
	void Start()
	{
		rto = weapon.WeaponInst.GetComponentInChildren<RotateTowardsInput>();
	}