void Start() { _detach = GetComponent <CanBeDetached>(); _highlight = GetComponent <CanBeHighlighted>(); _interact = GetComponent <CanBeInteractedWith>(); _cost = GetComponent <HasCost>(); }
void Awake() { _movementQueue = new CoroutineQueue(); _rotationQueue = new CoroutineQueue(); _movementQueue.Start(); _rotationQueue.Start(); _detached = GetComponent <CanBeDetached>(); }