コード例 #1
0
    void Start()
    {
        mover    = GetComponent <CharacterMover>();
        animator = GetComponent <Animator>();
        skill    = GetComponent <CharacterMoveAttack>();
        //singleAttack = GetComponent<CharacterSingleAttack>();
        cameraMove = GameObject.FindGameObjectWithTag("MainCamera").GetComponent <CameraMove>();

        activeTime = ActiveTimeCreater.Instance.CreateActiveTime(this);
        SetActiveTimeEventHandler();
        SetPositionOnTile();
        activeCircle.SetActive(false);
        DisableActionMode();
        CreateCharacterUI();
        //Init();
    }
コード例 #2
0
ファイル: Character.cs プロジェクト: tetsujp84/karaketsua
    void Start()
    {
        mover = GetComponent<CharacterMover>();
        animator = GetComponent<Animator>();
        skill = GetComponent<CharacterMoveAttack>();
        //singleAttack = GetComponent<CharacterSingleAttack>();
        cameraMove = GameObject.FindGameObjectWithTag("MainCamera").GetComponent<CameraMove>();

        activeTime = ActiveTimeCreater.Instance.CreateActiveTime(this);
        SetActiveTimeEventHandler();
        SetPositionOnTile();
        activeCircle.SetActive(false);
        DisableActionMode();
        CreateCharacterUI();
        //Init();
    }