19 lines
514 B (Stored with Git LFS)
C#
19 lines
514 B (Stored with Git LFS)
C#
// Copyright (c) Pixel Crushers. All rights reserved.
|
|
|
|
using UnityEngine;
|
|
|
|
namespace PixelCrushers.Wrappers
|
|
{
|
|
|
|
/// <summary>
|
|
/// This wrapper class keeps references intact if you switch between the
|
|
/// compiled assembly and source code versions of the original class.
|
|
/// </summary>
|
|
[AddComponentMenu("Pixel Crushers/Common/UI/Keep RectTransform Onscreen")]
|
|
[DisallowMultipleComponent]
|
|
public class KeepRectTransformOnscreen : PixelCrushers.KeepRectTransformOnscreen
|
|
{
|
|
}
|
|
|
|
}
|