Пример #1
0
 public override bool OnMakeTrue(NodeData wData)
 {
     if (inputCom == null)
     {
         inputCom = ECSLocate.ECS.GetWorld().GetCom <InputCom>();
     }
     return(checkAction == inputCom.CurrAction);
 }
Пример #2
0
 public static void PushInputAction(InputAction action, ParamData param)
 {
     if (_InputCom == null)
     {
         _InputCom = ECSLocate.ECS.GetWorld().GetCom <InputCom>();
     }
     _InputCom.PushAction(action, param);
 }
Пример #3
0
 protected override void OnEnter(NodeData wData)
 {
     if (inputCom == null)
     {
         inputCom = ECSLocate.ECS.GetWorld().GetCom <InputCom>();
     }
     Enter(wData);
 }
Пример #4
0
 public static void Clear()
 {
     Center      = null;
     ShapeRender = null;
     _InputCom   = null;
 }