void Awake() { player = GetComponent <BasePlayer>(); input = serverinput.GetValue(player) as InputState; position = transform.position; chuteskinID = 0; instance = new Chute(); }
void Awake() { _instance = new Chute(); player = GetComponentInParent <BasePlayer>() ?? null; if (player == null) { OnDestroy(); return; } usedchute = false; dismountcounter = 0f; player.ClearEntityQueue(); }