public override StoryBaseCtrl CopySelf() { StoryMusicCtrl obj = new StoryMusicCtrl(); obj.bWait = bWait; obj.bClick = bClick; obj.time = time; obj._normalInfo = _normalInfo; return obj; }
//事件列表区 private void EventSettting() { int btnWidth = 200; GUILayout.Label("人物相关"); if (GUILayout.Button("位置", GUILayout.Width(btnWidth))) { StoryPositionCtrl objCtrl = new StoryPositionCtrl(); _selectCtrl = objCtrl; } if (GUILayout.Button("走动", GUILayout.Width(btnWidth))) { StoryMoveCtrl objCtrl = new StoryMoveCtrl(); _selectCtrl = objCtrl; } if (GUILayout.Button("动作", GUILayout.Width(btnWidth))) { StoryAnimCtrl objCtrl = new StoryAnimCtrl(); _selectCtrl = objCtrl; } GUILayout.Label("界面"); if (GUILayout.Button("对话", GUILayout.Width(btnWidth))) { StoryTalkCtrl objCtrl = new StoryTalkCtrl(); _selectCtrl = objCtrl; } if (GUILayout.Button("图片", GUILayout.Width(btnWidth))) { StoryPictureCtrl objCtrl = new StoryPictureCtrl(); _selectCtrl = objCtrl; } if (GUILayout.Button("描述", GUILayout.Width(btnWidth))) { StoryUIDescCtrl objCtrl = new StoryUIDescCtrl(); _selectCtrl = objCtrl; } if (GUILayout.Button("背景控制", GUILayout.Width(btnWidth))) { StoryUIBackCtrl objCtrl = new StoryUIBackCtrl(); _selectCtrl = objCtrl; } // if (GUILayout.Button("选项", GUILayout.Width(btnWidth))) // { // StoryOptionCtrl objCtrl = new StoryOptionCtrl(); // _selectCtrl = objCtrl; // } GUILayout.Label("效果"); if (GUILayout.Button("特效", GUILayout.Width(btnWidth))) { StoryEffectCtrl objCtrl = new StoryEffectCtrl(); _selectCtrl = objCtrl; } if (GUILayout.Button("音效", GUILayout.Width(btnWidth))) { StoryMusicCtrl objCtrl = new StoryMusicCtrl(); _selectCtrl = objCtrl; } GUILayout.Label("摄像机"); if (GUILayout.Button("分离", GUILayout.Width(btnWidth))) { StorySeparateCtrl objCtrl = new StorySeparateCtrl(); _selectCtrl = objCtrl; } if (GUILayout.Button("合并", GUILayout.Width(btnWidth))) { StoryCombineCtrl objCtrl = new StoryCombineCtrl(); _selectCtrl = objCtrl; } if (GUILayout.Button("目标", GUILayout.Width(btnWidth))) { StoryCameraLookCtrl objCtrl = new StoryCameraLookCtrl(); _selectCtrl = objCtrl; } if (GUILayout.Button("缓动", GUILayout.Width(btnWidth))) { StoryCameraSmoothCtrl objCtrl = new StoryCameraSmoothCtrl(); _selectCtrl = objCtrl; } if (GUILayout.Button("震屏", GUILayout.Width(btnWidth))) { StoryCameraShakeCtrl objCtrl = new StoryCameraShakeCtrl(); _selectCtrl = objCtrl; } if (GUILayout.Button("广角设置", GUILayout.Width(btnWidth))) { StoryCameraFovCtrl objCtrl = new StoryCameraFovCtrl(); _selectCtrl = objCtrl; } if (GUILayout.Button("淡入淡出", GUILayout.Width(btnWidth))) { StoryTweenFadeCtrl objCtrl = new StoryTweenFadeCtrl(); _selectCtrl = objCtrl; } if (GUILayout.Button("画面去色", GUILayout.Width(btnWidth))) { StoryGrayscaleCtrl objCtrl = new StoryGrayscaleCtrl(); _selectCtrl = objCtrl; } if (GUILayout.Button("蒙太奇", GUILayout.Width(btnWidth))) { StoryMontageCtrl objCtrl = new StoryMontageCtrl(); _selectCtrl = objCtrl; } GUILayout.Label("缓动变换相关"); if (GUILayout.Button("直线变换", GUILayout.Width(btnWidth))) { StoryTweenMoveCtrl objCtrl = new StoryTweenMoveCtrl(); _selectCtrl = objCtrl; } if (GUILayout.Button("旋转变换", GUILayout.Width(btnWidth))) { StoryTweenRotateCtrl objCtrl = new StoryTweenRotateCtrl(); _selectCtrl = objCtrl; } GUILayout.Label("时间"); if (GUILayout.Button("等待", GUILayout.Width(btnWidth))) { _selectCtrl = new StoryTimeCtrl(); } }