private void Awake() { _skinHelper = GetComponent <SpineSkinHelper>(); _spineAnimationHelper = GetComponent <SpineAnimationHelper>(); GameManager.Instance.GameStartEvent += GameStartEventHandler; GameManager.Instance.GameEndEvent += GameEndEventHandler; }
protected override void Awake() { base.Awake(); Assert.IsTrue(NPCBehavior is FlowerBehavior); _skinHelper = GetComponent <SpineSkinHelper>(); }
protected override void Awake() { base.Awake(); Assert.IsTrue(PlayerBehavior is PlayerBehavior); Assert.IsTrue(PlayerDriver is PlayerDriver); _skinHelper = GetComponent <SpineSkinHelper>(); }
private void Awake() { _skinHelper = GetComponent <SpineSkinHelper>(); }