public void Done(Guide.Type type) { UpdateList(); foreach (var guide in guides) { if (type == guide.type) { guide.Done(); } } }
public bool IsShowing(Guide.Type type) { if (guides == null) { return(false); } foreach (var guide in guides) { if (type == guide.type) { return(guide.content.activeSelf); } } return(false); }