24 lines
No EOL
482 B
C#
24 lines
No EOL
482 B
C#
|
|
using UnityEngine;
|
|
|
|
|
|
namespace gay.lilyy.PlaneCam
|
|
{
|
|
public enum PlaneDirection
|
|
{
|
|
XPositive,
|
|
XNegative,
|
|
YPositive,
|
|
YNegative,
|
|
ZPositive,
|
|
ZNegative
|
|
}
|
|
|
|
[AddComponentMenu("LillithRosePup/Plane Cam")]
|
|
[RequireComponent(typeof(Camera))]
|
|
public class PlaneCam : MonoBehaviour, VRC.SDKBase.IEditorOnly
|
|
{
|
|
public GameObject target;
|
|
public PlaneDirection direction = PlaneDirection.ZPositive;
|
|
}
|
|
} |