Cleanup root from HeroHandControls
This commit is contained in:
parent
57dbe84b3d
commit
5456958651
1 changed files with 1 additions and 3 deletions
|
|
@ -9,14 +9,12 @@ public class HeroHandControls
|
|||
public delegate void CardClickedAction(HeroCard card);
|
||||
public event CardClickedAction OnCardClicked;
|
||||
|
||||
private MonoBehaviour root;
|
||||
private GameObject uiCanvas;
|
||||
private GameObject cardPrefab;
|
||||
|
||||
private List<GameObject> cardsInHandUIs;
|
||||
|
||||
public HeroHandControls(MonoBehaviour root, GameObject uiCanvas, GameObject cardPrefab) {
|
||||
this.root = root;
|
||||
public HeroHandControls(GameObject uiCanvas, GameObject cardPrefab) {
|
||||
this.uiCanvas = uiCanvas;
|
||||
this.cardPrefab = cardPrefab;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue