Example #1
0
 void Start()
 {
     mAvatar       = GetComponent <Avatar>();
     avatarManager = GameObject.FindGameObjectWithTag("ServerBehaviour").GetComponent <AvatarManager>();
     avatarShoot   = GetComponent <AvatarShoot>();
 }
Example #2
0
 void Start()
 {
     mAvatar = GetComponent<Avatar>();
     avatarManager = GameObject.FindGameObjectWithTag("ServerBehaviour").GetComponent<AvatarManager>();
     avatarShoot = GetComponent<AvatarShoot>();
 }