Ejemplo n.º 1
0
    public void characterLargeRotation(double rotationTo)
    {
        if (containerCustomCharacterLarge == null)
        {
            return;
        }

        containerCustomCharacterLarge.HandleContainerRotation(rotationTo);
    }
Ejemplo n.º 2
0
    public IEnumerator showCharacterCo()
    {
        yield return(new WaitForSeconds(.55f));

        ShowPanelTop(containerCharacter, false);

        if (containerCharacter != null)
        {
            containerCharacter.ResetRigidBodiesVelocity();
        }

        if (containerCustomCharacterSmall != null)
        {
            containerCustomCharacterSmall.HandleContainerScale(1);
            containerCustomCharacterSmall.HandleContainerRotation(.91);

            GameUIController.Instance.currentDraggableUIGameObject =
                containerCustomCharacterSmall.containerRotator;
        }
    }
Ejemplo n.º 3
0
    public IEnumerator showCharacterCo()
    {
        yield return(new WaitForSeconds(.55f));

        TweenUtil.ShowObjectTop(containerCharacter);

        if (containerCharacter != null)
        {
            containerCharacter.ResetRigidBodiesVelocity();
        }

        if (containerCustomCharacterSmall != null)
        {
            containerCustomCharacterSmall.HandleContainerScale(1);
            containerCustomCharacterSmall.HandleContainerRotation(.91);

            InputSystem.Instance.currentDraggableUIGameObject =
                containerCustomCharacterSmall.containerRotator;
        }
    }