/// <summary> /// Draw the header of the block. /// </summary> private static void DrawHeader() { // get the prefix to show before the name of the item string prefix = (action.actionTemplate != null) ? action.actionTemplate.title : ""; string actionName = action.name; if (actionName == "" && action.actionTemplate != null) { actionName = action.actionTemplate.name; } string name = blockName + " " + actionIndex + ": " + prefix + actionName; HeroKitCommon.DrawBlockTitle(name); }
/// <summary> /// Draw the header of the block. /// </summary> private static void DrawHeader() { string eventName = ""; if (eventBlock.name == "") { if (eventBlock.eventType > 0) { eventName = EventTypeField.field.items[eventBlock.eventType - 1]; } } else { eventName = eventBlock.name; } HeroKitCommon.DrawBlockTitle(blockName + " " + eventIndex + ": " + eventName); }
/// <summary> /// Draw the header of the block. /// </summary> private static void DrawHeader() { HeroKitCommon.DrawBlockTitle("Bool List"); }
/// <summary> /// Draw the header of the block. /// </summary> private static void DrawHeader() { HeroKitCommon.DrawBlockTitle("Hero Object List"); }
/// <summary> /// Draw the header of the block. /// </summary> private static void DrawHeader() { HeroKitCommon.DrawBlockTitle(blockName); }
/// <summary> /// Draw the header of the block. /// </summary> private static void DrawHeader() { string title = (propertyBlock.propertyTemplate != null) ? propertyBlock.propertyTemplate.name : "[None]"; HeroKitCommon.DrawBlockTitle(blockName + " " + propertyIndex + ": " + title); }
/// <summary> /// Draw the header of the block. /// </summary> private static void DrawHeader() { HeroKitCommon.DrawBlockTitle(blockName + " " + stateIndex + ": " + stateBlock.name); }