void OnTriggerEnter2D(Collider2D col) { string tag = col.tag; colliderObject = (actual != tag) ? ColliderFactory(tag) : colliderObject; if (null != colliderObject) { colliderObject.EnterColliding(col); actual = tag; } }