Exemple #1
0
    void Awake()
    {
        _card = CardsGameObjects.OnlyDetachHandle();
        _card.AddComponent <CanBeDetached>();
        _outline = _card.AddComponent <HasOutline>();

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