예제 #1
0
 private void Awake()
 {
     gm                  = FindObjectOfType <GameManager>();
     col                 = GetComponent <CircleCollider2D>();
     animator            = GetComponent <Animator>();
     flashWhite          = GetComponent <FlashWhite>();
     flashWhiteDurration = flashWhite.flashWhiteDurration;
 }
예제 #2
0
파일: Enemy.cs 프로젝트: SexyMg/Multy_Isaac
 private void Start()
 {
     rigid      = GetComponent <Rigidbody2D>();
     flashwhite = GetComponent <FlashWhite>();
     anim       = GetComponent <Animator>();
     seeker     = GetComponent <Seeker>();
     temMgr     = FindObjectOfType <TemManager>();
     zombie     = GetComponent <Zombie>();
 }