Cara Mendapatkan Orang Tua GameObject in Unity
childObject.transform.parent.gameObject
Koshin_S_Hegde
childObject.transform.parent.gameObject
public gameobject player
public gameobject Newparent
player.transform.parent = newParent.transform;
void OnCollisionEnter(Collision collision)
{
PlayerController pl = collision.gameObject.GetComponentInParent<PlayerController>();
}