FiE-Game/Assets/Scripts/Fie/Title/FieTitleCameraScaler.cs

22 lines
327 B
C#
Raw Normal View History

2018-11-20 20:10:49 +01:00
using UnityEngine;
namespace Fie.Title
{
public class FieTitleCameraScaler : MonoBehaviour
{
public Transform syncScaleTransform;
private void Start()
{
}
private void LateUpdate()
{
if (syncScaleTransform != null)
{
base.transform.localScale = syncScaleTransform.transform.localScale;
}
}
}
}