void Start() { trur_event = GameObject.FindGameObjectWithTag("GM").GetComponent <Test_Turn_Base>(); gm = GameObject.FindGameObjectWithTag("GM").GetComponent <Game_Manager>(); chess_map_sc = GameObject.FindGameObjectWithTag("Chess Map").GetComponent <Test_Chess_Map>(); target = chess_map_sc.chess_map[pos]; chess_map_sc.Add_Pos(pos, this.gameObject); Battle_Cry(pos, can_use_b); trur_event.AddEndTurnEvent(When_end_turn); }
void Start() { turn_base = GetComponent <Test_Turn_Base>(); gm = this.GetComponent <Game_Manager>(); First_start(); Add_Deck_for_Shuffle(); Shuffle_Deck(); Draw_Start(); gm.this_myTurn = true; }
void Start() { gm = GameObject.FindGameObjectWithTag("GM").GetComponent <Game_Manager>(); trur_event = GameObject.FindGameObjectWithTag("GM").GetComponent <Test_Turn_Base>(); trur_event.AddEndTurnEvent(Check_Who_Trun); }
// Start is called before the first frame update void Start() { scene_ = GetComponent <Scene_manage>(); trun_event = GetComponent <Test_Turn_Base>(); trun_event.AddEndTurnEvent(Reset_Mana); }