Class Carryable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: NeoFPS.dll
Syntax
public class Carryable : MonoBehaviour
Properties
centerOffset
Declaration
public Vector3 centerOffset { get; }
Property Value
manipulatable
Declaration
public bool manipulatable { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Methods
CanCarry()
Declaration
public virtual bool CanCarry()
Returns
| Type |
Description |
| System.Boolean |
|
GetStartingOrientation(Quaternion)
Declaration
public Quaternion GetStartingOrientation(Quaternion current)
Parameters
| Type |
Name |
Description |
| Quaternion |
current |
|
Returns
| Type |
Description |
| Quaternion |
|
OnDropped(ICarrySystem)
Declaration
public void OnDropped(ICarrySystem carrier)
Parameters
OnPickedUp(ICarrySystem)
Declaration
public void OnPickedUp(ICarrySystem carrier)
Parameters
Events
onDropped
Declaration
public event UnityAction onDropped
Event Type
| Type |
Description |
| UnityAction |
|
onPickedUp
Declaration
public event UnityAction onPickedUp
Event Type
| Type |
Description |
| UnityAction |
|