コード例 #1
0
    public override void OnInspectorGUI()
    {
        PsaiTriggerOnSignal trigger = target as PsaiTriggerOnSignal;

        InspectorGuiTriggerTypeBase(trigger);

        if (trigger.TriggerType == PsaiTriggerBase.PsaiTriggerType.triggerMusicTheme)
        {
            InspectorIntensity(trigger);
            InspectorGuiSynchronizeAndSumUpIntensities(trigger);
            InspectorGuiForceImmediateInterruption(trigger);
        }
    }
コード例 #2
0
 public void InspectorIntensity(PsaiTriggerOnSignal trigger)
 {
     trigger.intensity = EditorGUILayout.Slider(new GUIContent("Intensity:"), trigger.intensity, 0.1f, 1.0f);
 }
コード例 #3
0
 public void InspectorIntensity(PsaiTriggerOnSignal trigger)
 {
     trigger.intensity = EditorGUILayout.Slider(new GUIContent("Intensity:"), trigger.intensity, 0.1f, 1.0f);
 }