protected override void RemoveObsoleteInputConfig() { _inputName = null; _float4Value = null; }
public override void Initialize() { base.Initialize(); _value = _value ?? new EditorFloat4(); }
public override sealed void Initialize() { _float4Value = _float4Value ?? new EditorFloat4(); _constValue = _constValue ?? new Float4OutputChannel(0, "Value"); _constValue.DisplayName = "Value"; }
public Float4InputChannel(uint id, string name, Vector4 defaultValue) : base(id, name) { this.defaultValue = defaultValue; }
public override void Draw() { GUILayout.BeginVertical(); _value = EditorGUILayout.Vector4Field( "Value:", _value ); GUILayout.EndVertical(); }
public override sealed void Initialize() { _float4Value = _float4Value ?? new EditorFloat4(); _constValue = _constValue ?? new Float4OutputChannel( 0, "Value" ); _constValue.DisplayName = "Value"; }
public override void Draw() { GUILayout.BeginVertical(); _value = EditorGUILayout.Vector4Field("Value:", _value); GUILayout.EndVertical(); }
public Float4InputChannel( uint id, string name, Vector4 defaultValue ) : base(id, name) { this.defaultValue = defaultValue; }