Exemplo n.º 1
0
    //Function : GetComponentFunction
    //Method : This is the Function that used
    //For Getting The Component
    void GetComponentFunction()
    {
        cam = Camera.main;


        selectScoopScript = GetComponent <SelectedScoopScript>();
    }
Exemplo n.º 2
0
    private void Awake()
    {
        if (instance == null)
        {
            instance = this;
        }



        cam = Camera.main;
    }