public override void ShapeAdded(ShapeScript shape) { if (isTutorial) { if (shape.Equals(goalShape)) { ScreenManager.Instance.FlashResult(true); _givenShape = shape; } else { ScreenManager.Instance.FlashResult(false); return; } } else { _givenShape = shape; } _machineText.text = "Now turn the handle ->"; }
public override Outcome GetOutcome() { return(goalShape.Equals(_givenShape) ? Outcome.Achieved : Outcome.NotAchieved); }