Пример #1
0
    // ===========================================================
    // Methods for/from SuperClass/Interfaces
    // ===========================================================

    // ===========================================================
    // Methods
    // ===========================================================

    protected virtual void OnEnable()
    {
        s = target as MadLevelAbstractLayout;

        iconTemplate = serializedObject.FindProperty("iconTemplate");

        twoStepActivationType = serializedObject.FindProperty("twoStepActivationType");

        onIconActivatePlayAudio       = serializedObject.FindProperty("onIconActivatePlayAudio");
        onIconActivatePlayAudioClip   = serializedObject.FindProperty("onIconActivatePlayAudioClip");
        onIconActivatePlayAudioVolume = serializedObject.FindProperty("onIconActivatePlayAudioVolume");

        onIconDeactivatePlayAudio       = serializedObject.FindProperty("onIconDeactivatePlayAudio");
        onIconDeactivatePlayAudioClip   = serializedObject.FindProperty("onIconDeactivatePlayAudioClip");
        onIconDeactivatePlayAudioVolume = serializedObject.FindProperty("onIconDeactivatePlayAudioVolume");

        onIconActivateMessage           = serializedObject.FindProperty("onIconActivateMessage");
        onIconActivateMessageReceiver   = serializedObject.FindProperty("onIconActivateMessageReceiver");
        onIconActivateMessageMethodName = serializedObject.FindProperty("onIconActivateMessageMethodName");

        onIconDeactivateMessage           = serializedObject.FindProperty("onIconDeactivateMessage");
        onIconDeactivateMessageReceiver   = serializedObject.FindProperty("onIconDeactivateMessageReceiver");
        onIconDeactivateMessageMethodName = serializedObject.FindProperty("onIconDeactivateMessageMethodName");

        handleMobileBackButton          = serializedObject.FindProperty("handleMobileBackButton");
        handleMobileBackButtonAction    = serializedObject.FindProperty("handleMobileBackButtonAction");
        handleMobileBackButtonLevelName = serializedObject.FindProperty("handleMobileBackButtonLevelName");

        configuration = serializedObject.FindProperty("configuration");
    }
