45 lines
667 B
C#
45 lines
667 B
C#
|
using System;
|
||
|
using UnityEngine;
|
||
|
|
||
|
[Serializable]
|
||
|
public class UnlockableItem
|
||
|
{
|
||
|
public string unlockableName;
|
||
|
|
||
|
public GameObject prefabObject;
|
||
|
|
||
|
public int unlockableType;
|
||
|
|
||
|
[Space(5f)]
|
||
|
public TerminalNode shopSelectionNode;
|
||
|
|
||
|
public bool alwaysInStock;
|
||
|
|
||
|
[Space(3f)]
|
||
|
public bool IsPlaceable;
|
||
|
|
||
|
[Space(3f)]
|
||
|
public bool hasBeenMoved;
|
||
|
|
||
|
public Vector3 placedPosition;
|
||
|
|
||
|
public Vector3 placedRotation;
|
||
|
|
||
|
[Space(3f)]
|
||
|
public bool inStorage;
|
||
|
|
||
|
public bool canBeStored = true;
|
||
|
|
||
|
public int maxNumber = 1;
|
||
|
|
||
|
[Space(3f)]
|
||
|
public bool hasBeenUnlockedByPlayer;
|
||
|
|
||
|
[Space(5f)]
|
||
|
public Material suitMaterial;
|
||
|
|
||
|
public bool alreadyUnlocked;
|
||
|
|
||
|
public bool spawnPrefab = true;
|
||
|
}
|