protected override void OnInitialize() { transform = Actor.GetComponent <Transform2>(); player = Actor.GetComponent <PlayerManager>(); rigidbody = Actor.GetComponent <Rigidbody>(); equip = Actor.GetComponent <Equip>(); binding = new PlayerKeys(); }
public void SetBinding(PlayerKeys keys) { binding = keys; }