private void DrawEffect() { //ShiroiFXGUI.DrawTitle(FOVContent, TimeScaleSubtitleHeader); ShiroiFXGUI.DrawAnimatedOrConstantValue(FOVContent, FOVModeContent, ref effect.Mode, ref usesConstantValue, ref effect.ConstantFOV, ref effect.AnimatedFOV); effect.Duration = EditorGUILayout.FloatField(DurationContent, effect.Duration); }
private void DrawEffectTimeScale() { ShiroiFXGUI.DrawTitle(TimeScaleTitle, TimeScaleSubtitleHeader); ShiroiFXGUI.DrawAnimatedOrConstantValue(TimeScaleContent, TimeScaleModeContent, ref effect.Mode, ref usesContantValue, ref effect.ConstantTimeScale, ref effect.AnimatedTimeScale); effect.Duration = EditorGUILayout.FloatField(DurationContent, effect.Duration); }