LethalCompany/Lethal Company/ExportedProject/Assets/Scripts/Assembly-CSharp/PlaceableShipObject.cs

39 lines
636 B
C#
Raw Normal View History

2023-12-22 22:51:17 +00:00
using UnityEngine;
public class PlaceableShipObject : MonoBehaviour
{
public int unlockableID;
public AudioClip placeObjectSFX;
public AutoParentToShip parentObject;
public Transform parentObjectSecondary;
[Space(3f)]
public MeshFilter mainMesh;
public Transform mainTransform;
public Collider placeObjectCollider;
public float yOffset;
[Space(3f)]
public bool overrideWallOffset;
public float wallOffset;
public Vector3 collisionPointCheck;
public bool doCollisionPointCheck;
[Space(5f)]
public bool AllowPlacementOnWalls;
public bool AllowPlacementOnCounters = true;
[Space(3f)]
public bool inUse;
}