Example #1
0
    private void onClick()
    {
        SwitchPanel switchPanel = Manager.Instance.UI.StoryPanel.SwitchPanel;

        Story.Mode storyMode = Manager.Instance.Object.StoryMode;

        switchPanel.HideAllCase();

        storyMode.CaseKey = _key;
        storyMode.NextCmd();

        switchPanel.Hide();
    }
Example #2
0
 protected virtual void OnSwitchParentChanged( DependencyPropertyChangedEventArgs e )
 {
     _switchParent = e.NewValue as SwitchPanel;
 }
Example #3
0
 protected internal void SetSwitchParent( SwitchPanel value )
 {
     this.SetValue( AnimationPanel.SwitchParentPropertyKey, value );
 }
Example #4
0
 public void InjectSwitchPanel(SwitchPanel switchPanel)
 {
     this.switchPanel = switchPanel;
 }