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

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