holopy3/Assets/Normal/Realtime/Components/RealtimeComponent.cs

11 lines
378 B
C#
Raw Normal View History

2020-12-10 14:25:12 +00:00
using UnityEngine;
namespace Normal.Realtime {
[RequireComponent(typeof(RealtimeView))]
public class RealtimeComponent : MonoBehaviour {
public RealtimeView realtimeView { get; private set; }
public Realtime realtime { get { return realtimeView.realtime; } }
public Room room { get { return realtime.room; } }
}
}