mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-04 02:47:22 +00:00
document
This commit is contained in:
parent
68e166543e
commit
1db348953e
@ -3,11 +3,19 @@ using UnityEngine;
|
||||
|
||||
namespace QSB.ItemSync;
|
||||
|
||||
/// <summary>
|
||||
/// used for initial state sync.
|
||||
/// we have to store this separately because its not saved in the item itself, unfortunately.
|
||||
/// </summary>
|
||||
public class ItemState
|
||||
{
|
||||
public ItemStateType State;
|
||||
/// <summary>
|
||||
/// if this is false, there's no need to sync initial state for this item
|
||||
/// </summary>
|
||||
public bool HasBeenInteractedWith;
|
||||
|
||||
public ItemStateType State;
|
||||
|
||||
// on ground
|
||||
public Transform Parent;
|
||||
public Vector3 LocalPosition;
|
||||
@ -30,4 +38,4 @@ public enum ItemStateType
|
||||
OnGround,
|
||||
Held,
|
||||
Socketed
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user