@using System
@inherits PanelComponent
@namespace LuckerParty.UI
Hello, @_name
@code
{
private string _name;
protected override void OnAwake()
{
base.OnAwake();
_name = GameObject.GetComponent().Connection.DisplayName;
}
///
/// the hash determines if the system should be rebuilt. If it changes, it will be rebuilt
///
protected override int BuildHash()
{
return HashCode.Combine( _name );
}
}