コード例 #1
0
ファイル: GelMoving.cs プロジェクト: ProjectSciFy/ZeldaRemake
 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>();
 }