24 lines
552 B (Stored with Git LFS)
C#
24 lines
552 B (Stored with Git LFS)
C#
// Copyright (c) Pixel Crushers. All rights reserved.
|
|
|
|
using UnityEngine;
|
|
|
|
namespace PixelCrushers.DialogueSystem
|
|
{
|
|
|
|
/// <summary>
|
|
/// This component allows you specify a camera angle to use when a Camera()
|
|
/// sequencer command uses the reserved keyword 'angle'.
|
|
/// </summary>
|
|
[AddComponentMenu("")] // Use wrapper.
|
|
public class DefaultCameraAngle : MonoBehaviour
|
|
{
|
|
|
|
/// <summary>
|
|
/// The default camera angle for the object.
|
|
/// </summary>
|
|
public string cameraAngle = "Closeup";
|
|
|
|
}
|
|
|
|
}
|