Exemple #1
0
        /// <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);
        }
Exemple #2
0
        /// <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);
        }
Exemple #3
0
 /// <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");
 }
Exemple #5
0
 /// <summary>
 /// Draw the header of the block.
 /// </summary>
 private static void DrawHeader()
 {
     HeroKitCommon.DrawBlockTitle(blockName);
 }
Exemple #6
0
        /// <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);
        }
Exemple #7
0
 /// <summary>
 /// Draw the header of the block.
 /// </summary>
 private static void DrawHeader()
 {
     HeroKitCommon.DrawBlockTitle(blockName + " " + stateIndex + ": " + stateBlock.name);
 }