private void Awake() { Animator = GetComponentInChildren <Animator>(); EffectTools = GetComponent <EffectTools>(); Dispatcher = GetComponent <PlayerDispatcher>(); PlayerDropkick = GetComponent <PlayerDropkick>(); if (_players == null) { _players = new List <Player>(); } if (!_players.Contains(this)) { _players.Add(this); } }
public DropkickEvent(PlayerDropkick player, string name, EventDispatcher dispatcher) : base(name, dispatcher) { Player = player; }