Пример #1
0
 private void Awake()
 {
     calculate = gameObject.AddComponent(typeof(Calculations)) as Calculations;
 }
Пример #2
0
 //=======================================================================================//
 private void OnEnable()
 {
     calculate = GetComponent <Calculations>();
     name      = "ElectroWeakSymmetryBreak";
 }