mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-11-30 00:48:00 +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;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|