Пример #1
0
    void Start()
    {
        ActorRef = GetComponent <PC_Base>();


        Timeline_Ref   = GetComponentInParent <PC_Inst_Timeline>();
        NextInput      = new PC_Inst_Timeline.Input_Event_st();
        NextInput.type = PC_Control.Input_st.NULL;
        DefPos         = GetComponent <Transform>().position;
    }
Пример #2
0
    void UpdateInputStates()
    {
        ///*対応したキャラクターに入力の情報を送る

        if (NextInput.type != PC_Control.Input_st.Over)
        {
            if (NextInput.type != PC_Control.Input_st.NULL)
            {
                ActorRef.DispatchEvent(((int)NextInput.type));
            }
            NextInput = Timeline_Ref.FindNext(NextInput);
        }
    }
Пример #3
0
 void ResetEvent()
 {
     GetComponent <Transform>().position = DefPos;
     NextInput = Timeline_Ref.GetZero();
 }
Пример #4
0
 public void CutException()
 {
     NextInput = Timeline_Ref.FindNext();
 }