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