Exemple #1
0
 void Awake()
 {
     _collisionsList = collisionsList.GetComponent <SingleSelectionList>();
     _removeButton   = removeButton.GetComponent <Button>();
     _enabledToggle  = enabledToggle.GetComponent <Toggle>();
     _boxPanel       = boxPanel.GetComponent <BoxSubPanel>();
     _copyButton     = copyButton.GetComponent <Button>();
 }
 void Awake()
 {
     _hitsList      = hitsList.GetComponent <SingleSelectionList>();
     _removeButton  = removeButton.GetComponent <Button>();
     _enabledToggle = enabledToggle.GetComponent <Toggle>();
     _boxPanel      = boxPanel.GetComponent <BoxSubPanel>();
     _copyButton    = copyButton.GetComponent <Button>();
     _typeDropdown  = typeDropdown.GetComponent <Dropdown>();
 }