Class FloatingOrigin
Moves world back to origin so central player terrain is at 0,0,0.
Inheritance
FloatingOrigin
Assembly: Assembly-CSharp.dll
Syntax
public class FloatingOrigin : MonoBehaviour
Fields
|
Improve this Doc
View Source
floatingOriginVersion
Declaration
public const int floatingOriginVersion = 3
Field Value
|
Improve this Doc
View Source
instance
Declaration
public static FloatingOrigin instance
Field Value
|
Improve this Doc
View Source
Player
Declaration
Field Value
|
Improve this Doc
View Source
StreamingWorld
Declaration
public StreamingWorld StreamingWorld
Field Value
Properties
|
Improve this Doc
View Source
CurrentMapPixel
Declaration
public DFPosition CurrentMapPixel { get; }
Property Value
|
Improve this Doc
View Source
LastMapPixel
Declaration
public DFPosition LastMapPixel { get; }
Property Value
Methods
|
Improve this Doc
View Source
ChangeTargetPlayer(GameObject)
Declaration
public void ChangeTargetPlayer(GameObject newPlayer)
Parameters
|
Improve this Doc
View Source
RaiseOnPositionUpdateEvent(Vector3)
Declaration
public void RaiseOnPositionUpdateEvent(Vector3 offset)
Parameters
Type |
Name |
Description |
Vector3 |
offset |
|
Events
|
Improve this Doc
View Source
OnPositionUpdate
Declaration
public static event FloatingOrigin.OnPositionUpdateEventHandler OnPositionUpdate
Event Type
Extension Methods
MBExtensions.Invoke<T1, T2, T3, T4>(MonoBehaviour, Action<T1, T2, T3, T4>, T1, T2, T3, T4, Single)