1
TNet 3 Support / Re: if(TNManager.isThisMyObject) error message
« on: October 31, 2016, 10:51:22 AM »
So, is this correct?
- using TNet;
- public class GamePlayer : TNBehaviour
- {
- static public GamePlayer instance;
- void Start()
- {
- if (tno.isMine)
- instance = this;
- }
- }
