Пример #1
0
        public static void BuildField(HeroActionParams actionParams)
        {
            HeroAction heroAction = actionParams.heroAction;

            //-----------------------------------------
            // create the action fields if they don't exist
            //-----------------------------------------
            ActionCommon.CreateActionFieldsOnHeroObject(heroAction, 1);

            //-----------------------------------------
            // create the fields for this action
            //-----------------------------------------

            // holds the id of the action that is the head of the loop
            ActionCommon.CreateLoopFieldData(heroAction.actionFields[0]);

            SimpleLayout.Label("There are no fields for this action.");
        }