void Awake() { IM = this; cRect = canvas.GetComponent <RectTransform>(); canvasSize = cRect.sizeDelta; canvasScale = cRect.localScale; mainInput = new MainPhaseInput(this); draftInput = new DraftPhaseInput(this); handDestInput = new HandDestPhaseInput(this); mulliganInput = new MulliganPhaseInput(this); activeInput = mainInput; oldActiveInput = mainInput; }
public MainPhaseInput(InputManaegr parent) { this.parent = parent; }
public HandDestPhaseInput(InputManaegr parent) { //this.parent = parent; }
//InputManaegr parent; //生成元のInputManagerを取得 public DraftPhaseInput(InputManaegr parent) { //this.parent = parent; }
public MulliganPhaseInput(InputManaegr parent) { }