コード例 #1
0
 void Awake()
 {
     _collisionsList = collisionsList.GetComponent <SingleSelectionList>();
     _removeButton   = removeButton.GetComponent <Button>();
     _enabledToggle  = enabledToggle.GetComponent <Toggle>();
     _boxPanel       = boxPanel.GetComponent <BoxSubPanel>();
     _copyButton     = copyButton.GetComponent <Button>();
 }
コード例 #2
0
 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>();
 }