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