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