Пример #1
0
 void Start()
 {
     base.Start();
     _amFishing       = false;
     _fishingAttempts = 1;
     _animationRouter = gameObject.GetComponent <AnimationRouter>();
     _equiped         = gameObject.GetComponent <Equiped>();
     _inventory       = gameObject.GetComponent <Inventory>();
 }
Пример #2
0
 void Awake()
 {
     _animationController = gameObject.AddComponent <AnimationRouter>();
 }