MF_SelectionManager
Holds default values to use for MF_B_Selection and track the currently selected object.
This should be attached to a prefab that will be instantiated (once) by the first MF_B_Selection script to call it.
All selectable and/or targetable objects to display selection/targeting icons must point to the same prefab that contains this script.
Public Variables
detectedMark : GameObject
A prefab of the bracket to display when this object has been detected by the selected object.
analyzedMark : GameObject
A prefab of the bracket to display when this object has been analyzed by the selected object.
weaponTargetMark : GameObject
A prefab of the bracket to display when this object is the weapon target of the selected object.
navTargetMark : GameObject
A prefab of the bracket to display when this object is in the current navigation target of the selected object.
selectedMark : GameObject
A prefab of the bracket to display when this object is the selected object. If left blank, the default defined in the selection manager will be used.
selectedObject : GameObject
Visible for debug purposes, and this should not be changed. This is the currently selected object in the scene.
Hidden Variables
selectedObjScript : MF_AbstractSelection
Tracks the currently selected object.
Holds default values to use for MF_B_Selection and track the currently selected object.
This should be attached to a prefab that will be instantiated (once) by the first MF_B_Selection script to call it.
All selectable and/or targetable objects to display selection/targeting icons must point to the same prefab that contains this script.
Public Variables
detectedMark : GameObject
A prefab of the bracket to display when this object has been detected by the selected object.
analyzedMark : GameObject
A prefab of the bracket to display when this object has been analyzed by the selected object.
weaponTargetMark : GameObject
A prefab of the bracket to display when this object is the weapon target of the selected object.
navTargetMark : GameObject
A prefab of the bracket to display when this object is in the current navigation target of the selected object.
selectedMark : GameObject
A prefab of the bracket to display when this object is the selected object. If left blank, the default defined in the selection manager will be used.
selectedObject : GameObject
Visible for debug purposes, and this should not be changed. This is the currently selected object in the scene.
Hidden Variables
selectedObjScript : MF_AbstractSelection
Tracks the currently selected object.