// Use this for initialization void Start( ) { m_netId = GetComponent <NetworkIdentity>(); //if (!m_netId.hasAuthority) //{ // return; //} instance = this; m_playerAction = GetComponent <IPlayerAction>(); m_camera = Camera.main.transform; }
// Use this for initialization void Start( ) { m_netId = GetComponent<NetworkIdentity>(); //if (!m_netId.hasAuthority) //{ // return; //} instance = this; m_playerAction = GetComponent<IPlayerAction>(); m_camera = Camera.main.transform; }