// Start is called before the first frame update void Start() { cc = gameObject.GetComponent <vThirdPersonController>(); kiipeäminen = gameObject.GetComponent <Kiipeäminen>(); lastGroundHitPoint = transform.position; }
private void Awake() { player = GameObject.FindGameObjectWithTag("Player"); hii = player.GetComponent <Hyppii>(); kiipeäminen = gameObject.GetComponent <Kiipeäminen>(); }