mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-11-22 22:07:59 +01:00
21 lines
327 B
C#
21 lines
327 B
C#
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;
|
|
}
|
|
}
|
|
}
|
|
}
|