Beispiel #1
0
 void Start()
 {
     _detach    = GetComponent <CanBeDetached>();
     _highlight = GetComponent <CanBeHighlighted>();
     _interact  = GetComponent <CanBeInteractedWith>();
     _cost      = GetComponent <HasCost>();
 }
Beispiel #2
0
 void Start()
 {
     HighLighted = false;
     _mouseOver  = GetComponent <CanBeMousedOver>();
     _owned      = GetComponent <CanBeOwned>();
     _move       = GetComponent <CanBeMoved>();
     _hand       = GetComponent <CanBeInHand>();
     _interact   = GetComponent <CanBeInteractedWith>();
     _wrapper    = new VisualCardWrapper(gameObject);
 }