Camera tools
This commit is contained in:
parent
0a1852e0c9
commit
e608e2a56b
17 changed files with 384 additions and 0 deletions
24
PlaneCam/Runtime/PlaneCam.cs
Normal file
24
PlaneCam/Runtime/PlaneCam.cs
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
|
||||
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;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue