void Awake() { _card = CardsGameObjects.OnlyDetachHandle(); _card.AddComponent <CanBeDetached>(); _outline = _card.AddComponent <HasOutline>(); UpdateCount = 0; }
void Start() { UpdateTime = 0; _card = CardsGameObjects.OnlyDetachHandle(); _card.AddComponent <CanBeDetached>(); _outline = _card.AddComponent <HasOutline>(); _outline.Request(this, Color.red); }