Пример #1
0
    void Start()
    {
        player     = GameObject.Find("Player");
        jumpBuffer = betweenJumps;

        anim = GetComponent <Animator>();
        //SFX
        AudioManager.instance.Play("SFXSpawn");

        lifeleft = lifespan;

        if (big)
        {
            launcher = GetComponent <ProjectileLauncher>();
            StartCoroutine(launcher.LaunchTarget());
        }
    }