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;
|
||||
}
|
||||
}
|
||||
11
PlaneCam/Runtime/PlaneCam.cs.meta
Normal file
11
PlaneCam/Runtime/PlaneCam.cs.meta
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 49ab2f404b9727b4dadf40b4aea753d0
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
14
PlaneCam/Runtime/PlaneCamRuntime.asmdef
Normal file
14
PlaneCam/Runtime/PlaneCamRuntime.asmdef
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"name": "PlaneCamRuntime",
|
||||
"rootNamespace": "",
|
||||
"references": [],
|
||||
"includePlatforms": [],
|
||||
"excludePlatforms": [],
|
||||
"allowUnsafeCode": false,
|
||||
"overrideReferences": false,
|
||||
"precompiledReferences": [],
|
||||
"autoReferenced": true,
|
||||
"defineConstraints": [],
|
||||
"versionDefines": [],
|
||||
"noEngineReferences": false
|
||||
}
|
||||
7
PlaneCam/Runtime/PlaneCamRuntime.asmdef.meta
Normal file
7
PlaneCam/Runtime/PlaneCamRuntime.asmdef.meta
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: a9f136790ce90f740a7142ab21ff971a
|
||||
AssemblyDefinitionImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Loading…
Add table
Add a link
Reference in a new issue