public Behavior() { ProcessingUpdate.Default.Add(this); ProcessingSystemAttributes.Setup(this); ProcessingGroupAttributes.Setup(this); ProcessingSignals.TryAddToGlobal(this); }
protected override void Awake() { conditionSignals = ProcessingSignals.Check(this); conditionManualDeploy = this is IManualDeploy; ProcessingEntities.Create(this); var cObject = Add <ComponentObject>(); cObject.transform = transform; }
private void HandleKill(bool is_on) { if (!is_on) { return; } dataCreature.sr_back.enabled = false; GetComponent <Animator>().Play("anim_creature_death"); Timer.Add(0.48f, () => { HandleDestroy(); }); SignalScore signal; ProcessingSignals.Send(signal); }