public void OnGetAnimations(StandardServerGetAnimations packet) { GetAnimations?.Invoke(packet.Animations); }
// Use this for initialization void Start() { sounds = GameObject.Find("AudioManager").GetComponent <Sounds> (); getAnimations = GetComponent <GetAnimations> (); }