public override void Visit(BackgroundStmt backgroundStmt, object[] args) { if (backgroundStmt.Img != null && !StrVarRefProcessor.IsVariableIncluded(backgroundStmt.Img)) { CheckContent(backgroundStmt.Img, ContentType.Texture, backgroundStmt.Location); } if (backgroundStmt.Asset != null) { CheckAsset(backgroundStmt.Asset, typeof(CGAsset), backgroundStmt.Location); } }
public virtual void Visit(BackgroundStmt backgroundStmt, object[] args) { }
public void Visit(BackgroundStmt backgroundStmt, object[] args) { kernel.Behave(kernel.FuncCaller.Background( varRefProcessor.Replace(backgroundStmt.Img), backgroundStmt.Asset)); }