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