예제 #1
0
 private void Awake()
 {
     m_BoxCollider = GetComponent <SmartBoxCollider>();
     m_Rigidbody2D = GetComponent <Rigidbody2D>();
     input         = GetComponent <AbstractCharacterInput>();
 }
예제 #2
0
 private void OnEnable()
 {
     collider = (SmartBoxCollider)target;
 }
예제 #3
0
 private void Awake()
 {
     collider  = GetComponent <SmartBoxCollider>();
     rigidbody = GetComponent <Rigidbody2D>();
 }