Zdexby TheHolyOneZ
42,628 classes
Class

VoxelPlacer

: MonoBehaviour : Behaviour : Component : Object : Object
VoxelPlacer, Assembly-CSharp 0x0078 (120 B) inherited 0x0018 Assembly-CSharp.dll
0x00x0078

Members 13

OffsetSizeNameTypeFlagsDefault
0x01PlaceRootObjboolPublic—
0x01DestroyPrevVoxelCollidersboolPublic—
0x001A0x06padding / unreflected
0x08VoxelPrefabGameObjectPublic—
0x08VoxelMatsList<UnityEngine.Material>Public—
0x04VoxelSizefloatPublic—
0x00340x04padding / unreflected
0x08VoxelParentTransformPublic—
0x08GhostObjGameObjectPublic—
0x08PlaceEffectsList<ParticleEffect>Public—
0x08PlaceSoundsList<UnityEngine.AudioClip>Public—
0x08SourceAudioSourcePublic—
0x08PlacedVoxelsDictionary<UnityEngine.Vector3IntPublic—
0x08OnVoxelPlacedAction<UnityEngine.Vector3IntPrivate—
0x08lastSpawnedGameObjectPrivate—
Inherited from Object 4
OffsetSizeNameTypeFlagsDefault
0x08m_CachedPtrlongPrivate—
0x04OffsetOfInstanceIDInCPlusPlusObjectintStatic+1 flags—
—0x08objectIsNullMessagestringPrivateStatic+1 flags—
—0x08cloneDestroyedMessagestringPrivateStatic+1 flags—

Functions 22

SignatureFlagsNativeParams
bool get_GhostShown()Public+1 flags0x01
void add_OnVoxelPlaced(Action<UnityEngine.Vector3Int value)Public+1 flags0x08
void remove_OnVoxelPlaced(Action<UnityEngine.Vector3Int value)Public+1 flags0x08
void Start()Private0x00
Vector3 ToWorld(const Vector3Int& cellPos)Public0x0C
Vector3Int ToCell(const Vector3& worldPos)Public0x0C
Vector3 ToLocal(const Vector3Int& cellPos)Public0x0C
bool TryGetVoxel(const Vector3Int& cellPos, ref GameObject& voxel)Public0x0C
Vector3 MoveHitPoint(const Vector3& hit, const Vector3& normal)Public0x0C
bool ShowGhost(const Vector3& hitPoint, const Vector3& normal)Public0x0C
bool ShowGhost(const Vector3& worldPos)Public0x0C
bool ShowGhost(const Vector3Int& cellPos)Public0x0C
void HideGhost()Public0x00
GameObject PlaceAtGhost()Public0x08
GameObject Place(const Vector3& hitPoint, const Vector3& normal)Public0x0C
GameObject Place(const Vector3& worldPos)Public0x0C
GameObject Place(const Vector3Int& cellPos)Public0x0C
GameObject SpawnVoxel(const Vector3Int& cellPos, bool sound, bool effect)Private0x0C
bool Delete(const Vector3& worldPos)Public0x0C
bool Delete(const Vector3Int& cellPos)Public0x0C
void RemoveCol(GameObject voxel)Private0x08
void .ctor()Public+1 flags0x00

Used by 1

types with a member, parameter or interface of this type