Example #1
0
    //--> display a list of methods call during the loading Process if the object need to be activated
    private void displayAllTheMethods_ObjIsActivated(GUIStyle style_Yellow_01, GUIStyle style_Blue)
    {
        #region
        //--> Display feedback
        isObjectActivated myScript = (isObjectActivated)target;

        methodModule.displayMethodList("Methods call when the object need to be activated:",
                                       editorMethods,
                                       methodsList,
                                       myScript.methodsList,
                                       style_Blue,
                                       style_Yellow_01,
                                       "The methods are called in the same order as the list. " +
                                       "\nAll methods must be boolean methods. " +
                                       "\nOther methods will be ignored.");

        #endregion
    }
Example #2
0
    //--> display a list of methods call when the Focus starts
    private void displayAllTheMethods_FocusStarts(GUIStyle style_Yellow_01, GUIStyle style_Blue)
    {
        #region
        //--> Display feedback
        AP_Generic myScript = (AP_Generic)target;

        methodModule.displayMethodList("Methods call when focus player click on the UI Button:",
                                       editorMethods,
                                       methodsList,
                                       myScript.methodsList,
                                       style_Blue,
                                       style_Yellow_01,
                                       "The methods are called in the same order as the list. " +
                                       "\nAll methods must be boolean methods. " +
                                       "\nOther methods will be ignored.");

        #endregion
    }