Пример #2
0
    protected virtual void OnEnable()
    {
        s = target as MadLevelAbstractLayout;

        iconTemplate         = serializedObject.FindProperty("iconTemplate");
        iconTemplates        = serializedObject.FindProperty("iconTemplates");
        iconTemplateQuantity = serializedObject.FindProperty("iconTemplateQuantity");

        lookAtLastLevel = serializedObject.FindProperty("lookAtLastLevel");
        lookAtLevel     = serializedObject.FindProperty("lookAtLevel");

        enumerationType   = serializedObject.FindProperty("enumerationType");
        enumerationOffset = serializedObject.FindProperty("enumerationOffset");

        twoStepActivationType = serializedObject.FindProperty("twoStepActivationType");

        loadLevel = serializedObject.FindProperty("loadLevel");
        loadLevelLoadLevelDelay         = serializedObject.FindProperty("loadLevelLoadLevelDelay");
        loadLevelMessageReceiver        = serializedObject.FindProperty("loadLevelMessageReceiver");
        loadLevelMessageName            = serializedObject.FindProperty("loadLevelMessageName");
        loadLevelMessageIncludeChildren = serializedObject.FindProperty("loadLevelMessageIncludeChildren");

        onIconActivatePlayAudio       = serializedObject.FindProperty("onIconActivatePlayAudio");
        onIconActivatePlayAudioClip   = serializedObject.FindProperty("onIconActivatePlayAudioClip");
        onIconActivatePlayAudioVolume = serializedObject.FindProperty("onIconActivatePlayAudioVolume");

        onIconDeactivatePlayAudio       = serializedObject.FindProperty("onIconDeactivatePlayAudio");
        onIconDeactivatePlayAudioClip   = serializedObject.FindProperty("onIconDeactivatePlayAudioClip");
        onIconDeactivatePlayAudioVolume = serializedObject.FindProperty("onIconDeactivatePlayAudioVolume");

        onIconActivateMessage                = serializedObject.FindProperty("onIconActivateMessage");
        onIconActivateMessageReceiver        = serializedObject.FindProperty("onIconActivateMessageReceiver");
        onIconActivateMessageMethodName      = serializedObject.FindProperty("onIconActivateMessageMethodName");
        onIconActivateMessageIncludeChildren = serializedObject.FindProperty("onIconActivateMessageIncludeChildren");

        onIconDeactivateMessage                = serializedObject.FindProperty("onIconDeactivateMessage");
        onIconDeactivateMessageReceiver        = serializedObject.FindProperty("onIconDeactivateMessageReceiver");
        onIconDeactivateMessageMethodName      = serializedObject.FindProperty("onIconDeactivateMessageMethodName");
        onIconDeactivateMessageIncludeChildren = serializedObject.FindProperty("onIconDeactivateMessageIncludeChildren");

        handleMobileBackButton          = serializedObject.FindProperty("handleMobileBackButton");
        handleMobileBackButtonAction    = serializedObject.FindProperty("handleMobileBackButtonAction");
        handleMobileBackButtonLevelName = serializedObject.FindProperty("handleMobileBackButtonLevelName");

        configuration      = serializedObject.FindProperty("configuration");
        configurationGroup = serializedObject.FindProperty("configurationGroup");
        useCurrentlyActiveConfiguration = serializedObject.FindProperty("useCurrentlyActiveConfiguration");
    }
    protected virtual void OnEnable() {
        s = target as MadLevelAbstractLayout;
    
        iconTemplate = serializedObject.FindProperty("iconTemplate");

        lookAtLastLevel = serializedObject.FindProperty("lookAtLastLevel");
        lookAtLevel = serializedObject.FindProperty("lookAtLevel");

        enumerationType = serializedObject.FindProperty("enumerationType");
        enumerationOffset = serializedObject.FindProperty("enumerationOffset");
        
        twoStepActivationType = serializedObject.FindProperty("twoStepActivationType");

        loadLevel = serializedObject.FindProperty("loadLevel");
        loadLevelLoadLevelDelay = serializedObject.FindProperty("loadLevelLoadLevelDelay");
        loadLevelMessageReceiver = serializedObject.FindProperty("loadLevelMessageReceiver");
        loadLevelMessageName = serializedObject.FindProperty("loadLevelMessageName");
        loadLevelMessageIncludeChildren = serializedObject.FindProperty("loadLevelMessageIncludeChildren");
        
        onIconActivatePlayAudio = serializedObject.FindProperty("onIconActivatePlayAudio");
        onIconActivatePlayAudioClip = serializedObject.FindProperty("onIconActivatePlayAudioClip");
        onIconActivatePlayAudioVolume = serializedObject.FindProperty("onIconActivatePlayAudioVolume");
        
        onIconDeactivatePlayAudio = serializedObject.FindProperty("onIconDeactivatePlayAudio");
        onIconDeactivatePlayAudioClip = serializedObject.FindProperty("onIconDeactivatePlayAudioClip");
        onIconDeactivatePlayAudioVolume = serializedObject.FindProperty("onIconDeactivatePlayAudioVolume");
        
        onIconActivateMessage = serializedObject.FindProperty("onIconActivateMessage");
        onIconActivateMessageReceiver = serializedObject.FindProperty("onIconActivateMessageReceiver");
        onIconActivateMessageMethodName = serializedObject.FindProperty("onIconActivateMessageMethodName");
        onIconActivateMessageIncludeChildren = serializedObject.FindProperty("onIconActivateMessageIncludeChildren");
        
        onIconDeactivateMessage = serializedObject.FindProperty("onIconDeactivateMessage");
        onIconDeactivateMessageReceiver = serializedObject.FindProperty("onIconDeactivateMessageReceiver");
        onIconDeactivateMessageMethodName = serializedObject.FindProperty("onIconDeactivateMessageMethodName");
        onIconDeactivateMessageIncludeChildren = serializedObject.FindProperty("onIconDeactivateMessageIncludeChildren");
        
        handleMobileBackButton = serializedObject.FindProperty("handleMobileBackButton");
        handleMobileBackButtonAction = serializedObject.FindProperty("handleMobileBackButtonAction");
        handleMobileBackButtonLevelName = serializedObject.FindProperty("handleMobileBackButtonLevelName");
        
        configuration = serializedObject.FindProperty("configuration");
        configurationGroup = serializedObject.FindProperty("configurationGroup");
        useCurrentlyActiveConfiguration = serializedObject.FindProperty("useCurrentlyActiveConfiguration");
    }