public static IAction BuilderCreateAction(ActionType type, IAction creatingFrom, Direction dir = Direction.None) { LevelBuilder levelBuilder = LevelBuilder.lastBuilder; if (levelBuilder) { return(levelBuilder.CreateAction(type, creatingFrom, dir)); } return(null); }