예제 #1
0
파일: BaseEntity.cs 프로젝트: michidk/LD33
        protected virtual void Awake()
        {
            renderer = GetComponent<SpriteRenderer>();
            collider = GetComponent<BoxCollider2D>();

            bulletPool = BulletPool.Instance;
            enemyPool = EnemyPool.Instance;
        }
예제 #2
0
파일: EnemyPool.cs 프로젝트: michidk/LD33
 void Awake()
 {
     Instance = this;
 }