2017-05-07 18:48:56 +02:00
|
|
|
|
using System.Collections;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
2017-05-08 21:59:35 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// A base class for all syncable components. An instance of
|
|
|
|
|
/// <see cref="SyncDB"/> will contain all of the game's synced components.
|
|
|
|
|
/// </summary>
|
2017-05-07 18:48:56 +02:00
|
|
|
|
public class SyncBase : MonoBehaviour {
|
2017-05-08 21:59:35 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// The ID this syncable component can be found with from its parent
|
|
|
|
|
/// <see cref="SyncDB"/>.
|
|
|
|
|
/// </summary>
|
2017-05-08 05:20:29 +02:00
|
|
|
|
public uint ID;
|
2017-05-07 18:48:56 +02:00
|
|
|
|
}
|