public override void OnInspectorGUI() { header.DoLayout(); var skin = EditorGUIUtility.GetBuiltinSkin(EditorSkin.Inspector); EditorGUILayout.BeginVertical(skin.box); ShiroiFXGUI.DrawTitle(FOVTitle, FOVSubtitle); DrawEffect(); DrawControllerConfig(); EditorGUILayout.EndVertical(); }
public override void OnInspectorGUI() { header.DoLayout(); var skin = EditorGUIUtility.GetBuiltinSkin(EditorSkin.Inspector); EditorGUILayout.BeginVertical(skin.box); ShiroiFXGUI.DrawTitle(FreezeFrameTitle, FreezeFrameSubtitle); DrawEffectTimeScale(); DrawUseTimeController(); EditorGUILayout.EndVertical(); }
public override void OnInspectorGUI() { header.DoLayout(); var skin = EditorGUIUtility.GetBuiltinSkin(EditorSkin.Inspector); EditorGUILayout.BeginVertical(skin.box); ShiroiFXGUI.DrawTitle(HeaderTitle, HeaderSubtitle); EditorGUI.BeginChangeCheck(); DrawVolume(); DrawLoop(); if (EditorGUI.EndChangeCheck()) { serializedObject.ApplyModifiedProperties(); } EditorGUILayout.EndVertical(); }
public override void OnInspectorGUI() { EffectHeader.DoLayout(); GUISkin skin; using (var boxScope = ShiroiFXGUI.EffectBox(out skin)) { ShiroiFXGUI.DrawTitle(Title, Subtitle); ShiroiFXGUI.DrawAndApplyProperties( serializedObject, "UseShakeControllerIfPresent", "Frequency", "Intensity", "Duration", "Mode" ); effect.Dimensions = (ObjectShakeEffect.ShakeDimension)EditorGUILayout.EnumFlagsField(DimensionsContent, effect.Dimensions); serializedObject.Update(); } }
public override void OnInspectorGUI() { header.DoLayout(); DrawDefaultInspector(); }