// Use this for initialization void Start() { GameObject go = GameObject.FindGameObjectWithTag("Player"); this.Player = go.GetComponent <Player_Run>(); this.Last_Block.is_Create = false; this.Block_Creating = this.gameObject.GetComponent <Map_Block>(); this.Map_Lvl = new Map_Level(); this.Map_Lvl.init(); this.Map_Lvl.Lvl_Data_Load(this.Level_Edit); this.Game_Logic = this.gameObject.GetComponent <GameLogic>(); }
// Use this for initialization void Start() { this.player = GameObject.FindGameObjectWithTag("Player").GetComponent <Player_Run>(); }