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