Class Base
Assembly: cs.temp.dll.dll
Syntax
public abstract class Base : MonoBehaviour
Fields
completionDistance
Declaration
public float completionDistance
Field Value
debounceStartupTimeoutSec
Declaration
public float debounceStartupTimeoutSec
Field Value
debounceTimeoutSec
Declaration
public float debounceTimeoutSec
Field Value
FrameID
Declaration
Field Value
maximumNumberOfTasks
Declaration
public int maximumNumberOfTasks
Field Value
onNewTask
Declaration
public OnNewTask onNewTask
Field Value
PublishGoal
Declaration
Field Value
sean
Declaration
Field Value
timeoutTaskSeconds
Declaration
public float timeoutTaskSeconds
Field Value
Topic
Declaration
public static string Topic
Field Value
Properties
interactiveStart
Declaration
public GameObject interactiveStart { get; }
Property Value
Type |
Description |
GameObject |
|
isRunning
Declaration
public bool isRunning { get; }
Property Value
number
Declaration
public ushort number { get; }
Property Value
Declaration
public Transform personGoalTransform { get; set; }
Property Value
Type |
Description |
Transform |
|
Declaration
public Transform personStartTransform { get; set; }
Property Value
Type |
Description |
Transform |
|
playerGoal
Declaration
public GameObject playerGoal { get; protected set; }
Property Value
Type |
Description |
GameObject |
|
playerStart
Declaration
public GameObject playerStart { get; protected set; }
Property Value
Type |
Description |
GameObject |
|
robotGoal
Declaration
public GameObject robotGoal { get; protected set; }
Property Value
Type |
Description |
GameObject |
|
Declaration
public Transform robotGoalTransform { get; set; }
Property Value
Type |
Description |
Transform |
|
robotStart
Declaration
public GameObject robotStart { get; protected set; }
Property Value
Type |
Description |
GameObject |
|
Declaration
public Transform robotStartTransform { get; set; }
Property Value
Type |
Description |
Transform |
|
Methods
Awake()
Declaration
GetRandomGroup(out Vector3)
Sample a random group (from ground truth, if available)
Declaration
protected bool GetRandomGroup(out Vector3 center)
Parameters
Type |
Name |
Description |
Vector3 |
center |
|
Returns
Sample a random and unoccupied group member position (from ground truth, if available)
Declaration
protected bool GetRandomGroupMembershipTransform(out Vector3 position, out Quaternion rotation)
Parameters
Type |
Name |
Description |
Vector3 |
position |
|
Quaternion |
rotation |
|
Returns
Type |
Description |
Boolean |
true if a group center is found and returned via the output argument
|
NewTask()
Declaration
protected abstract bool NewTask()
Returns
SetTargetFlags(GameObject)
Declaration
public void SetTargetFlags(GameObject goal)
Parameters
Type |
Name |
Description |
GameObject |
goal |
|
Start()
Declaration
public virtual void Start()
Update()
Declaration