// Use this for initialization void Start() { //Define our facing direction, must be the same as built in inspector //Cache our fezMove script located on the player and update our level data (create invisible cubes) facingDirection = FacingDirection.Front; fezMove = Player.GetComponent <FezMove>(); }
// Use this for initialization void Start() { facingDirection = FacingDirection.Front; fezMove = Player.GetComponent <FezMove> (); UpdateLevelData(true); }