public override void PostInitialize() { //Try to find the Metadata component and pull player information from it. player = ParentGameObject.GetMetadata("player") as Player; base.PostInitialize(); }
public override void PostInitialize() { player = ParentGameObject.GetMetadata("player") as Player; base.Initialize(); }