Example #1
0
    public void Init()
    {
        state = RoleState.Falling;

        groundDct = GetComponent <GroundDetect>();

        jumpProc = GetComponent <JumpProcess>();
        jumpProc.init();

        fallProc = GetComponent <FallProcess>();

        slideProc = GetComponent <SlideProcess>();

        moveProc = GetComponent <MoveProcess>();
        moveProc.init();
    }