public ApplySettingCommand(MusicSettingForm aFrom) { mForm = aFrom; mRhythm = mForm.mRhythm; mMargin = mForm.mMargin; mRust = mForm.mRust; }
public override void enter() { //コマンドリスト生成 mCommandList = new MyCommandList(); //配置オブジェクト選択欄 mPlaceTggle = GameObject.Find("placeObjectToggle").GetComponent <ToggleButtonGroup>(); mPlaceTggle.memberPushed("note");//配置するオブジェクトの初期設定 //設定欄 mSettingForm = GameObject.Find("musicSettingForm").GetComponent <MusicSettingForm>(); mSettingForm.reset();//設定欄表示リセット //編集モードに即移行 parent.changeState(new EditState(parent)); }