private void Awake()
 {
     transform2DProxy     = GetComponentNotNull <C_Transform2DProxy>();
     face                 = GetComponentNotNull <Face>();
     groundChecker        = GetComponentNotNull <C_ColliderChecker>().GetChecker("Ground Checker");
     jump                 = GetComponentNotNull <Jump>();
     m_Rigidbody2DWrapper = GetComponentNotNull <C_Rigidbody2DProxy>();
 }
 /// <summary>
 /// 依赖组件自动赋值
 /// </summary>
 private void InitDependency()
 {
     transform2DProxy = GetComponentNotNull <C_Transform2DProxy>();
 }
Beispiel #3
0
 private void Awake()
 {
     transform2DProxy = GetComponentNotNull <C_Transform2DProxy>();
     command          = GetComponentNotNull <Command>();
     climbTimeBar     = GetComponentNotNull <C_ClimbTimeBar>();
 }
Beispiel #4
0
 private void Awake()
 {
     transform2DProxy = GetComponentNotNull <C_Transform2DProxy>();
     rigidbody2DProxy = GetComponentNotNull <C_Rigidbody2DProxy>();
 }