Esempio n. 1
0
    private void StartAct_AppearGrave()
    {
        _graveObj = Instantiate(PrefabProvider_Battle.instance.GetPrefab_Grave());
        _graveObj.transform.position = _currentAction.moveTarget + new Vector3(0f, 0f, -0.01f);

        _graveObj.GetComponent <Grave>().Appear(FinishAct_AppearGrave, _moniker.ToString(), _spineSkeleton.skeleton.flipX);
    }
Esempio n. 2
0
    public SkeletonGraphic GetCharacterUISpine(Divine.Moniker moniker)
    {
        SkeletonGraphic sklGraph = null;

        sklGraph = Instantiate(PrefabProvider_Menu.instance.GetPrefab_CharacterUI(
                                   moniker.ToString())
                               ).GetComponent <SkeletonGraphic>();

        CustomizeManager.instance.DoCustomize(sklGraph, moniker);

        return(sklGraph);
    }
Esempio n. 3
0
    //Private Method
    private CharacterVisual LoadNewCharacter(Divine.Moniker moniker)
    {
        GameObject gObj = Instantiate(PrefabProvider_Battle.instance.GetPrefab_CharVisual(moniker.ToString()));

        gObj.transform.position = new Vector3(1000, 1000, 1000);

        return(gObj.GetComponent <CharacterVisual>());
    }