Beispiel #1
0
    //public static GameObject FieldPrefab;
    //private GameObject FieldInstance;
    //private bool       _isMoving = false;

    //public void isMovingFalse(){
    //	_isMoving = false;
    //}

    // Use this for initialization
    void Awake()
    {
        _grid   = GlobalOptions.Grid;
        _player = GlobalOptions.Player;

        _motor = GetComponent <BoxMotor>();
    }
    void Awake()
    {
        _grid = GlobalOptions.Grid;

        motor = GetComponent <BoxMotor>();
    }