b486678290
Library -Artifacts
21 lines
350 B
C#
21 lines
350 B
C#
using UnityEngine;
|
|
|
|
namespace Cinemachine.Examples
|
|
{
|
|
|
|
[AddComponentMenu("")] // Don't display in add component menu
|
|
public class ActivateCamOnPlay : MonoBehaviour
|
|
{
|
|
public CinemachineVirtualCameraBase vcam;
|
|
|
|
// Use this for initialization
|
|
void Start ()
|
|
{
|
|
if (vcam)
|
|
{
|
|
vcam.MoveToTopOfPrioritySubqueue();
|
|
}
|
|
}
|
|
}
|
|
|
|
} |