change: output the object hit by generic observers
This commit is contained in:
@@ -34,6 +34,8 @@ namespace Reset {
|
|||||||
|
|
||||||
private EnvironmentObserver observer;
|
private EnvironmentObserver observer;
|
||||||
|
|
||||||
|
public BBParameter<RaycastHit> outputHit;
|
||||||
|
|
||||||
#if UNITY_EDITOR
|
#if UNITY_EDITOR
|
||||||
protected override void OnTaskInspectorGUI(){
|
protected override void OnTaskInspectorGUI(){
|
||||||
BBParameterEditor.ParameterField("Cast Type", castType);
|
BBParameterEditor.ParameterField("Cast Type", castType);
|
||||||
@@ -60,6 +62,8 @@ namespace Reset {
|
|||||||
if (drawGizmos) {
|
if (drawGizmos) {
|
||||||
drawGizmosOnlyWhenActive = EditorGUILayout.Toggle("Draw Gizmos Only When Active", drawGizmosOnlyWhenActive);
|
drawGizmosOnlyWhenActive = EditorGUILayout.Toggle("Draw Gizmos Only When Active", drawGizmosOnlyWhenActive);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BBParameterEditor.ParameterField("Output Hit", outputHit);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user