Beispiel #1
0
        void Start()
        {
            _organ             = gameObject.GetComponent <Organ>();
            _organ.DamageEvent = OnDamage;
            Coordinate.Instance.CoordinateChangedEvent += CoordinateChangedEvent;

            HandleFreeze();
        }
Beispiel #2
0
 void Start()
 {
     _organ              = gameObject.GetComponent <Organ>();
     _organ.DamageEvent += OnDamage;
 }