public static ProjectorConfig GenerateEquipmentConfig(EquipmentVO equipmentVO, Action <RenderTexture, ProjectorConfig> callback, float width, float height) { IGeometryVO vo = ProjectorUtils.DetermineVOForEquipment(equipmentVO); ProjectorConfig projectorConfig = ProjectorUtils.GenerateGeometryConfig(vo, callback, width, height); projectorConfig.buildingEquipmentShaderName = ProjectorUtils.GetEquipmentBuildingShaderName(equipmentVO); return(projectorConfig); }
public static ProjectorConfig GenerateEquipmentConfig(EquipmentVO equipmentVO, UXSprite frameSprite, bool closeup) { IGeometryVO vo = ProjectorUtils.DetermineVOForEquipment(equipmentVO); ProjectorConfig projectorConfig = ProjectorUtils.GenerateGeometryConfig(vo, frameSprite, closeup); projectorConfig.buildingEquipmentShaderName = ProjectorUtils.GetEquipmentBuildingShaderName(equipmentVO); return(projectorConfig); }
public unsafe static long $Invoke1(long instance, long *args) { return(GCHandledObjects.ObjectToGCHandle(ProjectorUtils.DetermineVOForEquipment((EquipmentVO)GCHandledObjects.GCHandleToObject(*args)))); }