Ejemplo n.º 1
0
    public void SpawnAnimation()
    {
        AnimationSpeedInS    = 0.8f;
        KeepOriginalPosition = true;
        KeepOriginalScale    = true;
        ScaleAnimation       = Animation_MoveInDirection.ScaleAnim.Scale_Up;

        KillTile         = false;
        AnimationTrigger = true;
    }
Ejemplo n.º 2
0
    public void TileDeath()
    {
        ScaleAnimation       = ScaleAnim.Scale_Down;
        Direction            = DirectionAnim.Down;
        KeepOriginalPosition = false;
        KeepOriginalScale    = false;
        AnimationSpeedInS    = 0.5f;
        KillTile             = true;

        ActivateAnimation();
    }