update
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
/// ---------------------------------------------
|
||||
/// Ultimate Character Controller
|
||||
/// Copyright (c) Opsive. All Rights Reserved.
|
||||
/// https://www.opsive.com
|
||||
/// ---------------------------------------------
|
||||
|
||||
namespace Opsive.UltimateCharacterController.FirstPersonController.Character.Identifiers
|
||||
{
|
||||
using UnityEngine;
|
||||
|
||||
/// <summary>
|
||||
/// Identifier component which identifies the first person base object.
|
||||
/// </summary>
|
||||
public class FirstPersonBaseObject : MonoBehaviour
|
||||
{
|
||||
[Tooltip("The unique ID of the first person base object.")]
|
||||
[SerializeField] protected int m_ID;
|
||||
[Tooltip("Should the base object always stay active? This is useful for first person VR.")]
|
||||
[SerializeField] protected bool m_AlwaysActive;
|
||||
|
||||
[Opsive.Shared.Utility.NonSerialized] public int ID { get { return m_ID; } set { m_ID = value; } }
|
||||
[Opsive.Shared.Utility.NonSerialized] public bool AlwaysActive { get { return m_AlwaysActive; } set { m_AlwaysActive = value; } }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a248a6f0e7acfe14fb3bc7907fc03c5e
|
||||
timeCreated: 1529372641
|
||||
licenseType: Pro
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: -170
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,18 @@
|
||||
/// ---------------------------------------------
|
||||
/// Ultimate Character Controller
|
||||
/// Copyright (c) Opsive. All Rights Reserved.
|
||||
/// https://www.opsive.com
|
||||
/// ---------------------------------------------
|
||||
|
||||
namespace Opsive.UltimateCharacterController.FirstPersonController.Character.Identifiers
|
||||
{
|
||||
using UnityEngine;
|
||||
|
||||
/// <summary>
|
||||
/// Identifier component which specifies the first person pivot object.
|
||||
/// </summary>
|
||||
public class FirstPersonObjectPivot : MonoBehaviour
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b4aed019a66bb2942b8c87772894d49e
|
||||
timeCreated: 1510186147
|
||||
licenseType: Pro
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 300
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user