// Start is called before the first frame update void Start() { rotatorBehaviour = rotator.GetComponent <RotateBehaviour>(); walkingBehaviour = GetComponent <WalkingBehaviour>(); }
void Update() { RotateBehaviour.update(gameObject); }