Пример #1
0
 public GelMoving(EnemySlime gel, GelSpriteFactory gelSpriteFactory, GelStateMachine gelStateMachine)
 {
     this.gel = gel;
     this.gelSpriteFactory = gelSpriteFactory;
     this.gelStateMachine  = gelStateMachine;
 }
Пример #2
0
 // Use this for initialization
 void Start()
 {
     anim        = GetComponent <Animator>();
     inimigo     = GetComponent <EnemySlime>();
     experiencia = GameObject.FindGameObjectWithTag("ExpBar").GetComponent <ExpBar>();
 }