You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
399 B
22 lines
399 B
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.Networking;
|
|
|
|
public class ActivityNetwork : NetworkBehaviour
|
|
{
|
|
[SyncVar, SerializeField]
|
|
int queueIndex = 0;
|
|
|
|
public int QueueIndex
|
|
{
|
|
get
|
|
{
|
|
return queueIndex;
|
|
}
|
|
set
|
|
{
|
|
if (isServer) queueIndex = value;
|
|
}
|
|
}
|
|
}
|
|
|