Beispiel #1
0
 private void Start()
 {
     animator = GetComponent <Animator>();
     controlBoard_RecordControl = GetComponent <ControlBoardControl>();
     ResetRecorder();
     controlBoard_RecordControl.GiveAwayControlBoardFocus();
 }
Beispiel #2
0
 private void LateUpdate()
 {
     if (activeControl != ControlBoardControl.Focused)
     {
         activeControl = ControlBoardControl.Focused;
         activeOperationHeading.text = activeControl.OperationHeading;
     }
 }
Beispiel #3
0
 public void GiveAwayControlBoardFocus()
 {
     focused = offloadControl ?? this;
 }
Beispiel #4
0
 public void RequestControlBoardFocus()
 {
     focused = this;
 }
Beispiel #5
0
 private void Awake()
 {
     animationMapping = playbackDrive.linearMapping;
     control          = GetComponent <ControlBoardControl>();
 }