Ejemplo n.º 1
0
    // 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>();
    }
Ejemplo n.º 2
0
    // Use this for initialization

    void Start()
    {
        this.player = GameObject.FindGameObjectWithTag("Player").GetComponent <Player_Run>();
    }