Ejemplo n.º 1
0
    private void Start()
    {
        mask          = LayerMask.NameToLayer("GrowSurface") | LayerMask.NameToLayer("Ground");
        groundTracker = GetComponent <GroundTracker>();
        if (decorContainer == null)
        {
            decorContainer = GameObject.FindWithTag("DecorContainer")?.transform;
        }

        Event_AccumulateSpores(maxSporeCapacity);
    }
Ejemplo n.º 2
0
 private void Start()
 {
     mover         = GetComponent <PlayerMover>();
     groundTracker = GetComponent <GroundTracker>();
 }
Ejemplo n.º 3
0
 private void Start()
 {
     charaAudioJump = GetComponentInChildren <CharacterAudio>();
     mover          = GetComponent <PlayerMover>();
     groundTracker  = GetComponent <GroundTracker>();
 }